CONTENT
  • CHANGES
Szukaj
counter

#top pidof


pidof - find the process ID of a running program

Powiązane:
iotop, lsof, pidof, ps, top,

SYNOPSIS
pidof [-s] [-c] [-x] [-o omitpid] [-o omitpid..] program [program..]


DESCRIPTION



OPTIONS
-s
Single shot - this instructs the program to only return one pid.

-c
Only return process ids that are running with the same root directory. This option does not make sense for non-root users, as they will be unable to check the current root directory of processes they do not own.

-x
Scripts too - this causes the program to also return process id's of shells running the named scripts.

-o
Tells pidof to omit processes with that process id. The special pid %PPID can be used to name the parent process of the pidof program, in other words the calling shell or shell script.



EXAMPLES
pidof httpd
Rezultat:
13861 13860 13859 13858 13857 13856 13855 13854 4987




Zmodyfikowany ostatnio: 2015/12/03 14:31:48 (8 lat temu), textsize: 1,60 kB, htmlsize: 2,10 kB

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