diff options
author | jhb <jhb@FreeBSD.org> | 2008-10-01 22:01:07 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2008-10-01 22:01:07 +0000 |
commit | 17415143e3ea50776074328a4bc9b5e9aa942dba (patch) | |
tree | 0b6afb5bc45859346dbb1d3d2ed3929741d19f36 /usr.bin | |
parent | 593ef76d8c47b523cb3dc5b70e8a3a9d604428dc (diff) | |
download | FreeBSD-src-17415143e3ea50776074328a4bc9b5e9aa942dba.zip FreeBSD-src-17415143e3ea50776074328a4bc9b5e9aa942dba.tar.gz |
Make the CPU column in top always be 2 characters and print in decimal
rather than hex.
Requested by: rwatson
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/top/machine.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c index 01d168f..9754c6d 100644 --- a/usr.bin/top/machine.c +++ b/usr.bin/top/machine.c @@ -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"; |