Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ killall(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

kill

signal

killall

PURPOSE

     Cancels all processes except the calling process.

SYNOPSIS
     killall [ -signo ] [ - ] [ sysname ]


DESCRIPTION

     The  killall  command  cancels  all  processes  that  you
     started,  except  those  producing the  killall  process.
     This command  provides a  convenient means  of cancelling
     all  processes created  by  the shell  that you  control.
     When  started   by  a   user  operating   with  superuser
     authority,  killall  cancels  all  cancellable  processes
     except those that started it.

     The  kernel-image parameter  specifies  the  name of  the
     system load module (by default, /unix).

FLAGS

     -        Sends a SIGTERM signal  initially and then sends
              a SIGKILL  (kill) signal  to all  processes that
              survive  for 30  seconds  after  receipt of  the
              signal  first sent.   This gives  processes that
              catch SIGTERM signal an opportunity to clean up.
              (For  more information,  see  the signal  system
              call   in   AIX   Operating   System   Technical
              Reference.)
     -signal  Sends the specified  signal number.  (For infor-
              mation  about  signal  numbers, see  the  signal
              system  call in  AIX Operating  System Technical
              Reference.)

EXAMPLES

     1.  To stop all background processes that have started:

           killall

         This sends all background processes the kill signal 9
         (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 signal 9 (SIGKILL).
     3.  To  send a  specific signal  to the  background proc-
         esses:

           killall -2

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

FILES

     /unix       System kernel image.
     /dev/mem    Used for reading the process table.

RELATED INFORMATION

     The following command:  "kill."

     The signal system call  in AIX Operating System Technical
     Reference.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026