Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How do you run command every time a file is modified?

978


Write a command that will look for files with an extension "c", and has the occurrence of the string "apple" in it.

1740


Is llvm a virtual machine?

1017


How can I type in cmd?

933


What does ls mean in linux?

1046


You want to know how many lines in the kickoff file contains ‘prize’. Which of the following commands will produce the desired results?

1010


In order to improve your system’s security you decide to implement shadow passwords. What command should you use?

948


What command should you use to check the number of files and disk space used and each user’s defined quotas?

1078


What does uname do in linux?

1119


How is grep so fast?

1002


Is python faster than bash?

1016


Which of the following tasks cannot be accomplished with the touch command?

947


How do I run whois command?

1062


What is option in linux command?

1191


How do I find the umask value in linux?

983