File nmon.patch of Package nmon
diff -ur nmon-14i.orig/lmon14i.c nmon-14i/lmon14i.c
--- nmon-14i.orig/lmon14i.c 2013-12-03 21:34:51.575826585 +0100
+++ nmon-14i/lmon14i.c 2013-12-03 21:45:32.774359598 +0100
@@ -6091,7 +6091,7 @@
formatstring = " PID %%CPU ResSize Command ";
else if(COLS > 119)
- formatstring = " PID %%CPU Size Res Res Res Res Shared Faults Command";
+ formatstring = " PID %%CPU Size Res Res Res Res Shared Faults Command";
else
formatstring = " PID %%CPU Size Res Res Res Res Shared Faults Command";
CURSE mvwprintw(padtop,1, y, formatstring);
@@ -6099,7 +6099,7 @@
if(show_args == ARGS_ONLY)
formatstring = " Used KB ";
else if(COLS > 119)
- formatstring = " Used KB Set Text Data Lib KB Min Maj";
+ formatstring = " Used KB Set Text Data Lib KB Min Maj";
else
formatstring = " Used KB Set Text Data Lib KB Min Maj ";
CURSE mvwprintw(padtop,2, 1, formatstring);
@@ -6130,7 +6130,7 @@
}
else {
if(COLS > 119)
- formatstring = "%8d %7.1f %7lu %7lu %7lu %7lu %7lu %5lu %6d %6d %-32s";
+ formatstring = "%8d %7.1f %7lu %7lu %7lu %7lu %7lu %7lu %5d %5d %-32s";
else
formatstring = "%7d %5.1f %5lu %5lu %5lu %5lu %5lu %5lu %4d %4d %-32s";
mvwprintw(padtop,j + 3 - skipped, 1, formatstring,