If you are running it on a linux box, check this link.

http://stackoverflow.com/questions/2735926/how-to-capture-pid-of-a-linux-daemon-run-from-init-d

<http://stackoverflow.com/questions/2735926/how-to-capture-pid-of-a-linux-daemon-run-from-init-d>
[]s,
Thiago.

On Mon, Feb 21, 2011 at 11:55 AM, joe <[email protected]> wrote:

>
> Hi,
>
> What's the easiest way to test whether the container is running/stopped?
>
> Currently i use netstat looking whether the concerning ports are in state
> LISTENING, but doing this OS (language) independent
> is a little unhandy.
>

Reply via email to