[ossec-list] check that a service is running

2014-10-13 Thread felicity . ratcliffe
Hi,

I've googled this a lot and looked through a lot of the group's posts but I 
can find if there's a way to check that a given service is running. It 
would be a service that has an init script.

Is there a way to do this?

Many thanks :)
Felicity

-- 

--- 
You received this message because you are subscribed to the Google Groups 
ossec-list group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ossec-list+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ossec-list] check that a service is running

2014-10-13 Thread dan (ddp)
On Mon, Oct 13, 2014 at 12:27 PM,  felicity.ratcli...@missguided.co.uk wrote:
 Hi,

 I've googled this a lot and looked through a lot of the group's posts but I
 can find if there's a way to check that a given service is running. It would
 be a service that has an init script.

 Is there a way to do this?


`/var/ossec/bin/ossec-control status` should check all of the processes.

 Many thanks :)
 Felicity

 --

 ---
 You received this message because you are subscribed to the Google Groups
 ossec-list group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to ossec-list+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
ossec-list group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ossec-list+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.