Revert "Revert "New API to retrieve disk stats in Linux""
This reverts commit 7e214414bf.
This commit is contained in:
committed by
Robert Roth
parent
68b5269607
commit
a067db0569
@@ -64,6 +64,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.
|
||||
|
||||
Reference in New Issue
Block a user