cum fac sa obtin acelasi rezultat ca si cu comanda pidof din redhat.
am incercat asa
#!/usr/bin/perl -w
$procesele=`ps axuw|grep send|grep -v grep|cut -c 7-14`;
foreach $proces ($procesele) {
$OUT=`kill $proces`;
print "Procesul $proces a fost kill: $OUT\n";
}
dar problema este ca $procesele este un singur camp, cum i-au cate o linie, sau alta
idee, inafara de alua programul de pe alt computer
C
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.
- [rlug] Re: comanda pidof ciprian
- [rlug] Re: comanda pidof Octavian Popescu
- [rlug] Re: comanda pidof Viorel Anghel
- [rlug] Re: comanda pidof Viorel Anghel
