Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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



What would you do when all the processess hangs and there is no other option in unix?..

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

What would you do when all the processess hangs and there is no other option in unix?..

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

What would you do when all the processess hangs and there is no other option in unix?..

Answer / gaurav verma

killall -HUP <service name> //it will automatically stop
and start the servies mentioned//

Is This Answer Correct ?    0 Yes 4 No

Post New Answer



More Linux Commands Interview Questions

What is the difference between kill and kill -9 commands?

4 Answers   Sabre,


1. Why "d" is postfix in almost every service name of Linux like httpd, dhcpd? 2. how to restrict su & ssh services for some users? 3. how can we configure a default gateway for 10 n/w cards in a server?

6 Answers  


What is Syntax of any Linux command?

0 Answers   UGC Corporation,


Brief about the command ff?

0 Answers  


hi friends how to reinstall the grub.conf file. once i delete the grub file in perminatle ofter how to get back that file. plz send me ans. regards. madhu.m

5 Answers  






Which command will show you free/used memory? Does free memory exist on linux?

0 Answers  


List the three main parts of an operating system command?

0 Answers  


I lost a root password and i need to give it, I treid to change it through single usermode even though i am not get a password, then what is the other procedure to give a root password?

8 Answers  


how to give a normal user reboot and shutdown permission? Plz also mention the step.

4 Answers  


What is the command to remove Lvm ,Pv and vg

12 Answers   Tech Mahindra, TNS,


What does make clean command do?

0 Answers  


What does touch do in linux?

0 Answers  






Categories