summaryrefslogtreecommitdiffstats
path: root/usr.bin/top
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-04-21 13:53:47 +0000
committerache <ache@FreeBSD.org>1997-04-21 13:53:47 +0000
commit271384e50bbdafb56a07356fd164e6cd09eff68e (patch)
tree53d2f6a0880924033be5c60a66c897dd553c991c /usr.bin/top
parent8d94879c4ea32d6827c0516ccf15138fd901992f (diff)
downloadFreeBSD-src-271384e50bbdafb56a07356fd164e6cd09eff68e.zip
FreeBSD-src-271384e50bbdafb56a07356fd164e6cd09eff68e.tar.gz
Long usernames fixes
Diffstat (limited to 'usr.bin/top')
-rw-r--r--usr.bin/top/machine.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c
index ef60aa9..57d3175 100644
--- a/usr.bin/top/machine.c
+++ b/usr.bin/top/machine.c
@@ -17,7 +17,7 @@
* Steven Wallace <swallace@freebsd.org>
* Wolfram Schneider <wosch@FreeBSD.org>
*
- * $Id: machine.c,v 1.1.1.1 1997/03/23 18:55:20 joerg Exp $
+ * $Id: machine.c,v 1.2 1997/04/19 20:28:50 peter Exp $
*/
@@ -122,22 +122,22 @@ static struct nlist nlst[] = {
#ifdef P_IDLEPROC /* FreeBSD SMP kernel */
static char header[] =
- " PID X PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND";
+ " PID X PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND";
/* 0123456 -- field to fill in starts at header+6 */
#define UNAME_START 6
#define Proc_format \
- "%5d %-8.8s%3d%3d%7s %6s %-6.6s%1x%7s %5.2f%% %5.2f%% %.14s"
+ "%5d %-16.16s%3d%3d%7s %6s %-6.6s%1x%7s %5.2f%% %5.2f%% %.6s"
#else /* Standard kernel */
static char header[] =
- " PID X PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND";
+ " PID X PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND";
/* 0123456 -- field to fill in starts at header+6 */
#define UNAME_START 6
#define Proc_format \
- "%5d %-8.8s%3d %3d%7s %6s %-6.6s%7s %5.2f%% %5.2f%% %.14s"
+ "%5d %-16.16s%3d %3d%7s %6s %-6.6s%7s %5.2f%% %5.2f%% %.6s"
#endif
OpenPOWER on IntegriCloud