|
|
I ahve a question regarding a system adminsitrators command for "killall". Why would you use the system utility "sync" after the kill command and why would you use he command three times? Thank you
3 responses total.
Apparently, "killall" is a systemVism - it's normally used by "shutdown" to kill everything not related to the shutdown process. The reason to do "sync" afterwards, is not because of killall, but because if you're going to shut the system down, you'd like to first push cached dirty disk pages out to the drive. The reasons to do multiple sync's is that the first sync can return before all the data is actually written. The 2nd sync will block until the first completes, so will not return until the disk is in fact consistent. 3 sync's in a row is probably redundant paranoia.
To Marcus D. Watts. Thank you - thank you - thank you (Thats redundant appreciation) Take Care Bob White
i want to have some knowledge about unix. In which way i can learn it in min possible time.I shall be gratful if some one guide me in this regard.
Response not possible - You must register and login before posting.
|
|
- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss