Task: How to halt/stop user called didi
Type the skill command as follows:
# skill -STOP -u didiTask: How to resume already halted user called didi
Send CONT single to user didi, type the following command:
# skill -CONT -u didiTask: How to kill and logout user called didi
You can send KILL single, type the following command:
# skill -KILL -u didiTask: Kill and logout all users
The ultimate command to kill and logout all users, type the following command:
# skill -KILL -v /dev/pts/*Please note that send users warning message or logout notice using wall command to avoid data loss.
Other useful nifty utilities provided by procps package
- w : Show who is logged on and what they are doing
- kill : Send signal to a process aka kill process
- top : Display Linux tasks and other important stuff
- vmstat : Display virtual memory statistics
- free : Display free and used memory (RAM) statistics
- slabtop : Display kernel slab cache information in real time
source: HowTo

Twitter Follow my tweets!
Facebook Keep Share...
Linkedin What I've been reading.
Blogger What I'm writing.
Myspace Listen to me!
0 comments:
Post a Comment