What would you do when all the processess hangs and there is
no other option in unix?
Answer Posted / 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 |
Post New Answer View All Answers
What is an os command?
How do I list all processes in linux?
What is command grouping and how does it work?
Which of the Commands delete the files from the /tmp directory, issued by non-root user?
How does case sensitivity affect the way you use commands?
What are two functions the move mv command can carry out?
What is the difference between diff and cmp command in unix?
What is the use of man command in linux?
How to hide the partition in grub booting?
What is the root directory linux?
can any one send me one project on linux ...?
Brief about the command kill PID?
What is $@ in makefile?
What are the commands used in command prompt?
Which command is used to find what is in your home directory?