How to list process priority on an embedded linux with busybox?

link|improve this question
feedback

1 Answer

up vote 1 down vote accepted

Busybox can be compiled with ENABLE_FEATURE_PS_ADDITIONAL_COLUMNS which will enable nice among others. Then you can do, for example:

busybox ps -o pid,nice,user,args

POSIX

  • user, group, comm, args, pid, ppid, pgid, tty, vsz

ENABLE_FEATURE_PS_TIME

  • etime, time

ENABLE_FEATURE_PS_ADDITIONAL_COLUMNS

  • nice, rgroup, ruser, pcpu (although pcpu seems to be commented out)

Non-POSIX

  • rss

ENABLE_SELINUX

  • label
link|improve this answer
Thank you, it works! – danatel Jan 20 '10 at 8:46
feedback

Your Answer

 
or
required, but never shown

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