Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

proc::killall(3pm) [debian man page]

Killall(3pm)						User Contributed Perl Documentation					      Killall(3pm)

NAME
killall - Kill all instances of a process by pattern matching the command-line SYNOPSIS
use Proc::Killall; killall('HUP', 'xterm'); # SIGHUP all xterms killall('KILL', '^netscape$'); # SIGKILL to "netscape" DESCRIPTION
This module provides one function, "killall()", which takes two parameters: a signal name or number (see "kill()") and a process pattern. This pattern is matched against the process' command-line as the "ps" command would show it ("ps" is not used internally, instead a package called "Proc::ProcessTable" is used). "killall" searches the process table and sends that signal to all processes which match the pattern. The return value is the number of processes that were successfully signaled. If any kills failed, the $! variable will be set based on that last one that failed (even if a successful kill happened afterward). AUTHOR
Written in 2000 by Aaron Sherman <ajs@ajs.com> "Proc::Killall" is copyright 2000 by Aaron Sherman, and may be distributed under the same terms as Perl itself. PREREQUISITES
"Proc::ProcessTable" is required for "Proc::Killall" to function. SEE ALSO
perl, perlfunc, perlvar, Proc::ProcessTable perl v5.14.2 2013-02-10 Killall(3pm)

Check Out this Related Man Page

killall(1M)						  System Administration Commands					       killall(1M)

NAME
killall - kill all active processes SYNOPSIS
/usr/sbin/killall [signal] DESCRIPTION
killall is used by shutdown(1M) to kill all active processes not directly related to the shutdown procedure. killall terminates all processes with open files so that the mounted file systems will be unbusied and can be unmounted. killall sends signal (see kill(1)) to the active processes. If no signal is specified, a default of 15 is used. The killall command can be run only by the super-user. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
kill(1), ps(1), fuser(1M), shutdown(1M), signal(3C), attributes(5) SunOS 5.10 14 Sep 1992 killall(1M)
Man Page

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Killall script?

I am doing some system tuning and figuring out how to write a script that will kill multiple processes or all processes with the same owner. Can someone help me out? Thanks (5 Replies)
Discussion started by: nmajin
5 Replies

2. Shell Programming and Scripting

using killall command

hi all... I investigate if exists some script so that when unix run an application (in this case backup's), so after of that does run killall command to all users connected, or if it is possible to be put in crontab... I wait for and they help me so I do not have much knowledge in programming....... (2 Replies)
Discussion started by: chanfle
2 Replies

3. UNIX for Dummies Questions & Answers

kills command

what are the header files required for the kills command in kernel version 2.4? (1 Reply)
Discussion started by: shwe
1 Replies

4. Shell Programming and Scripting

Perl : Kill process within 5 min

From a perl script , How can I monitor a PS which I activated and kill it within 5 minutes in case it didn't complete its tasks.:confused: (2 Replies)
Discussion started by: Alalush
2 Replies

5. UNIX for Advanced & Expert Users

The "PS" command was displaying*terminals named as "SYSCON"

Hi, When typing the command ps -fe.the system is showing a process called SYSCON:confused:.... I am not sure what process is that.I hava a script that kills all command staring with 'sys' but i don't want to kill syscon:( since i think it is some system process:confused: .Please help me to find... (1 Reply)
Discussion started by: kiranjose85
1 Replies

6. Shell Programming and Scripting

Verifying killall command usage

killall -KILL rdiff-backup Is it a valid command coz i couldn't find a -KILL option for killall in the man page. (1 Reply)
Discussion started by: proactiveaditya
1 Replies

7. Fedora

Understanding Killall command , wait option

:wall:killall -wHi i need to understand how the -w option works in terms of processes. If this command is issued does it literally terminate all running processes ..wait for them all to be terminated and then return to standard output ? Thanks in advance (2 Replies)
Discussion started by: MrRobot
2 Replies

8. UNIX for Beginners Questions & Answers

Kill -9 -1 combination

Good morning, In a Production environment ive seen this command that kills processes kill -9 -1 Because i am in a production environmet i can not execute this comamnd, so i would like to know what is the difference for the conventional kill -9 PID ? Thanks a lot (11 Replies)
Discussion started by: alexcol
11 Replies