What would you do when all the processess hangs and there is
no other option in unix?
Answers were Sorted based on User's Feedback
Answer / sushil
if all the commands are hanging then there is no point
running any command.
In this case system can be considred as it's hung. and hence
u might want to
collect some useful information to perform root cause
ananlysis before rebooting the
system.
Here we can apply magic keys and ask OS to dump memory/
registers and we can even
instruct it to terminat/kill all but init process ,
sometimes we can send
kill signal to all proccess including init.
Alt+SysRQ+m prints memory information to the console.
Alt+SysRQ+e sends SIGTERM to all processes except init.
Alt+SysRQ+i sends SIGKILL to all processes except init.
Alt+SysRQ+l sends SIGKILL to all processes, inclusive init.
Alt+SysRQ+s writes all data from the disc cache to the
harddiscs, its a sync
Alt+SysRQ+i (for the processes that didn't listen for the
TERM signal, this is a kill -9 process)
Alt+SysRQ+b (reboot).
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / susheel narayan singh hcl
If you r working on /var direcotry and your
process hangs than you login with another
terminal and --
# fuser -v /var
to kill all the process of /var
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / gaurav verma
killall -HUP <service name> //it will automatically stop
and start the servies mentioned//
| Is This Answer Correct ? | 0 Yes | 4 No |
What is ll command in unix?
Display the Disk Usage of file sizes under each directory in currentDirectory ?
What is df command in unix?
What does r mean linux?
Which priority has the process?how do u view?
What does c mean in linux?
How do I clear terminal command history?
I am using RedHat 6.3 in I wanna to install and configure zimbra mail. Can anybody tell me what are the RPM packages required for zimbra mail ? Where can I get those RPM packages ?
What is type command in linux?
What is make in linux?
What command would you use to create an empty file without opening it to edit it?
What is the command to see all the processes are working in the last 30 days?