Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I do this ps command:

sudo ps -elf | grep firefox

I see this output:

0 S 1002     20214     1  0  80   0 - 269240 poll_s 14:03 ?       00:00:24 /usr/lib/firefox/firefox
0 S jeff     22671 15484  0  80   0 -  3396 pipe_w 15:14 pts/0    00:00:00 grep --color=auto firefox

Why do I see my own user name in one case, but a user number in the other case. The other user is a real person logged into the computer. I can tell who it is by looking at /etc/passwd.

share|improve this question
up vote 3 down vote accepted

If your username is longer than 8 characters, some tools will show your uidnumber instead of your username.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.