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



Ubuntu 8.10 Alpha 1 Screenshots
Imi pare rau sa constat ca nou venitii i...
E greu sa inveti
multzam fain asta a fost poanta zilei :...
Ubuntu 8.10 Alpha 1 Screenshots
"Ce nici o distributie de linux nu p...
Ubuntu 8.10 Alpha 1 Screenshots
Timpul de instalare NU este relevant. Va...
Ubuntu 8.10 Alpha 1 Screenshots
azi dupa update+reboot mi-a inghetzat Gn...
4 Jocuri "High-End"
Super tare, nu stiam de ele. Dar am sa l...
4 Jocuri "High-End"
Patronul: Ce naiba are iar site-ul asta ...