View Single Post
Old 03-01-2007, 14:42   #19186
darkbasic
Senior Member
 
L'Avatar di darkbasic
 
Iscritto dal: Dec 2004
Messaggi: 3573
Codice:
niko@debian:~$ ps aux | sort -n +2 | tail -1
sort: Warning: "+number" syntax is deprecated, please use "-k number"
niko      4663  2.7  5.6 166236 57760 ?        S    15:03   1:04 konqueror [kdeinit] --silent
Mi interessa sapere il pid del processo che occupa pių cpu.
Sono costretto a reindirizzare l'stderr perchč mi da quel warning maledetto...

Lo script che ho realizzato funziona, ma mi puzza tanto ma tanto di "workaround"...
__________________
Debian amd64 | Gentoo amd64 | AMD Athlon64 3800+ X2@2701Mhz vcore 1.49V | Placing an unpatched Windows computer directly onto the Internet in the hope that it downloads the patches faster than it gets exploited are odds that you wouldn't bet on in Vegas | e-mail+jabber: darkbasic|a.t|linuxsystems|d.o.t|it | www.linuxsystems.it

Ultima modifica di darkbasic : 03-01-2007 alle 14:44.
darkbasic č offline