Re: strange output for command ps
This looks normal to me. I believe 'ps' cuts off the USER column after
a certain number of characters. To test, I just added a user
'stevesuehring' to a local Debian etch box and then logged in as that
user. The ps output shows 1002 in the USER column rather than the name.
Steve
On Wed, Jan 30, 2008 at 11:48:10PM +0100, Lindo Nepi wrote:
> hi all.
> on my debian box (debian 4.0 , kernel 2.6.18-4-686 #1 SMP Wed May 9
> 23:03:12 UTC 2007 i686 GNU/Linux )
> when i do "ps aux" i obtain:
>
> lindo@debian:~$ ps aux
> USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
> root 1 0.0 0.1 1948 648 ? Ss Jan17 0:01 init [2]
> root 2 0.0 0.0 0 0 ? S Jan17 0:00
> [migration/0]
> root 3 0.0 0.0 0 0 ? SN Jan17 0:00
> [ksoftirqd/0]
> root 4 0.0 0.0 0 0 ? S< Jan17 0:00 [events/0]
> root 5 0.0 0.0 0 0 ? S< Jan17 0:00 [khelper]
> root 6 0.0 0.0 0 0 ? S< Jan17 0:00 [kthread]
> root 9 0.0 0.0 0 0 ? S< Jan17 0:00 [kblockd/0]
>
> [snip]
>
> root 2620 0.0 0.1 1572 572 ? Ss Jan17 0:00
> /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acp
> 103 2733 0.0 0.1 2252 860 ? Ss Jan17 0:00
> /usr/bin/dbus-daemon --system
> 106 2741 0.0 0.7 5572 4040 ? Ss Jan17 0:01
> /usr/sbin/hald
> root 2742 0.0 0.1 2892 1016 ? S Jan17 0:00 hald-runner
> 106 2748 0.0 0.1 2020 852 ? S Jan17 0:00
> hald-addon-acpi: listening on acpid socket /var/run
> 106 2753 0.0 0.1 2020 864 ? S Jan17 0:00
> hald-addon-keyboard: listening on /dev/input/event0
> root 2762 0.0 0.1 1812 620 ? S Jan17 0:10
> hald-addon-storage: polling /dev/hdd
>
> [snip]
>
> www-data 6612 0.0 0.8 19112 4144 ? SN 07:36 0:00
> /usr/sbin/apache2 -k start
> www-data 6613 0.0 0.8 19112 4144 ? SN 07:36 0:00
> /usr/sbin/apache2 -k start
> www-data 6614 0.0 0.8 19112 4144 ? SN 07:36 0:00
> /usr/sbin/apache2 -k start
> 121 6678 0.0 22.3 123368 115416 ? SNs 07:44 0:06
> /usr/sbin/dansguardian
> 121 6679 0.0 22.3 123372 115360 ? SN 07:44 0:11
> /usr/sbin/dansguardian
> 121 6680 0.0 22.8 126300 118064 ? SN 07:44 0:03
> /usr/sbin/dansguardian
> 121 24594 0.0 22.5 130296 116300 ? SN 08:22 0:02
> /usr/sbin/dansguardian
> 121 24595 0.0 22.4 126600 116096 ? SN 08:22 0:00
> /usr/sbin/dansguardian
> 121 24596 0.0 22.5 124892 116300 ? SN 08:22 0:01
> /usr/sbin/dansguardian
> 121 24597 0.0 22.4 124240 115944 ? SN 08:22 0:00
> /usr/sbin/dansguardian
> 121 24598 0.0 22.4 123980 115928 ? SN 08:22 0:00
> /usr/sbin/dansguardian
> 121 24599 0.0 22.4 123716 115920 ? SN 08:22 0:00
> /usr/sbin/dansguardian
> 121 24600 0.0 22.4 123748 116052 ? SN 08:22 0:00
> /usr/sbin/dansguardian
> 121 29196 0.0 22.5 153460 116680 ? SN 17:18 0:02
> /usr/sbin/dansguardian
> 121 29197 0.0 22.5 130292 116332 ? SN 17:18 0:00
> /usr/sbin/dansguardian
> 121 29198 0.0 22.4 127920 116224 ? SN 17:18 0:00
> /usr/sbin/dansguardian
> 121 29199 0.0 22.4 124280 116152 ? SN 17:18 0:00
> /usr/sbin/dansguardian
> ^^^^^
>
> look here, ps shows UID , not username.
>
> It's normal?
> of course uid=121(dansguardian) gid=114(dansguardian)
> gruppi=114(dansguardian)
>
> thanks
>
> LN
>
>
>
>
>
> --
> To UNSUBSCRIBE, email to debian-security-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
Reply to: