Make the CPU column in top always be 2 characters and print in decimal
rather than hex. Requested by: rwatson
This commit is contained in:
parent
3d074cf37b
commit
b2ce972537
@ -106,12 +106,12 @@ static char io_header[] =
|
||||
"%5d%s %-*.*s %6ld %6ld %6ld %6ld %6ld %6ld %6.2f%% %.*s"
|
||||
|
||||
static char smp_header_thr[] =
|
||||
" PID%s %-*.*s THR PRI NICE SIZE RES STATE C TIME %6s COMMAND";
|
||||
" PID%s %-*.*s THR PRI NICE SIZE RES STATE C TIME %6s COMMAND";
|
||||
static char smp_header[] =
|
||||
" PID%s %-*.*s " "PRI NICE SIZE RES STATE C TIME %6s COMMAND";
|
||||
" PID%s %-*.*s " "PRI NICE SIZE RES STATE C TIME %6s COMMAND";
|
||||
|
||||
#define smp_Proc_format \
|
||||
"%5d%s %-*.*s %s%3d %4s%7s %6s %-6.6s %1x%7s %5.2f%% %.*s"
|
||||
"%5d%s %-*.*s %s%3d %4s%7s %6s %-6.6s %2d%7s %5.2f%% %.*s"
|
||||
|
||||
static char up_header_thr[] =
|
||||
" PID%s %-*.*s THR PRI NICE SIZE RES STATE TIME %6s COMMAND";
|
||||
|
Loading…
Reference in New Issue
Block a user