diff options
author | Robert Roth <robert.roth.off@gmail.com> | 2017-02-12 17:59:08 +0200 |
---|---|---|
committer | Robert Roth <robert.roth.off@gmail.com> | 2017-02-12 17:59:08 +0200 |
commit | dff7c5588e9761224f2811f0ce5792ff93d95e29 (patch) | |
tree | 32a0acb5b1c4c217e4b9de52e1963a1fe9562ab2 /src | |
parent | 1a103bf142856ec129eb124d1dae70ddb3dd02e8 (diff) | |
download | libgtop-dff7c5588e9761224f2811f0ce5792ff93d95e29.tar.gz |
New API to retrieve process io stats, with Linux implementation
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/daemon/main.c b/src/daemon/main.c index 11364229..14868765 100644 --- a/src/daemon/main.c +++ b/src/daemon/main.c @@ -221,6 +221,12 @@ handle_parent_connection (int s) do_output (s, resp, _offset_data (fsusage), 0, NULL); break; + case GLIBTOP_CMND_PROC_DISKIO: + glibtop_get_proc_diskio_l + (server, &resp->u.data.proc_diskio, parameter); + do_output (s, resp, _offset_data (proc_diskio), + 0, NULL); + break; case GLIBTOP_CMND_PPP: memcpy (&device, parameter, sizeof (device)); glibtop_get_ppp_l |