Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

PIDOF

Section: Linux System Administrator's Manual (8)
Updated: 14 giugno 1996
Index Return to Main Contents
 

NOME

pidof -- trova il process ID di un programma in esecuzione  

SINTASSI

pidof [-s] [-x] [-o omitpid] [-o omitpid..] programma [programma..]  

DESCRIZIONE

Pidof trova i process id (pid) dei programmi specificati e li stampa nello standard output. Questo programma è usato tipicamente negli script per il cambio di runlevel, specialmente quando il sistema ha una struttura rc simile al System-V. Questi script sono localizzati in /etc/rc.?d, dove ? è il runlevel.  

OPZIONI

-s
Single shot - ciò istruisce il programma a ritornare solo un pid.
-x
Scripts too - fa sì che il programma ritorni anche i process id delle shell che eseguono gli script specificati.
-o omitpid
Dice a pidof di omettere i processi con quel process id. Il pid speciale %PPID può essere usato al posto del nome del processo padre del programma pidof, in altre parole la shell o lo script chiamante.
 

NOTE

pidof è semplicemente un link (simbolico) al programma killall5, che dovrebbe essere anche lui in /sbin.  

VEDERE ANCHE

shutdown(8), init(8), halt(8), reboot(8).  

AUTORE

Miquel van Smoorenburg, miquels@cistron.nl
Traduzione di Giovanni Bortolozzo <borto@dei.unipd.it>
 

Index

NOME
SINTASSI
DESCRIZIONE
OPZIONI
NOTE
VEDERE ANCHE
AUTORE

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "Linuxinfor Man Pages in HTML Format: man8". See Index Page for more info about Authorship and Copyright.

1999-2008 Linuxinfor.com. No rights reserved.