add DiskUsage
This commit is contained in:
parent
fe43d98e10
commit
f58d4e993b
|
@ -72,7 +72,8 @@ my %platforms = (
|
||||||
W => "Win32",
|
W => "Win32",
|
||||||
);
|
);
|
||||||
|
|
||||||
my %has_name_arg = map { $_, 1 } qw(FileSystemUsage FileAttrs DirStat DirUsage
|
my %has_name_arg = map { $_, 1 } qw(FileSystemUsage DiskUsage
|
||||||
|
FileAttrs DirStat DirUsage
|
||||||
NetInterfaceConfig NetInterfaceStat);
|
NetInterfaceConfig NetInterfaceStat);
|
||||||
|
|
||||||
my %proc_no_arg = map { $_, 1 } qw(stat);
|
my %proc_no_arg = map { $_, 1 } qw(stat);
|
||||||
|
@ -761,6 +762,33 @@ our %classes = (
|
||||||
plat => '*'
|
plat => '*'
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
DiskUsage => [
|
||||||
|
{
|
||||||
|
name => 'reads', type => 'Long',
|
||||||
|
desc => 'Number of physical disk reads',
|
||||||
|
plat => 'AFHLSW'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name => 'writes', type => 'Long',
|
||||||
|
desc => 'Number of physical disk writes',
|
||||||
|
plat => 'AFHLSW'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name => 'read_bytes', type => 'Long',
|
||||||
|
desc => 'Number of physical disk bytes read',
|
||||||
|
plat => ''
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name => 'write_bytes', type => 'Long',
|
||||||
|
desc => 'Number of physical disk bytes written',
|
||||||
|
plat => ''
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name => 'queue', type => 'Long',
|
||||||
|
desc => '',
|
||||||
|
plat => ''
|
||||||
|
},
|
||||||
|
],
|
||||||
FileAttrs => [
|
FileAttrs => [
|
||||||
{
|
{
|
||||||
name => 'permissions', type => 'Long',
|
name => 'permissions', type => 'Long',
|
||||||
|
|
Loading…
Reference in New Issue