Screen allows you to attach and de-attach yourself from SSH sessions.
- Install screen using "yum install screen" CentOS and Redhat or "apt-get install screen" for Debian or Ubuntu distributions.
- To start a session just type "screen" from an SSH or Console session.
- To deattach from a session either close the SSH client or press Ctrl-A follwed by D
- To return to your screen session open another SSH or console session and enter "screen -ls" or "screen -list". This will give you the screen process ID.The output should look much like this.Start screenuser@server:~$ screenuser@server:~$DeattachCTRL-A then D to deattach.Find screen process IDuser@server:~$ screen -listThere is a screen on:19501.pts-1.server (01/13/2013 02:40:56 PM) (Detached)Reattach to screen sessionuser@server:~$ screen -r 19501.pts-1.serveruser@server:~$
Was this answer helpful?
htop is an interactive process viewer for linux.htop can be installed byCentOS/RHEL (EPEL repo...