diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-04-28 21:24:42 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-04-28 21:24:42 +0000 |
commit | 3cd1555ad86e9f47c021f6a3721e5fccfbabc3d3 (patch) | |
tree | 6bc7b035e31f049fabe5eddfbb96fd896ffce4a0 /usr.bin/top/machine.c | |
parent | ab03666e5b7161904605259d8bba5700ab2b2ce0 (diff) |
extend STATE column to fit > 9 cpus; Aivar Jaakson; PR6131
Diffstat (limited to 'usr.bin/top/machine.c')
-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 dea641c47e1..f2720636a53 100644 --- a/usr.bin/top/machine.c +++ b/usr.bin/top/machine.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machine.c,v 1.63 2007/11/01 19:19:48 otto Exp $ */ +/* $OpenBSD: machine.c,v 1.64 2009/04/28 21:24:41 deraadt Exp $ */ /*- * Copyright (c) 1994 Thorsten Lockert <tholo@sigmasoft.com> @@ -69,13 +69,13 @@ struct handle { * These definitions control the format of the per-process area */ static char header[] = - " PID X PRI NICE SIZE RES STATE WAIT TIME CPU COMMAND"; + " PID X PRI NICE SIZE RES STATE WAIT TIME CPU COMMAND"; /* 0123456 -- field to fill in starts at header+6 */ #define UNAME_START 6 #define Proc_format \ - "%5d %-8.8s %3d %4d %5s %5s %-8s %-7.7s %6s %5.2f%% %s" + "%5d %-8.8s %3d %4d %5s %5s %-9s %-7.7s %6s %5.2f%% %s" /* process state names for the "STATE" column of the display */ /* |