Usually you can do a man on a command to find out where it is, that is if `which inetd` doesn't tell you. You should check the man page before you start killing/restarting stuff anyway.
That particular process does have a run control script that starts it automatically when it enters a given run-level, /etc/rc2.d/S72inetsvc
Wattie... You should only use "kill -9" as a last resort. "Kill -9" kills the process regardless to child processes. If there are child processes running they will become defunct processes. A better command to use for what you are doing is "pkill -HUP inetd" (Solaris 8 or newer). This command will kill and restart the process inetd.
I agree with bfitzmai. "kill -9" should really never be used if it can be avoided. A standard kill command will send a signal to the program asking it to stop itself. A "kill -9" just forces it to die- there is no graceful stopping and this can lead to some problems.
On a little side note, the "pkill -HUP inetd" doesn't actually kill and restart the processes. The "-HUP" option for inetd sends it a signal asking it to reload its config file (/etc/inetd.conf). Fairly trivial because the end result is exactly the same.
Can anyone please tell me if Solaris 8 x86 2/02 supports Intel hyper-threading or do I need to turn it off through the BIOS prior to installing the OS? FYI, the PC I am installing on has dual Xeon CPUs.
Thanks.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.