08-03-2016
I would also ask, what is your definition of "halted"?
Is the server definitely down (ie, panic'd) or is it just unusable (ie,alive but cannot login because too busy or something)?
What evidence have you got that it's completely down?
As Neo said, are the system logs telling you anything? First place to look.
9 More Discussions You Might Find Interesting
1. UNIX and Linux Applications
Hi All,
I want to find a day of week for the Linux system.
can some one help me on this..
Thanks in advance,
Raji. (2 Replies)
Discussion started by: rajinavaneethan
2 Replies
2. UNIX and Linux Applications
Hi all,
My program is getting date from database (oracle) and am getting that date's day of week also.
In windows its giving one number and different in linux ;)
For Example:
30 - Jun - 2009
Am getting 2 in windows and 3 in Linux.
Am not understanding whats going wrong.. Am... (3 Replies)
Discussion started by: rajinavaneethan
3 Replies
3. What is on Your Mind?
Which post should win this weeks UNIX/Linux post of the week nomination contest?
Choose from the posts listed throughout the forum(s), and vote for your favorite post now.
What is Topic Of The Week?
Post of the Week is a contest that select posts which we would like the community to... (0 Replies)
Discussion started by: Linux Bot
0 Replies
4. What is on Your Mind?
Which post should win this weeks UNIX/Linux post of the week nomination contest?
Choose from the posts listed throughout the forum(s), and vote for your favorite post now.
What is Topic Of The Week?
Post of the Week is a contest that select posts which we would like the community to... (0 Replies)
Discussion started by: Linux Bot
0 Replies
5. What is on Your Mind?
Which post should win this weeks UNIX/Linux post of the week nomination contest?
Choose from the posts listed throughout the forum(s), and vote for your favorite post now.
What is Topic Of The Week?
Post of the Week is a contest that select posts which we would like the community to... (0 Replies)
Discussion started by: Linux Bot
0 Replies
6. What is on Your Mind?
Which post should win this weeks UNIX/Linux post of the week nomination contest?
Choose from the posts listed throughout the forum(s), and vote for your favorite post now.
What is Topic Of The Week?
Post of the Week is a contest that select posts which we would like the community to... (4 Replies)
Discussion started by: Linux Bot
4 Replies
7. What is on Your Mind?
Which post should win this weeks UNIX/Linux post of the week nomination contest?
Choose from the posts listed throughout the forum(s), and vote for your favorite post now.
What is Topic Of The Week?
Post of the Week is a contest that select posts which we would like the community to... (9 Replies)
Discussion started by: Linux Bot
9 Replies
8. What is on Your Mind?
Which post should win this weeks UNIX/Linux post of the week nomination contest?
Choose from the posts listed throughout the forum(s), and vote for your favorite post now.
What is Topic Of The Week?
Post of the Week is a contest that select posts which we would like the community to... (7 Replies)
Discussion started by: Linux Bot
7 Replies
9. What is on Your Mind?
Which post should win this weeks UNIX/Linux post of the week nomination contest?
Choose from the posts listed throughout the forum(s), and vote for your favorite post now.
What is Topic Of The Week?
Post of the Week is a contest that select posts which we would like the community to... (0 Replies)
Discussion started by: Linux Bot
0 Replies
LEARN ABOUT HPUX
ddi_in_panic
ddi_in_panic(9F) Kernel Functions for Drivers ddi_in_panic(9F)
NAME
ddi_in_panic - determine if system is in panic state
SYNOPSIS
#include <sys/ddi.h>
#include <sys/sunddi.h>
int ddi_in_panic(void);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI).
DESCRIPTION
Drivers controlling devices on which the system may write a kernel crash dump in the event of a panic can call ddi_in_panic() to determine
if the system is panicking.
When the system is panicking, the calls of functions scheduled by timeout(9F) and ddi_trigger_softintr(9F) will never occur. Neither can
delay(9F) be relied upon, since it is implemented via timeout(9F).
Drivers that need to enforce a time delay such as SCSI bus reset delay time must busy-wait when the system is panicking.
RETURN VALUES
ddi_in_panic() returns 1 if the system is in panic, or 0 otherwise.
CONTEXT
ddi_in_panic() may be called from any context.
SEE ALSO
dump(9E), delay(9F), ddi_trigger_softintr(9F), timeout(9F)
Writing Device Drivers
SunOS 5.10 23 Jun 1997 ddi_in_panic(9F)