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.
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)
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)
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... (2 Replies)
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)
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)