Operating System - HP-UX
1752795 Members
6652 Online
108789 Solutions
New Discussion юеВ

Re: A funny thing happened to me at the help desk today,...

 
SOLVED
Go to solution
Ian Dennison_1
Honored Contributor

A funny thing happened to me at the help desk today,...

someone asked me what the difference was between a "kill -9" and a "kill -15".

I said "six".

Share and Enjoy! Ian
Building a dumber user
22 REPLIES 22
James R. Ferguson
Acclaimed Contributor
Solution

Re: A funny thing happened to me at the help desk today,...

Hi Ian:

> I said "six".

I agree --- you wish you would have had the chance to "deep-six" the shared memory segments and the temporary files your process left around :-)

Regards!

...JRF...
Jan van den Ende
Honored Contributor

Re: A funny thing happened to me at the help desk today,...

Ian,

In my view the correct answer would be:
"Anyone who needs to ask, should have access to neither."

But hay, now in the real world...


Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
Court Campbell
Honored Contributor

Re: A funny thing happened to me at the help desk today,...

zombies, and orphans, and mem leaks, OH MY!
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Fabio Ettore
Honored Contributor

Re: A funny thing happened to me at the help desk today,...

The difference?

kill -15 ---> "Killing me softly"
kill -9 ---> "Killing me hardly"

:-)
WISH? IMPROVEMENT!
Steven E. Protter
Exalted Contributor

Re: A funny thing happened to me at the help desk today,...

Shalom,

Good one.

The process is just as dead unless its a zombie.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Andres_13
Respected Contributor

Re: A funny thing happened to me at the help desk today,...

That was accurate.

Regards!
Dennis Handly
Acclaimed Contributor

Re: A funny thing happened to me at the help desk today,...

>Court: zombies

Zombies aren't created by kill -TERM or -KILL.
And you can try to kill the zombie master.
Deepak Kr
Respected Contributor

Re: A funny thing happened to me at the help desk today,...

Haha :-)

kill -9 shoot at sight
kill -15 hang till death!!


regds.
Deepak
"There is always some scope for improvement"
Venkatesh BL
Honored Contributor

Re: A funny thing happened to me at the help desk today,...

there is a manpage for 'kill'

signum signame Name Description
___________________________________________________________________________
0 SIGNULL Null Check access to pid
1 SIGHUP Hangup Terminate; can be trapped
2 SIGINT Interrupt Terminate; can be trapped
3 SIGQUIT Quit Terminate with core dump; can be trapped
9 SIGKILL Kill Forced termination; cannot be trapped
15 SIGTERM Terminate Terminate; can be trapped
24 SIGSTOP Stop Pause the process; cannot be trapped
25 SIGTSTP Terminal stop Pause the process; can be trapped
26 SIGCONT Continue Run a stopped process