New file.
1998-07-22 Martin Baulig <martin@home-of-linux.org> * include/glibtop/fsusage.h: New file. * features.def: Added new feature `fsusage'. * sysdeps/common/fsusage.c (glibtop_get_fsusage_s): New function. (get_fs_usage): Declared as `static'. * sysdeps/names/fsusage.c: New file.
This commit is contained in:
committed by
Martin Baulig
parent
a90bffbbf6
commit
954a78f200
@@ -166,6 +166,12 @@ handle_parent_connection (int s)
|
||||
resp->u.data.mountlist.total, mount_list);
|
||||
glibtop_free_r (server, mount_list);
|
||||
break;
|
||||
case GLIBTOP_CMND_FSUSAGE:
|
||||
glibtop_get_fsusage_l
|
||||
(server, &resp->u.data.fsusage, parameter);
|
||||
do_output (s, resp, _offset_data (fsusage),
|
||||
0, NULL);
|
||||
break;
|
||||
default:
|
||||
glibtop_warn ("Parent received unknown command %u",
|
||||
cmnd->command);
|
||||
|
Reference in New Issue
Block a user