uptime
shows among others 4 users, should I be worried?
According to man uptime
uptime gives a one line display of the following information. The current time, how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes.
Is there a way to find which four users are "currently logged on"?
Best Answer
The easiest method to find who is logged on to your system is the use the
who
command, a part of the gnu coreutils package. It can be used as an ordinary user with no options or with my own favored option which enhances readability:At times you may see yourself or other users apparently logged in more than once with the use of
pts/0
andpts/1
in place rather thantty1
, This indicates a 'Pseudo Terminal Slave' (= pts) and simply shows that you or another user have opened an application such asxterm
,sshd
or similar process that creates a pseudoterminal master and slave pairing.More information concerning
pts
in the referenced AskUbuntu thread, and the man page link from within the accepted answer: