[Pardus-kullanicilari] cpu yüzdesi

Fatih Tumen fthtmn at gmail.com
24 Kas 2008 Pzt 23:06:47 EET


Celal Bey,
istediginizi *top* komutuyla yapabilirisiniz:

*$ man top *
ya da ozetle:
*$ top -h*
usage:    top -hv | -bcisSH -d delay -n iterations [-u user | -U user] -p
pid [,pid ...]

ihtiyaiciniz olan -p ve -n saniyorum
-p PID, yani process ID, -n de guncelleme sayisi
ornek:
*$ top -p 1 -n 1*

1 PID (process ID) ye sahip olan islemin statistiklerini 1 kere yoklar ve
gosterir.

Ciktiyi isterseniz
*$ top -p 1 -n 1 > top_p1.log
*
seklinde bir dosyaya alip sonra dosyadan istediginiz kismi alabilirsiniz
yada
*$ top -p 1 -n 1 | grep <pattern>

*seklinde bir sey deneyebilirsiniz.
<pattern> icin *man grep* yapmaniz gerekicek.


--
Fatih Tumen
-------------- sonraki bölüm --------------
Bir HTML eklentisi temizlendi...
URL: http://liste.pardus.org.tr/pardus-kullanicilari/attachments/20081124/178f6dff/attachment.htm 


Pardus-kullanicilari mesaj listesiyle ilgili daha fazla bilgi