Uso di grep sui processi [era: adsl]
Marco De Benedetto
debe@galliera.it
Ven 29 Set 2006 17:32:42 CEST
On ven 29 set, Emanuele Rocca wrote:
> Da man 1 ps:
>
> -N
> Select all processes except those that fulfill the specified conditions.
> (negates the selection) Identical to --deselect.
*those that fulfill the specified conditions*, non solo il *tuo* grep.
> Esempio:
> ps u -N -C grep | grep xfce
$ grep - &
[1] 21518
$ ps u -N -C grep | grep grep
debe 42 0.0 0.2 9652 1064 ttyp2 R+ 17:28 0:00 ps u -N -C grep
Non trova il processo 21518, che è un grep.
--
ciao,
debe
Maggiori informazioni sulla lista
glug