Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
add comment

1 Answer

up vote 3 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
share|improve this answer
    
Thank you, it works! –  danatel Jan 20 '10 at 8:46
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.