summaryrefslogtreecommitdiffstats
path: root/contrib/top/machine.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/top/machine.h')
-rw-r--r--contrib/top/machine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/top/machine.h b/contrib/top/machine.h
index 4f121a7..243ba27 100644
--- a/contrib/top/machine.h
+++ b/contrib/top/machine.h
@@ -12,6 +12,7 @@ struct statics
char **procstate_names;
char **cpustate_names;
char **memory_names;
+ char **swap_names;
#ifdef ORDER
char **order_names;
#endif
@@ -30,6 +31,7 @@ struct system_info
int *procstates;
int *cpustates;
int *memory;
+ int *swap;
};
/* cpu_states is an array of percentages * 10. For example,
OpenPOWER on IntegriCloud