Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (OSF1-V5.1-alpha)
Apropos / Subsearch:
optional field

killall(8)							   killall(8)


  killall - Terminates all processes started by	the user, except the calling


  /usr/sbin/killall [- | [-]signal_name	|  -signal_number]

  /usr/sbin/killall -l


  -   The hyphen character (without an argument) sends a SIGTERM signal	ini-
      tially and then sends a SIGKILL signal to	all processes that survive
      for 30 seconds after receipt of the first	signal.	This gives processes
      that catch the SIGTERM signal an opportunity to clean up.

      A	signal name, optionally	preceded by a hyphen, sends the	specified
      signal to	processes.

      The hyphen character (with a signal number argument) sends the speci-
      fied signal, either a name, stripped of the SIG prefix (such as KILL),
      or a number (such	as 9). For information about signal names and
      numbers, see the signal()	system call.

      In the System V habitat, the optional signal number does not have	to be
      preceded with a hyphen (-).

  -l  Lists signal names in numerical order (as	given in the
      /usr/include/signal.h file), stripped of the common SIG prefix.


  This command provides	a convenient means of killing all processes created
  by the shell that you	control.  When started by the superuser, the killall
  command kills	all processes that can be terminated, except those processes
  that started it, the kernel processes, and processes 0 and 1(init).

  Security Configuration

  This command is modified in all security configurations of the system.


   1.  To stop all background processes	that have started, enter:

       This sends all background processes signal 9 (the kill signal, also
       called SIGKILL).

   2.  To stop all background processes, giving	them a chance to clean up,
	    killall -

       This sends signal 15 (SIGTERM), waits 30	seconds, and then sends	sig-
       nal 9 (SIGKILL).

   3.  To send a specific signal to the	background processes, enter:
	    killall -2

       This sends signal 2 (SIGINT) to the background processes.

   4.  To list the signal names	in numerical order, stripped of	the SIG	pre-
       fix, enter:
	    killall -l

       This displays a list of signals,	which may vary from system to system.


      Specifies	the command path


  Functions: kill(2), sigaction(2), signal(2)