|
|
How to cleanly shut down when things go wrong
The reboot command tells the kernel to sync the file system and go back to the bootstrap process. This is not a clean shutdown. Anything that has open files or caches that have not properly been written or flushed stands a chance of corruption.
kill -9 overkill
Killing the process with the kill (kill -9 pid) command usually works on hung processes. If not sometimes kill -HUP pid will make the process behave (long enough to kill it) or exit.
kill -KILL (aka "-9") is best saved as the last resort when other signals have failed to kill a process. And kill -HUP won't kill a process that kill -KILL didn't, at least not on any Unix-based systems I've used. kill -9 is often misunderstood and misused, as explained in places like: kill -9 Useless use of kill -9 And MacOSXHints could consider publishing this as a separate hint to help slow the propagation of disinformation in the OS X community. :-) |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.38 seconds |
|