summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorJames Dominic P. Guana <guana.histark@gmail.com>2020-05-23 08:26:34 +0800
committerRobert Roth <robert.roth.off@gmail.com>2020-11-04 13:38:03 +0000
commit9e62440b314fbf87bbeca865a4223311314c52a3 (patch)
treea2d4e2598e52ba8863182d76515caaed1dce65ab /lib/command.c
parentd49e17039e5ba43ab22e284b9764842011909984 (diff)
downloadlibgtop-9e62440b314fbf87bbeca865a4223311314c52a3.tar.gz
New API to retrieve disk stats in Linux
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c
index b6ccf1f2..cf2270e0 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -43,6 +43,7 @@ glibtop_call_l (glibtop *server, unsigned command, size_t send_size,
CHECK_CMND(GLIBTOP_CMND_QUIT);
CHECK_CMND(GLIBTOP_CMND_SYSDEPS);
CHECK_CMND(GLIBTOP_CMND_CPU);
+ CHECK_CMND(GLIBTOP_CMND_DISK);
CHECK_CMND(GLIBTOP_CMND_MEM);
CHECK_CMND(GLIBTOP_CMND_SWAP);
CHECK_CMND(GLIBTOP_CMND_UPTIME);