| 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. |
||||||



KDE 3.5.10
In Nautilus poti redimensiona iconurile ...
KDE 3.5.10
am incercat si eu Gnome, ca va tot vad c...
KDE 3.5.10
Waw, nu credeam ca vor mai lansa vreun r...
Canon isi indreapta fata spre pinguini
Da, la capitolul "scannere si Linux&...
KDE 3.5.10
The King is dead! Long live the KDE 3.5....
Why Linux Sucks
comentariile sunt mai interesante decat ...
Canon isi indreapta fata spre pinguini
daca era si despre scanere aveam eu ce l...