User avatar
bigdavethehorn
Posts: 56
Joined: Thu Jan 19, 2012 8:46 pm
Location: Scotland

First time SSH user. TOP reports 2 users?

Tue Aug 28, 2012 8:22 pm

Hello, I'm using a default XBian install and I managed to SSH into my Pi tonight for the first time.

The only Linux command I know is TOP, and it reports that my Pi has 2 users. Who are they?

I logged in using root & raspberry so I'm guessing that one is the Root account, which I think is like the Admin account on a Windows PC, but who is the other?

bredman
Posts: 1415
Joined: Tue Jan 17, 2012 2:38 pm

Re: First time SSH user. TOP reports 2 users?

Tue Aug 28, 2012 8:40 pm

For a list of the current users, try the command
users

I would expect it to return
root root

to show that user root is running two sessions. One will be the ssh session and the other will be the basic operating system.

If you want to learn some more commands, try reading the Command Line Clinic articles in the free MagPi magazine
www.themagpi.com

User avatar
bigdavethehorn
Posts: 56
Joined: Thu Jan 19, 2012 8:46 pm
Location: Scotland

Re: First time SSH user. TOP reports 2 users?

Tue Aug 28, 2012 8:51 pm

The users command does indeed return Root Root, thanks!

I'll have a look at the link you supplied, thank you.

User avatar
jojopi
Posts: 3271
Joined: Tue Oct 11, 2011 8:38 pm

Re: First time SSH user. TOP reports 2 users?

Tue Aug 28, 2012 9:00 pm

Commands that may show more detail about how the users are logged in include "w", "who", and "finger". (I do not know what is installed in XBian, but I would expect at least the second to work, if "top" does.)

Return to “Beginners”