The man page for vmstat shows that the parameters are "delay" and "count".  So, for:<br>
<br>
   vmstat 300 2<br>
<br>
it should give the first line of info, pause five minutes, then give
the second line, then exit.  Try it in a terminal window and
see...  In other words, it goes away anyway of its own accord, 5
minutes after it started.<br>
<br>
Ralph Mitchell<br>
<br><br><div><span class="gmail_quote">On 6/6/06, <b class="gmail_sendername">Charles Jones</b> <<a href="mailto:jonescr@cisco.com">jonescr@cisco.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
when I do ./hobbit.sh stop, vmstat is not killed:<br>$ ps xw |grep hobbit<br>26903 ?        S      0:00 sh -c vmstat 300 2<br>1>/users/monitor/local/hobbit/client/tmp/hobbit_vmstat.my-host.26883<br>2>&1; mv<br>/users/monitor/local/hobbit/client/tmp/hobbit_vmstat.my-
host.26883<br>/users/monitor/local/hobbit/client/tmp/hobbit_vmstat.my-host<br><br>I noticed that if I do several "hobbit.sh restart", there will be extra<br>vmstat processes running.<br>For now I am manually killing them via "pkill vmstat" (on linux), after
<br>I stop or restart Hobbit.<br><br>-Charles<br><br>To unsubscribe from the hobbit list, send an e-mail to<br><a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br><br><br></blockquote></div><br>