Monitor specific, unrelated processes in top? (and more!)

Patrick C patrick.pxc.c at gmail.com
Thu Jul 31 11:08:34 MST 2008


Okay... sorry for spamming the list, but I figured out a good solution. This
is a cool CLI tip for those of you that don't know, but sorry if it is
obvious to you.

Here are the steps for starting a detached screen session at startup for
specific users to access later.
1.) Create a screenrc file containing two lines with "multiuser on" and
"acladd $user,$user2" etc.
2.) Launch the server process (from within the init script) with "screen -c
/path/to/your/screenrc -dmS yourscreenname yourprocess [yourprocessargs]"
3.) Take over as one of the designated users with "screen -rx
processowner/screenname"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20080731/7d1e3f59/attachment.htm 


More information about the PLUG-discuss mailing list