diff options
author | markm <markm@FreeBSD.org> | 2001-02-18 11:08:47 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2001-02-18 11:08:47 +0000 |
commit | 3c67bf1d70fc1f6a57b763c0327f4a0a90e91961 (patch) | |
tree | 504d505544f5999f51af17729dc3e1ae146fd4aa /usr.bin/top/machine.c | |
parent | 54658bf75f1851456ca4e8c245fd9fb8cd35a99a (diff) | |
download | FreeBSD-src-3c67bf1d70fc1f6a57b763c0327f4a0a90e91961.zip FreeBSD-src-3c67bf1d70fc1f6a57b763c0327f4a0a90e91961.tar.gz |
Adjust columns for wide nicenesses in 'top -S'.
Diffstat (limited to 'usr.bin/top/machine.c')
-rw-r--r-- | usr.bin/top/machine.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c index a2d42bd..ff5e0a8 100644 --- a/usr.bin/top/machine.c +++ b/usr.bin/top/machine.c @@ -108,16 +108,16 @@ static struct nlist nlst[] = { */ static char smp_header[] = - " PID %-*.*s PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND"; + " PID %-*.*s PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND"; #define smp_Proc_format \ - "%5d %-*.*s %3d %3d%7s %6s %-6.6s %1x%7s %5.2f%% %5.2f%% %.*s" + "%5d %-*.*s %3d %4d%7s %6s %-6.6s %1x%7s %5.2f%% %5.2f%% %.*s" static char up_header[] = - " PID %-*.*s PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND"; + " PID %-*.*s PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND"; #define up_Proc_format \ - "%5d %-*.*s %3d %3d%7s %6s %-6.6s%.0d%7s %5.2f%% %5.2f%% %.*s" + "%5d %-*.*s %3d %4d%7s %6s %-6.6s%.0d%7s %5.2f%% %5.2f%% %.*s" |