*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> killall (8)              
Title
Content
Arch
Section
 

killall(8)

Contents


NAME    [Toc]    [Back]

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

SYNOPSIS    [Toc]    [Back]

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

       /usr/sbin/killall -l

OPTIONS    [Toc]    [Back]

       The hyphen character (without an argument) sends a SIGTERM
       signal  initially  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  specified  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 (-).
              Lists signal names in numerical order (as given  in
              the  /usr/include/signal.h  file),  stripped of the
              common SIG prefix.

DESCRIPTION    [Toc]    [Back]

       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    [Toc]    [Back]
       This command is modified in all security configurations of
       the system.

EXAMPLES    [Toc]    [Back]

       To stop all background processes that have started, enter:
       killall

              This  sends  all background processes signal 9 (the
              kill signal, also called  SIGKILL).   To  stop  all
              background processes, giving them a chance to clean
              up, enter: killall -

              This sends signal 15 (SIGTERM), waits  30  seconds,
              and  then sends signal 9 (SIGKILL).  To send a specific
 signal to the  background  processes,  enter:
              killall -2

              This sends signal 2 (SIGINT) to the background processes.
  To list  the  signal  names  in  numerical
              order,  stripped  of the SIG prefix, enter: killall
              -l

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

FILES    [Toc]    [Back]

       Specifies the command path

SEE ALSO    [Toc]    [Back]

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



                                                       killall(8)
[ Back ]
 Similar pages
Name OS Title
pthread_exit Tru64 Terminates the calling thread
ipxfwtermsig IRIX Returns lower bit of signal that terminates a child process
pthread_atfork Tru64 Declares fork handler routines to be called when the calling thread's process forks a child process
pxfwait IRIX Obtains information about a calling process' child process
ipxfwstopsig IRIX Returns part of the lower bits of signal number that terminates child process
getaudproc HP-UX get the audit process flag for the calling process
tt_open HP-UX return the process identifier for the calling process
maxuprc HP-UX limits the maximum number of concurrent user processes per user
getgid Tru64 Get the group ID of the calling process
getegid Tru64 Get the group ID of the calling process
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service