About this list Date view Thread view Subject view Author view Attachment view

From: Olivier Poitrey (olivier_at_pas-tres.net)
Date: Sun 29 Aug 2004 - 12:47:51 BST


Emmanuel Lacour <elacour_at_home-dn.net> 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
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 30 Aug 2004 - 09:25:24 BST by hypermail 2.1.3