Emmanuel Lacour <[EMAIL PROTECTED]> writes: > I saw this too and had to make a small wrapper. > > vserver $server status | head -1 | sed 's/^.*not\ > running.*$/stopped/g;s/^.*running.*$/running/g' > > heartbeat likes "running" and "stopped".
I guess you can use the return code of 'vserver $vserver running' to do that. -- ______________________________________________________________________ O l i v i e r P o i t r e y _______________________________________________ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver