Commit Graph

16 Commits (944429d99464af850d4e63442577eb1b1e5c143f)

Author SHA1 Message Date
Shirou WAKAYAMA ea152ea901 [BREAKING CHANGE] rename functions to pass golint. ex) net.NetIOCounters -> net.IOCounters 9 years ago
Shirou WAKAYAMA 7288e9a5af common[all]: add internal 10 years ago
Ben Aldrich a4ec4177a6 Fix cpu percent on windows
Tested on windows 7:

When divided by 100 you get cpu percentage of  %0.14 when task manager shows %14. Once this is removed they match.
10 years ago
WAKAYAMA Shirou 4696985e84 cpu[windows]: skip if could not get cpu.LoadPercentage. 10 years ago
mayowa 6fa0704dbf fixed: ProcessorId doesnt return a value 10 years ago
mayowa 7889ce3e03 changed ProccessorId type to *string, cause wmi sometimes returns nil for it 10 years ago
mayowa 6a2bc5afe8 removed l2CacheSize as its not present in all wmi databases 10 years ago
WAKAYAMA shirou 64357f04e7 use StackExchange/wmi instead of invoking wmic process.
Note: This may not work on some old Windows XP.
10 years ago
WAKAYAMA Shirou 5f8b99aa65 windows: GetWmic returns [][]string where string split by "," 10 years ago
Shirou WAKAYAMA 170390c0df cpu: fix build option on unix. 10 years ago
WAKAYAMA Shirou ead8393137 cpu: use wmic to get CPU usage on Windows. 10 years ago
WAKAYAMA Shirou 4694ce0e4d cpu: use wmic to get CPUInfo on Windows 10 years ago
Shirou WAKAYAMA 4b5bf22b88 change CPUTimes type from float32 to float64 to resolve precision issue. 10 years ago
Shirou WAKAYAMA 13cd195a7e change package name. 10 years ago
WAKAYAMA Shirou 9f2c985a28 fix windows build. 10 years ago
Shirou WAKAYAMA a4671fcc2a move subdirectories. refer to issue #24 10 years ago