Commit Graph

17 Commits (59094cd5b7d13a0165f0a935bb4a83d4ff99d206)

Author SHA1 Message Date
Sean Chittenden fcd296ea11
Merge branch 'master' of github.com:shirou/gopsutil
Sean Chittenden 69f7f8eaeb
Update host.Info() to return the number of processes on all platforms.
Fixes: #227
WAKAYAMA Shirou 53406b2832 [host]Windows: BootTime and Uptime are reversed on Windows.
Shirou WAKAYAMA ea152ea901 [BREAKING CHANGE] rename functions to pass golint. ex) net.NetIOCounters -> net.IOCounters
Cameron Sparr 444ee723c3 Fix HostInfo.Uptime, which has been returning boot time
Also adding a HostInfo.BootTime field for holding the boot time
Shirou WAKAYAMA 7288e9a5af common[all]: add internal
Jonathan Chauncey 0461c50666 chore(*): Fixes #94
Added the ability to fetch an alternative location for /proc via an
environment variable. If the env var is not set it will return /proc as
the default value.
Nick Galbreath 99d93f93b2 shirou/gopsutil#90 make hostinfo more robust
mayowa bf16d0a6a7 modified PlatformVersion and PlatformFamily string to (somewhat) match the output from sysinfo
mayowa ee43e655c2 implemented GetPlatformInfo and refactored HostInfo() to use it
mayowa 56d70ecc5e implemented HostStatInfo.Platform* for windows
WAKAYAMA shirou 64357f04e7 use StackExchange/wmi instead of invoking wmic process.
Note: This may not work on some old Windows XP.
WAKAYAMA Shirou 5f8b99aa65 windows: GetWmic returns [][]string where string split by ","
WAKAYAMA Shirou 4b0f5a03dc host: use wmic OS instead of calling GetTickCount on Windows.
Shirou WAKAYAMA 13cd195a7e change package name.
WAKAYAMA Shirou 9f2c985a28 fix windows build.
Shirou WAKAYAMA a4671fcc2a move subdirectories. refer to issue #24