hobbit.sh stop does no kill vmstat
when I do ./hobbit.sh stop, vmstat is not killed: $ ps xw |grep hobbit 26903 ? S 0:00 sh -c vmstat 300 2 1>/users/monitor/local/hobbit/client/tmp/hobbit_vmstat.my-host.26883 2>&1; mv /users/monitor/local/hobbit/client/tmp/hobbit_vmstat.my-host.26883 /users/monitor/local/hobbit/client/tmp/hobbit_vmstat.my-host
I noticed that if I do several "hobbit.sh restart", there will be extra vmstat processes running. For now I am manually killing them via "pkill vmstat" (on linux), after I stop or restart Hobbit.
-Charles
The man page for vmstat shows that the parameters are "delay" and "count". So, for:
vmstat 300 2
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.
Ralph Mitchell
On 6/6/06, Charles Jones <jonescr at cisco.com> wrote:
when I do ./hobbit.sh stop, vmstat is not killed: $ ps xw |grep hobbit 26903 ? S 0:00 sh -c vmstat 300 2 1>/users/monitor/local/hobbit/client/tmp/hobbit_vmstat.my-host.26883 2>&1; mv /users/monitor/local/hobbit/client/tmp/hobbit_vmstat.my-host.26883 /users/monitor/local/hobbit/client/tmp/hobbit_vmstat.my-host
I noticed that if I do several "hobbit.sh restart", there will be extra vmstat processes running. For now I am manually killing them via "pkill vmstat" (on linux), after I stop or restart Hobbit.
-Charles
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Charles Jones wrote:
I noticed that if I do several "hobbit.sh restart", there will be extra vmstat processes running. For now I am manually killing them via "pkill vmstat" (on linux), after I stop or restart Hobbit.
Leaving them should be harmless: they only run for 5 minutes and then exit. Conversely, sending kill to all the session followers could be useful, but seems to be platform independent.
-- -m
... so long as the people do not care to exercise their freedom, those who wish to tyrranize will do so; for tyrants are active and ardent, and will devote themselves in the name of any number of gods, religious and otherwise, to put shackles upon sleeping men. -- Voltarine de Cleyre
Doh, quite right. I should have tested to see if they died on their own. It's now a non issue.
-Charles
Mike Arnold wrote:
Charles Jones wrote:
I noticed that if I do several "hobbit.sh restart", there will be extra vmstat processes running. For now I am manually killing them via "pkill vmstat" (on linux), after I stop or restart Hobbit.
Leaving them should be harmless: they only run for 5 minutes and then exit. Conversely, sending kill to all the session followers could be useful, but seems to be platform independent.
-- -m
... so long as the people do not care to exercise their freedom, those who wish to tyrranize will do so; for tyrants are active and ardent, and will devote themselves in the name of any number of gods, religious and otherwise, to put shackles upon sleeping men. -- Voltarine de Cleyre
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (3)
-
hobbit@razorsedge.org
-
jonescr@cisco.com
-
ralphmitchell@gmail.com