pstree: new applet. +1664 bytes

text    data     bss     dec     hex filename
 883379     936   17192  901507   dc183 busybox_old
 885043     936   17192  903171   dc803 busybox_unstripped

Signed-off-by: Lauri Kasanen <curaga@operamail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Lauri Kasanen
2010-12-05 05:22:29 +01:00
committed by Denys Vlasenko
parent a04440ccad
commit 6578f2cf5b
3 changed files with 418 additions and 0 deletions

View File

@ -1426,6 +1426,7 @@ typedef struct procps_status_t {
char *argv0;
char *exe;
IF_SELINUX(char *context;)
IF_FEATURE_SHOW_THREADS(unsigned main_thread_pid;)
/* Everything below must contain no ptrs to malloc'ed data:
* it is memset(0) for each process in procps_scan() */
unsigned long vsz, rss; /* we round it to kbytes */