procps_scan in busybox 1.1.1
Alexander Griesser
alexander.griesser at lkh-vil.or.at
Mon Mar 27 14:09:25 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
I'm experiencing another strange thing with the ps implementation of
busybox 1.1.1.
My ps output looks like this:
[lxtc3861 - ~ #] ps
PID Uid VmSize Stat Command
1 root 284 S []
2 root SWN []
3 root SW< []
4 root SW< []
5 root SW< []
7 root SW< []
93 root SW< []
96 root SW< []
189 root SW []
190 root SW []
192 root SW< []
191 root SW []
785 root SW< []
884 root SW []
1143 root SW []
1565 root SW< []
11398 root 624 S []
11506 root 320 S []
11524 root 1500 S []
11564 root 416 S []
11565 root 500 S []
11566 root 488 S []
11754 root 2004 R []
11756 root 388 R []
11757 root 360 R []
procfs is mounted and populated correctly, as far as I can see.
If I want to see some information about the running sshd e.g.,
here's the output of the procfilesystem:
[lxtc3861 - /proc/11754 #] ls
auxv cwd exe maps mounts oom_score
seccomp statm task
cmdline environ fd mem oom_adj root stat
status wchan
[lxtc3861 - /proc/11754 #] cat cmdline
sshd: root at pts/0
[lxtc3861 - /proc/11754 #] cat stat
11754 (sshd) R 11524 11754 11754 0 -1 8396864 230 73 3 0 0 0 0 0 16 0 1
0 198196 6397952 501 4294967295 134512640 134793420 3220158672 720914
582 0 0 4096 73728 0 0 0 17 0 0 0
[lxtc3861 - /proc/11754 #] cat status
Name: sshd
State: R (running)
SleepAVG: 98%
Tgid: 11754
Pid: 11754
PPid: 11524
TracerPid: 0
Uid: 0 0 0 0
Gid: 0 0 0 0
FDSize: 32
Groups:
VmSize: 6248 kB
VmLck: 0 kB
VmRSS: 2004 kB
VmData: 420 kB
VmStk: 84 kB
VmExe: 276 kB
VmLib: 2716 kB
VmPTE: 16 kB
Threads: 1
SigQ: 0/1919
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000001000
SigCgt: 0000000080012000
CapInh: 0000000000000000
CapPrm: 00000000fffffeff
CapEff: 00000000fffffeff
[lxtc3861 - /proc/11754 #]
I assume the bug is anywhere in libbb/procps.c in function procps_scan
located. It definetly has nothing todo with my thinclient installation
itself, because on my workstation (Debian) I get the sameoutput when
I use "./busybox ps" as on my thinclient.
ciao,
- --
Alexander Griesser (Netzwerkadministration)
E-Mail: alexander.griesser at lkh-vil.or.at | Web: http://www.lkh-vil.or.at
KABEG LKH Villach | Nikolaigasse 43 | 9500 Villach
Tel.: +43 4242 208 3061 | Fax.: +43 4242 971 3061
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEJ/IV66HVD6KUm1oRAk/FAJ9PG73IFdm6Vc1uNpHGPZm3LUe5xwCgoCCd
0zvxfGtrWzGEeuSHUdoX/Xs=
=YX4o
-----END PGP SIGNATURE-----
More information about the busybox
mailing list