FEATURE REQUEST: top: add command-line switch to default to View_CPUSUM
I recommend adding a command-line switch to toggle View_CPUSUM to make using top on systems with large numbers of processors simpler and more flexible. This can be accomplished with a patch similar to:
diff --git a/top/top.c b/top/top.c
index 3de6510..510d802 100644
--- a/top/top.c
+++ b/top/top.c
@@ -3690,6 +3690,9 @@ static void parse_args (char **args) {
error_exit(fmtmk(N_fmt(WRONG_switch_fmt)
, cp, Myname, N_txt(USAGE_abbrev_txt)));
continue;
+ case 'I':
+ TOGw(Curwin, View_CPUSUM);
+ break;
case 'b':
Batch = 1;
break;