LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Determine whether there are active sessions from CLI (https://www.linuxquestions.org/questions/linux-newbie-8/determine-whether-there-are-active-sessions-from-cli-589399/)

mpmackenna 10-04-2007 09:35 AM

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

bryantrv 10-04-2007 09:40 AM

You can use the command who

mpmackenna 10-04-2007 09:42 AM

Perfect... Thank you. Mike

AlucardZero 10-04-2007 10:04 AM

also w and finger


All times are GMT -5. The time now is 09:53 PM.