Ssh – way to find out how many instances of the root user are logged into a Linux machine

rootsshusersvmware

We have a handful of users that login to our Linux virtual machine as root either through the vSphere client or through SSH and I want to see if there is a way to tell if multiple root users are logged in at the same time.

Best Answer

You can use who command to find out all the logged in users. There is w command also available to find out the same.

Related Question