Solaris commands for process management - pstop

pstop – temporary hold process

# ps -efl|grep ssh 
0 S root 554 356 0 40 20 d419b870 1800 d4c87e72 21:03:52 ? 0:00 /usr/lib/ssh/sshd 
0 S root 356 1 0 40 20 d4195320 834 d49f3432 21:02:46 ? 0:00 /usr/lib/ssh/sshd 
0 S root 560 554 0 40 20 d41931a0 1747 d4c87ab2 21:05:03 ? 0:02 /usr/lib/ssh/sshd 
0 S root 812 809 0 40 20 d418a270 1746 d50402f2 22:09:00 ? 0:00 /usr/lib/ssh/sshd 
0 S root 809 356 0 40 20 d4189a10 1801 d4c874f2 22:08:47 ? 0:00 /usr/lib/ssh/sshd 
# pstop 356 
# ssh localhost (here I stop with ctrl-C ssh client after 5 minutes of waiting
# prun 356 
# ssh localhost 
The authenticity of host 'localhost (127.0.0.1)' can't be established. RSA key fingerprint is da:14:db:bc:2f:e0:0f:ef:f6:3f:12:0e:f4:77:0c:00. Are you sure you want to continue connecting (yes/no)? yes 
Warning: Permanently added 'localhost' (RSA) to the list of known hosts. 
Password: 
Last login: Wed Jun 13 22:09:00 2007 from gateway Sun Microsystems Inc. SunOS 5.10 Generic January 2005 

No comments:

Post a Comment

Compressed tar archive

There are some cases when you want to create compressed tar archive but you do not have enough disk space to keep original files and tar arc...