You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gopsutil/host
Robin Burchell 3fc7bc1ef7 host_linux: Skip everything that isn't a normal process.
host_darwin does the same filtering. Not doing this gives us some rather strange
entries that likely aren't what we want.

Before:
    {"user":"reboot","terminal":"~","host":"3.10.0-327.4.5.el7.x86_64","started":1454378260}
    {"user":"LOGIN","terminal":"ttyS0","host":"","started":1454378270}
    {"user":"LOGIN","terminal":"tty1","host":"","started":1454378270}
    {"user":"runlevel","terminal":"~","host":"3.10.0-327.4.5.el7.x86_64","started":1454378276}
    {"user":"root","terminal":"pts/0","host":"vpn","started":1454404513}

After:
    {"user":"root","terminal":"pts/0","host":"vpn","started":1454404513}
10 years ago
..
host.go Fix HostInfo.Uptime, which has been returning boot time 10 years ago
host_darwin.go Fix HostInfo.Uptime, which has been returning boot time 10 years ago
host_darwin_amd64.go host: Users() on darwin works. but Started is not correct. 11 years ago
host_freebsd.go host[freebsd]: BREAKING CHANGE. Boottime() should return uint64 same as other. 10 years ago
host_freebsd_amd64.go host[freebsd]: change to use utmpx for 9.0 or later. 10 years ago
host_linux.go host_linux: Skip everything that isn't a normal process. 10 years ago
host_linux_386.go common: rename package common to internal/common. Add ENV helper funcs. 10 years ago
host_linux_amd64.go host linux now use godefs. 11 years ago
host_linux_arm.go host[linux]: fix utmp struct on arm. 10 years ago
host_linux_test.go change package name. 11 years ago
host_test.go host[all]: fix #114 String() issue. 10 years ago
host_windows.go Fix HostInfo.Uptime, which has been returning boot time 10 years ago
types_darwin.go host: Users() on darwin works. but Started is not correct. 11 years ago
types_freebsd.go host[freebsd]: change to use utmpx for 9.0 or later. 10 years ago
types_linux.go host linux now use godefs. 11 years ago