La commande w en console

Ответить
Аватара пользователя
Gerardll51
Сообщения: 1423
Зарегистрирован: 13 окт 2013, 23:34
Operating system: ROSA Desktop Fresh R11 release 2016.1 for x86_64
KDE 4.14.37
4.15.0-desktop-68.5rosa-x86_64
NVIDIA GP107 [GeForce GTX 1050 Ti]. NVIDIA 430.50. ROSA X.org 11.0
Intel Core i5-9600KF. 16 Go RAM. SSD 500 Gio

La commande w en console

Сообщение Gerardll51 »

Bonjour,

Quand je me connecte sur mon gros PC avec mon Eeepc via NFS, j'imaginais que j'aurais pu voir que j'étais connecté avec la commande w en konsole.
Est-ce qu'il y a une commande qui me permette de voir qui est connecté à mon PC?
J'ai vu que la commande netstat -taupe le faisait.
Mais j'aurais aimé une commande plus simple.
Très bien la distribution Rosa!
Аватара пользователя
sylvainsjc
Сообщения: 1276
Зарегистрирован: 28 июн 2012, 20:39
Operating system: ROSA Linux
Контактная информация:

Re: La commande w en console

Сообщение sylvainsjc »

Salut Gérard,

Chez moi la commande w donne ça :

Код: Выделить всё

[sylvain@Rosa2012Fresh ~]$ w
 15:30:35 up 25 min,  3 users,  load average: 0,22, 0,50, 0,51
USER     TTY        LOGIN@   IDLE   JCPU   PCPU WHAT
sylvain  :0        15:05   ?xdm?   6:13   0.11s /bin/sh /usr/bin/startkde
sylvain  pts/0     15:05   24:49   0.00s  1.04s kdeinit4: kded4 [kdeinit]                      
sylvain  pts/1     15:05    3.00s  0.09s  0.00s w
[sylvain@Rosa2012Fresh ~]$ 
Entre nous je ne la connaissais pas cette commande car j'utilise plutôt celle-ci :

Код: Выделить всё

[sylvain@Rosa2012Fresh ~]$ who -u
sylvain  :0           2014-02-21 15:05   ?          3921
sylvain  pts/0        2014-02-21 15:05 00:24        4090
sylvain  pts/1        2014-02-21 15:05   .          4354
[sylvain@Rosa2012Fresh ~]$ 
Аватара пользователя
Gerardll51
Сообщения: 1423
Зарегистрирован: 13 окт 2013, 23:34
Operating system: ROSA Desktop Fresh R11 release 2016.1 for x86_64
KDE 4.14.37
4.15.0-desktop-68.5rosa-x86_64
NVIDIA GP107 [GeForce GTX 1050 Ti]. NVIDIA 430.50. ROSA X.org 11.0
Intel Core i5-9600KF. 16 Go RAM. SSD 500 Gio

Re: La commande w en console

Сообщение Gerardll51 »

Salut,

Ah oui.
Ca donne presque la même chose en fait.
"w" a l'air plus complète on dirait.

Pour l'instant je vais rester avec netstat en root pour ces info là, sauf que je ne comprends pas toujours tout ce que je lis.
Très bien la distribution Rosa!
Ответить

Вернуться в «ROSA Desktop»