For SMP, add a space between the state name and the CPU#.

Everything following bumps right 1 character.
This commit is contained in:
Steve Passe 1997-10-05 21:20:56 +00:00
parent ff0894cf3c
commit cb52d9ccc5

View File

@ -17,7 +17,7 @@
* Steven Wallace <swallace@freebsd.org>
* Wolfram Schneider <wosch@FreeBSD.org>
*
* $Id: machine.c,v 1.6 1997/08/27 03:48:25 peter Exp $
* $Id: machine.c,v 1.7 1997/09/28 00:59:04 peter Exp $
*/
@ -125,10 +125,10 @@ 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 %3d%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";