summaryrefslogtreecommitdiffstats
path: root/contrib/top/machine.h
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1997-03-23 18:53:01 +0000
committerjoerg <joerg@FreeBSD.org>1997-03-23 18:53:01 +0000
commite571e75266c1a75ac309339c04879886cbd298cf (patch)
treecdf253c6d6aff1974ea3a063441dd6a97ab2b038 /contrib/top/machine.h
parentc1a738a3bedc8182878c8f04311d72237fc15d4b (diff)
downloadFreeBSD-src-e571e75266c1a75ac309339c04879886cbd298cf.zip
FreeBSD-src-e571e75266c1a75ac309339c04879886cbd298cf.tar.gz
Apply the FreeBSD-local patches.
Obtained from: The ports collection.
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