Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Icinga/icinga2
/ drive
Class
drive
plugins/check_disk.cpp:18–28 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
namespace po = boost::program_options;
17
18
struct drive
19
{
20
std::wstring name;
21
double cap;
22
double free;
23
double used;
24
25
drive(std::wstring p)
26
: name(p)
27
{ }
28
};
29
30
struct printInfoStruct
31
{
Callers
1
check_drives
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected