| Monitorizeaza utilizatorii in Linux |
|
| Scris de Cypress | ||||||
| Monday, 15 October 2007 | ||||||
|
Pe un sistem Linux cu mai multi utilizatori, un administrator trebuie sa isi monitorizeze clientii din cand in cand. Aici intervine comanda "w" care ne arata cine este logat si ce anume face: cypress@MyC-Razvan:~$ w 11:27:57 up 19:23, 2 users, load average: 0.00, 0.18, 0.49 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT cypress :0 - Tue16 ?xdm? 1:40m 0.32s x-session-manager siropel pts/1 192.168.0.8 10:57 16:28m 0.21s 0.03s sshd: siropel [priv] Sau putem folosi ps -au | more pentru a afla ce procese ruleaza pe server: cypress@MyC-Razvan:~$ ps -au | more Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 4286 5.3 4.1 28152 21544 tty7 Ss+ Sep12 62:01 /usr/bin/X :0 -br -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7 root 4979 0.0 0.0 1560 492 tty1 Ss+ Sep12 0:00 /sbin/getty 38400 tty1 root 4980 0.0 0.0 1560 492 tty2 Ss+ Sep12 0:00 /sbin/getty 38400 tty2
Only registered users can write comments! Powered by !JoomlaComment 3.12 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved. |
||||||



4 Jocuri "High-End"
Patronul: Ce naiba are iar site-ul asta ...
E greu sa inveti
Chiar ca e un dobitoc
ATI Radeon HD 4870 cu drivere Linux
Multe alte firme ar trebui sa ia exemplu...
E greu sa inveti
Ei bine, omul ala e un dobitoc. C'mon......
Ubuntu 8.10 Alpha 1 Screenshots
Cypress a zis:"apt nu m-a mai dezama...
Ubuntu 8.10 Alpha 1 Screenshots
Cum sa nu...
Ubuntu 8.10 Alpha 1 Screenshots
De acord cu tine Daniel, dar la mine am ...