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 I run a .sh file in linux?

1111


How does mkdir work in linux?

1214


What could possibly be the problem when a command that was issued gave a different result from the last time it was used?

960


What is difference between comm and CMP command?

1035


What is whois command?

1086


What are grep commands?

1052


What is command to check ports running/used over local machine

1136


How to root mirror in linux?

1062


What Command used to lock user password?

1091


What is the use of mv command in linux?

1046


Which of the commands will replace all occurrences of the word rate with the word speed in the file racing?

1091


What is df command in linux?

1019


What is phony in makefile?

1007


Is llvm a compiler?

959


You suspect that you have two commands with the same name as the command is not producing the expected results. What command can you use to determine thelocation of the command being run?

1067