I work at a help desk and whenever I log onto one of our servers and wish to restart the server or software or something I need to make sure no one else is on. So right now I go around the office asking people to make sure, slow eh? ya. So is there a command I can run which will tell me if there is anyone currently logged on to the same server as me? and also is there a command I can do to broadcast a message to everyone logged on like "I'm restarting the software now."
If anyone knows that would be great, thanks!