pidof man page on Peanut

Printed from http://www.polarhome.com/service/man/?qf=pidof&af=0&tf=2&of=Peanut



PIDOF(1)		  User Commands			 PIDOF(1)

NAME
       pidof ‐ finds processes by name and lists their PIDs

SYNOPSIS
       pidif [‐eg] name ...
       pidof ‐V

DESCRIPTION
       pidof  lists  the PIDs of all processes running any of the
       specified commands.

       If the command name contains a slash (/),  processes  exe‐
       cuting  that particular file will be selected, independent
       of their name.

       pidof returns a non‐zero return code  if	 no  process  has
       been found for any of the listed commands. If at least one
       process has been found for  each	 command,  pidof  returns
       zero.

OPTIONS
       ‐e     Require  an  exact  match for very long names. If a
	      command name is longer than 15 characters, the full
	      name  may	 be unavailable (i.e. it is swapped out).
	      In this  case,  pidof  will  list	 everything  that
	      matches  within  the  first 15 characters. With ‐e,
	      such entries are silently skipped.

       ‐g     Show process group IDs instead of process	 IDs.  If
	      multiple	processes  with the same process group ID
	      were found, only the first process is shown.

       ‐V     Display version information.

FILES
       /proc	 location of the proc file system

KNOWN BUGS
       Selection by file only works for executables that are kept
       open  during  execution,	 i.e. impure executables can’t be
       selected this way.

AUTHOR
       Werner Almesberger <Werner.Almesberger@epfl.ch>

SEE ALSO
       killall(1), fuser(1), ps(1)

Linux			   May 6, 1998				1

[top]

List of man pages available for Peanut

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net