Pe 27 Oct 2003 10:57:00 +0200
Camelia Nastase <[EMAIL PROTECTED]>
scria:
>nu poti matale sa faci c&p cu output'ul de la acel 'w'? ca io sunt tampa
>si nu pricep exact intrebarea.

Uite un copy si paste: 

[EMAIL PROTECTED]:~$ w
15:26:02 up 8 days,  3:59,  2 users,  load average: 0.47, 0.38, 0.22
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU  WHAT
user      pts/0    office.romanati. 15:26    0.00s  0.10s  0.05s  w
[EMAIL PROTECTED]:~$ users
user user
[EMAIL PROTECTED]:~$
[EMAIL PROTECTED]:~$ ps -def | grep tty
root       769     1  0 Oct20 tty4     00:00:00 /sbin/agetty 38400 tty4 
linux
root     11398     1  0 Oct24 tty5     00:00:00 /sbin/agetty 38400 tty5 
linux
root      1361     1  0 Oct27 tty6     00:00:00 /sbin/agetty 38400 tty6 
linux
root     16759     1  0 Oct27 tty3     00:00:00 /sbin/agetty 38400 tty3 
linux
root     13079     1  0 13:25 tty2     00:00:00 /sbin/agetty 38400 tty2 
linux
root     13085     1  0 13:25 tty1     00:00:00 /sbin/agetty 38400 tty1 
linux
user      18451 18212  0 15:32 pts/0    00:00:00 grep tty
[EMAIL PROTECTED]:~$
[EMAIL PROTECTED]:~$ ps -def | grep pts
user      18211 18202  0 15:26 ?        00:00:00 sshd: [EMAIL PROTECTED]/0
user      18212 18211  0 15:26 pts/0    00:00:00 -bash
user      18572 18212  0 15:35 pts/0    00:00:00 ps -def
user      18573 18212  0 15:35 pts/0    00:00:00 grep pts
[EMAIL PROTECTED]:~$ 

Poate ma dumiresti si pe mine de unde e al doile-a user?
Iti aduc aminte ca cel de-al doilea mi-a ramas pe acolo de cand m-am logat 
pe tty6. 

-- 
Kta.

--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui