summaryrefslogtreecommitdiff
path: root/src/daemon/slave.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/slave.c')
-rw-r--r--src/daemon/slave.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/daemon/slave.c b/src/daemon/slave.c
index 2858ee8a..ea0c674b 100644
--- a/src/daemon/slave.c
+++ b/src/daemon/slave.c
@@ -209,6 +209,14 @@ handle_slave_command (glibtop_command *cmnd, glibtop_response *resp,
resp->offset = _offset_data (proc_time);
break;
#endif
+#if GLIBTOP_SUID_PROC_DISKIO
+ case GLIBTOP_CMND_PROC_DISKIO:
+ memcpy (&pid, parameter, sizeof (pid_t));
+ glibtop_get_proc_diskio_p
+ (server, &resp->u.data.proc_diskio, pid);
+ resp->offset = _offset_data (proc_time);
+ break;
+#endif
#if GLIBTOP_SUID_PROC_SIGNAL
case GLIBTOP_CMND_PROC_SIGNAL:
memcpy (&pid, parameter, sizeof (pid_t));