summaryrefslogtreecommitdiffstats
path: root/layout.h
diff options
context:
space:
mode:
authorMichael Paquier <mpaquier@vmware.com>2013-06-09 23:36:25 -0700
committerMark Wong <markwkm@gmail.com>2013-06-10 20:15:39 -0700
commit64a83a341c4d512b795b858f293763c8493622bb (patch)
treef1a8aabaea6238b16d1529cbad83b219c8a4d489 /layout.h
parent81be58eb547b0e14f06ec232d93554e502d40535 (diff)
monitor the disk space of the server
We first query server to get PGDATA, then use statfs (on Linux) to get some disk space information. Similar to the I/O case, a new generic API for machine/m_* files has been added, and now only Linux is supported.
Diffstat (limited to 'layout.h')
-rw-r--r--layout.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/layout.h b/layout.h
index b0633de..e753bdf 100644
--- a/layout.h
+++ b/layout.h
@@ -33,13 +33,15 @@
#define Y_DB 4
#define X_IO 0
#define Y_IO 5
+#define X_DISK 0
+#define Y_DISK 6
#define X_SWAP 6
-#define Y_SWAP 6
-#define Y_MESSAGE 6
+#define Y_SWAP 7
+#define Y_MESSAGE 7
#define X_HEADER 0
-#define Y_HEADER 7
+#define Y_HEADER 8
#define X_IDLECURSOR 0
-#define Y_IDLECURSOR 6
-#define Y_PROCS 8
+#define Y_IDLECURSOR 7
+#define Y_PROCS 9
#endif /* _LAYOUT_H_ */