Commit Graph

15 Commits (1cc18d94d9b5c2a6171c8e3315b368ad80de1af3)

Author SHA1 Message Date
Sean Chittenden 59094cd5b7
Add HostID to the Host InfoStat struct returned from host.Info().
On supported hosts the value returned is a UUID (case preserving
from the value of the underlying OS).

For Linux this is generated once, randomly per boot.  For FreeBSD and
Darwin this is a more durable value that should persist across reboots.
9 years ago
Sean Chittenden fcd296ea11
Merge branch 'master' of github.com:shirou/gopsutil 9 years ago
Sean Chittenden 69f7f8eaeb
Update host.Info() to return the number of processes on all platforms.
Fixes: #227
9 years ago
Shirou WAKAYAMA 57f6aebc7e add Timeout to invoke command and use common.Invoke refs: #201 9 years ago
WAKAYAMA shirou d9e994bec8 [host]freebsd: update freebsd_amd64 9 years ago
Shirou WAKAYAMA d21ed2b40d search path via exec.LookPath before actual invoke. 9 years ago
Shirou WAKAYAMA ea152ea901 [BREAKING CHANGE] rename functions to pass golint. ex) net.NetIOCounters -> net.IOCounters 9 years ago
WAKAYAMA shirou 54a6c186c1 host[freebsd]: BREAKING CHANGE. Boottime() should return uint64 same as other. 10 years ago
Cameron Sparr 444ee723c3 Fix HostInfo.Uptime, which has been returning boot time
Also adding a HostInfo.BootTime field for holding the boot time
10 years ago
Shirou WAKAYAMA 7288e9a5af common[all]: add internal 10 years ago
Nick Galbreath 99d93f93b2 shirou/gopsutil#90 make hostinfo more robust 10 years ago
WAKAYAMA shirou abb4086531 host[freebsd]: change to use utmpx for 9.0 or later. 10 years ago
WAKAYAMA shirou b0c9f81246 host_freebsd now use godefs 11 years ago
Shirou WAKAYAMA 13cd195a7e change package name. 11 years ago
Shirou WAKAYAMA a4671fcc2a move subdirectories. refer to issue #24 11 years ago