Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


ps -ax | 13 comments | Create New Account
Click here to return to the 'ps -ax' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
ps -ax
Authored by: robh on Apr 20, '01 11:08:41AM

Your description of -HUP sounds more like the definition of -TERM (-15).

Kill -HUP is sometimes used to tell a process to restart/refresh. Often it does absolutelty nothing. The author of the program decides what to do in response to a -HUP.

Kill -TERM tells a process to shutdown (TERMinate) and gives the process the opportunity to do so cleanly.

kill -KILL (aka kill -9) is a shutdown that doesn't allow the process to shutdown cleanly.

If you type "kill -l" (that's an 'L' not the number one) you'll get a list of signals. Count them off to find the numeric equivalent.

kill -l
HUP INT QUIT ILL TRAP ABRT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM URG STOP TSTP CONT CHLD TTIN TTOU IO XCPU XFSZ VTALRM PROF WINCH INFO USR1 USR2



[ Reply to This | # ]