No Next Item No Next Conference Can't Favor Can't Forget Item List Conference Home Entrance    Help
View Responses


Grex Info Item 326: UNIX commands
Entered by rdwhite on Tue Feb 22 18:39:17 UTC 2000:

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.



#1 of 3 by mdw on Wed Feb 23 02:19:44 2000:

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.


#2 of 3 by rdwhite on Wed Feb 23 18:36:42 2000:

To Marcus D. Watts.
Thank you - thank you - thank you
(Thats redundant appreciation)
Take Care
Bob White


#3 of 3 by zulfiqar on Thu Mar 30 11:16:05 2000:

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.

No Next Item No Next Conference Can't Favor Can't Forget Item List Conference Home Entrance    Help

- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss