04-22-2009
logs for system shutdown
I am working on a SUN T2000 machine with Solaris 10 running on it. When I checked the system this morning, I found it to be turned off. The lastreboot command showed that the system had been shut down the previous night.
I want to find out how the system was shut down. I have run hardware health checks on the system and found no problem. Are there any logs from which I can find out how the system was shut down (Manually from switch or by giving the init 5 command).
The /var/adm messages and the syslog dont have any useful info.
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Ok here is the problem we have 2 v440 with same IP address running solars 9. one remains on the other remains off. They are both configured exactly the same for redundant purposes for the software we use. This was the best/worst idea. Great because down time is only a mere minutes. The bad is the... (7 Replies)
Discussion started by: deaconf19
7 Replies
2. UNIX for Advanced & Expert Users
Bump to questions thread, thanks. (1 Reply)
Discussion started by: MINICooperS
1 Replies
3. Windows & DOS: Issues & Discussions
Hello,
from last few days my laptop is not whutting down properly.. when ever i ty to shutdown it restarts again.. what may be problem?? antivirus is updated till date.. and i use windows xp sp2....
regards,
deepak. (5 Replies)
Discussion started by: smarty86
5 Replies
4. Solaris
I am working on sunos solaris. I want to know which is good for system shut-down ? (3 Replies)
Discussion started by: Jitesh Varshney
3 Replies
5. Red Hat
Hi All,
I have one situation to shut-down the system through shell script.I need script command to shut-down the system and process should end(safe-mode) the MyEclipse. (0 Replies)
Discussion started by: stsivaraj
0 Replies
6. Programming
I am having exactly the same problem with https://www.unix.com/programming/129264-application-cleanup-during-linux-shutdown.html but the thread is old and closed. The only difference is that I use sigaction() instead of signal(), which is recommended, as far as I know.
This is my code:
... (9 Replies)
Discussion started by: hakermania
9 Replies
fsclean(1M) fsclean(1M)
NAME
fsclean - determine the shutdown status of HFS file systems
SYNOPSIS
[special ...]
DESCRIPTION
The command determines the shutdown status of the HFS file system specified by special or, in the absence of special, the file systems
listed in of type with the or options set. All optional fields in must be present for to be able to check each file system.
reads the superblock to determine whether the file system's last shutdown was done correctly, and returns one of the following values:
All of the checked file systems were shut down correctly.
One or more checked file systems were not shutdown correctly,
implying that should be run (see fsck(1M)).
Other error (such as
The command is usually silent.
Options
Check quotas.
Instead of checking the file system shutdown status, checks the validity of disk quota statistics. This option is useful for
determining whether should be run (see quotacheck(1M)). If special is not provided, then all file systems in of type with the
(or and options are checked.
Retry open on a device special file for up to 6 minutes.
Be verbose.
Prints the status of each file system checked.
DEPENDENCIES
only operates on HFS file systems.
AUTHOR
was developed by HP.
FILES
Default list of file systems to check
SEE ALSO
dumpfs(1M), fsck(1M), fsck_hfs(1M), mount(1M), quotacheck(1M), quotacheck_hfs(1M), reboot(1M), fstab(4).
fsclean(1M)