monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Check process inside screen terminal


From: Josu Lazkano
Subject: Check process inside screen terminal
Date: Mon, 16 May 2016 17:13:26 +0200

Hello all,

I have a little server running some services that I monitor with
Monit, it really work great.

Now I have rtorrent service running, but the problem is that it is
executed inside screen terminal:
https://raw.githubusercontent.com/mjsilva/rtorrent-screen-debian-init-script/master/rtorrent

So I have this:

# ps -e | grep rtorrent
22292 pts/1    00:44:39 rtorrent

# ps -e | grep screen
22291 ?        00:00:06 screen

# cat /var/run/rtorrent.pid
22291

So the PID is associated with screen, not with rtorrent.

How could I manage this situation?

I will really appreciate your help, best regards.

-- 
Josu Lazkano



reply via email to

[Prev in Thread] Current Thread [Next in Thread]