Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer

up vote 2 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
add comment

Your Answer

 
discard

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.