Determine whether there are active sessions from CLI
Hello, I am looking for a command that I can use via an SSH session to tell me if there are any active sessions on my Mandriva 2007.1 box. For example, if I want to reboot the box, but I am not sure if anyone is sitting at the keyboard with an active session going on that I don't want to interrupt. How can I tell from my ssh session whether anyone else is logged in to the box? Thanks so much. Mike
|
You can use the command who
|
Perfect... Thank you. Mike
|
also w and finger
|
All times are GMT -5. The time now is 09:53 PM. |