09-25-2012
How to find the process which is caused system hung state?
when system is hung state due to swap, we will reboot it through ILO.
i want to know which process caused system hung.
10 More Discussions You Might Find Interesting
1. IP Networking
I installed sco unix v 5.0.5 in the hp server lc 2000 HD size
27gb & ram 256 , used micro focus cobol for unix , aplication
system bank , the problem is the system hung 2 or 3 times a day
will you pls. give me the solution.
thanks
talib alsaadi
:( (2 Replies)
Discussion started by: talib alsaadi
2 Replies
2. UNIX for Dummies Questions & Answers
Hi guys
I installed this new server with 5.0.7 openserver and i'm getting a lot of this process, if a stop and restart the printer spooler they go away but after a few minutes they appear again.This is how it looks like.
root 372 615 0 - - 00:00:00 <defunct>
root ... (0 Replies)
Discussion started by: josramon
0 Replies
3. Shell Programming and Scripting
A coworker has a shell script that runs from a scheduler at the 3am. The shell script runs sqlplus passing in a sql statement, which generate a file. This is done 21 times for 21 different sql statements. Recently, one of the sqlplus processes got hung.
Is there a way to monitor how long the... (2 Replies)
Discussion started by: prismtx
2 Replies
4. Shell Programming and Scripting
Is there a way I can run a command that will run in the kernel or in the memory and automatically kill certain scripts if they get to <defunct> processes, without having to be monitoring the server manually?
I have a Perl script which runs for 20k members and normally does not have any problems,... (2 Replies)
Discussion started by: ukndoit
2 Replies
5. Emergency UNIX and Linux Support
Hi all
I have networker running on a RHEL 5.7 and over time it hangs. So the solution backup team proposed is to check if the process is hung, to stop and start it.
Unfortunately for me, the rc script only allows three commands, start, stop and status (no restart option) so I managed to set... (15 Replies)
Discussion started by: hedkandi
15 Replies
6. BSD
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (0 Replies)
Discussion started by: naveeng
0 Replies
7. UNIX for Advanced & Expert Users
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (1 Reply)
Discussion started by: naveeng
1 Replies
8. UNIX for Advanced & Expert Users
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (6 Replies)
Discussion started by: naveeng
6 Replies
9. Shell Programming and Scripting
I wish to monitor if my Tomcat process if Running, Hung, or Shutdown.
I cannot use any third party monitoring tools so i decided to use one of these to test if the tomcat server is responding or not .
1. nslookup
2. telnet
3. ps
The reason I do not use wget / curl is because it will... (2 Replies)
Discussion started by: mohtashims
2 Replies
10. Infrastructure Monitoring
Hi,
We have Solaris-10 running on VMware (x86). It is being monitored by HP Openview. Sometimes when this server hungs, while ping still works, HPOpenview can't alert that server is down (which is actually unresponsive).
First symptom we see is, login failure. It will ask user name and after... (7 Replies)
Discussion started by: solaris_1977
7 Replies
reboot(2) System Calls Manual reboot(2)
NAME
reboot - boot the system
SYNOPSIS
DESCRIPTION
causes the system to reboot. howto is a mask of reboot options (see specified as follows:
A file system sync is performed (unless
is set) and the processor is rebooted from the default device and file.
The processor is simply halted.
A sync of the file system is performed unless the flag is set. should be used with caution.
On systems with cellular architecture, all cells in the partition are
rebooted in order to reconfigure the stable complex configuration data. On systems with non-cellular architec-
ture, the default is A sync of the file system is performed unless the flag is set.
Shut down the system firmware to a "ready to reconfigure" state and do not
reboot. This option can be used only in combination with
A sync of the file system is not performed.
Unless the flag has been specified, reboot(2) unmounts all mounted file systems and marks them clean so that it will not be necessary to
run fsck(1M) on these file systems when the system reboots.
Only users with appropriate privileges can reboot a machine.
RETURN VALUE
If successful, this call never returns. Otherwise, a -1 is returned and is set to indicate the error.
ERRORS
fails if this condition is encountered:
[EPERM] The effective user ID of the caller is not a user with appropriate privileges.
DEPENDENCIES
The default file and device for is on the current root device.
AUTHOR
was developed by HP and the University of California, Berkeley.
SEE ALSO
reboot(1M), privileges(5).
reboot(2)