CONTENT
  • CHANGES
Szukaj
counter

#top kill

[<<]|[<]|[^]|[v]|[>]|[>>]|[Zwiń]|[#top]|[X]

kill - terminate a process

Powiązane:


#top SYNOPSIS

SYNOPSIS
kill [ -s signal | -p ] [ -a ] [ -- ] pid ...
kill -l [ signal ]

#top DESCRIPTION

DESCRIPTION



#top OPTIONS

OPTIONS
pid...
Specify the list of processes that kill should signal. Each pid can be one of five things:
n
where n is larger than 0. The process with pid n will be signaled.

0
All processes in the current process group are signaled.

-1
All processes with pid larger than 1 will be signaled.

-n
where n is larger than 1. All processes in process group n are signaled. When an argument of the form '-n' is given, and it is meant to denote a process group, either the signal must be specified first, or the argument must be preceded by a '--' option, otherwise it will be taken as the signal to send.

commandname
All processes invoked using that name will be signaled.
-s signal
Specify the signal to send. The signal may be given as a signal
name or number.

-l
Print a list of signal names. These are found in
/usr/include/linux/signal.h

-a
Do not restrict the commandname-to-pid conversion to processes
with the same uid as the present process.

-p
Specify that kill should only print the process id (pid) of the
named processes, and not send any signals.



#top EXAMPLES


EXAMPLES
Sprawdzenie obecności procesu i podanym PID (kill nie wysyła sygnału do procesu tylko sprawdza, czy proces o podanym PID istnieje):
kill -0 1234

kill -1 1234
kill -HUP 1234

kill -9 1234




Zmodyfikowany ostatnio: 2015/08/12 07:35:29 (9 lat temu), textsize: 2,42 kB, htmlsize: 4,78 kB

Zapraszam do komentowania, zgłaszania sugestii, propozycji, własnych przykładów, ...
Dodaj komentarzKomentarze użytkowników