summaryrefslogtreecommitdiff
path: root/sysdeps/common/default.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/common/default.c')
-rw-r--r--sysdeps/common/default.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysdeps/common/default.c b/sysdeps/common/default.c
index e3b096f2..c20f2938 100644
--- a/sysdeps/common/default.c
+++ b/sysdeps/common/default.c
@@ -65,6 +65,20 @@ glibtop_get_cpu(glibtop_cpu *buf)
/**
+ * glibtop_get_disk:
+ * @buf: A location to return the disk usage.
+ *
+ * Get the DISK usage.
+ *
+ */
+void
+glibtop_get_cpu(glibtop_cpu *buf)
+{
+ glibtop_get_cpu_l(glibtop_global_server, buf);
+}
+
+
+/**
* glibtop_get_fsusage:
* @buf: A location to return the file system usage.
* @mount_dir: mount dir where to get the information of usage.