so, pretty much, i was going about my server business as usual, when my SSH/bash terminal(PuTTY) decided to stop responding during a grep command. ^C wasn't letting me cancel out the job, so after a while i closed the terminal and logged back in as root, typed in 'users' and 'who' which showed one user. so i logged out, then back in as my normal user, ran 'top', and there it said 2 users.
i jumped out of top, punched 'w' and hit enter, and there it was. 2 users, but listed only 1.
pretty noob, i know. any help would be much appreciated.
print_uptime()
(used byuptime
,w
andtop
), which gives a numeric count of users, being greater than the per-line output which follows fromw
.