Documentation ¶
Overview ¶
Package system implements the system metrics collector, which is based on Linux cgroups.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDiskDeviceMapping ¶
GetDiskDeviceMapping scrapes /proc/diskstats to build a mapping from "major:minor" device numbers to device name. It is cached for 1 minute Format: 7 0 loop0 0 0 0 0 0 0 0 0 0 0 0 7 1 loop1 0 0 0 0 0 0 0 0 0 0 0 8 0 sda 24398 2788 1317975 40488 25201 46267 1584744 142336 0 22352 182660 8 1 sda1 24232 2788 1312025 40376 25201 46267 1584744 142336 0 22320 182552 8 16 sdb 189 0 4063 220 0 0 0 0 0 112 204
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.