dcsimg
July 18, 2018
 
 
RSSRSS feed

Murder Most Fowl - page 4

Dealing with SIGHUP

  • June 16, 2006
  • By Carla Schroder

As you saw in man signal, there are dozens of ways to control processes. Here are the commonly-used ones:

kill -STOP [pid]
SIGSTOP (17,19,23) stops a process without killing it

kill -CONT [pid]
SIGCONT (19,18,25)restarts a stopped process

kill -KILL [pid]
SIGKILL (9) forces the process to terminate immediately and performs no cleanup

kill -9 -1
Kill all processes that you own

SIGKILL and SIGSTOP can not be caught, blocked or ignored, but the others can. These are your big guns of last resort.

Most Popular LinuxPlanet Stories

Sitemap