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



Este Mandriva noua distributie de top?
iar in sprijinul celor afirmate de mine ...
Tatuaje Linux si BSD
Me too
Tatuaje Linux si BSD
eu am cana
Este Mandriva noua distributie de top?
Tin sa confirm partea cu suportul hardwa...
Este Mandriva noua distributie de top?
piratule, tin sa te contrazic. Mandriva ...
Prins la copiat pe UbuntuForums.org
ce tare...
Este Mandriva noua distributie de top?
dezactiveaza functia de derulare (scroll...