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
fG! ab33d5ec89
Fix wrong user count
There are empty entries in OpenBSD's utmp that have a line and time entry but no user logged in (the entry is "cleared" after user logs out but not totally as expected in the code here). Current checks are insufficient so check if Name field is empty and skip in that case.
4 years ago
..
freebsd_headers [freebsd][host]: fix Users() return start secs. 6 years ago
host.go Refactor "host" package 5 years ago
host_bsd.go Refactor "host" package 5 years ago
host_darwin.go Refactor "host" package 5 years ago
host_darwin_386.go Add Go-native structs for Darwin/386 and FreeBSD/arm 8 years ago
host_darwin_amd64.go [BREAKING CHANGE] rename functions to pass golint. ex) net.NetIOCounters -> net.IOCounters 9 years ago
host_darwin_arm64.go [host][process][darwin] Go-fmt code from mktypes.sh from #917 5 years ago
host_darwin_cgo.go Refactor "host" package 5 years ago
host_darwin_nocgo.go Refactor "host" package 5 years ago
host_fallback.go Refactor "host" package 5 years ago
host_freebsd.go Refactor "host" package 5 years ago
host_freebsd_386.go [freebsd]host: change freebsd struct for 386 and arm. 6 years ago
host_freebsd_amd64.go [freebsd][host]: fix Users() return start secs. 6 years ago
host_freebsd_arm.go [freebsd]host: change freebsd struct for 386 and arm. 6 years ago
host_freebsd_arm64.go Add support for freebsd/arm64 6 years ago
host_linux.go [host][linux] Change to use unix.SysInfo_t to get Uptime in Linux 5 years ago
host_linux_386.go [host]linux: forgot to add sizeOfUtmp. 9 years ago
host_linux_amd64.go [host]linux: fix i386 and gofmt. 9 years ago
host_linux_arm.go [host]linux: fix i386 and gofmt. 9 years ago
host_linux_arm64.go Add type definitions for arm64 and ppc64le 9 years ago
host_linux_mips.go Add type definitions for mips and mipsle 8 years ago
host_linux_mips64.go [host]linux/mips: copy mips64 definition from mips. 7 years ago
host_linux_mips64le.go [host] linux/mips: mips64le definition from mipsle 7 years ago
host_linux_mipsle.go Add type definitions for mips and mipsle 8 years ago
host_linux_ppc64le.go [host]Windows: BootTime and Uptime are reversed on Windows. 9 years ago
host_linux_riscv64.go host: add support for linux/riscv64 5 years ago
host_linux_s390x.go add platform compatibility 8 years ago
host_linux_test.go change package name. 11 years ago
host_openbsd.go Fix wrong user count 4 years ago
host_openbsd_386.go [host][mem][process][openbsd] Add 386 const and types definitions 5 years ago
host_openbsd_amd64.go run go fmt ./... 8 years ago
host_posix.go Refactor "host" package 5 years ago
host_solaris.go Refactor "host" package 5 years ago
host_test.go fix test and openbsd errors. 5 years ago
host_windows.go Refactor "host" package 5 years ago
smc_darwin.c [host][darwin][cgo] Fix #832 work around once-again broken go modules not including C files 5 years ago
smc_darwin.h [host][darwin][cgo] Fix #832 work around once-again broken go modules not including C files 5 years ago
types.go [host] go-fmt and propagate context on Windows in Info() 6 years ago
types_darwin.go host: Users() on darwin works. but Started is not correct. 10 years ago
types_freebsd.go [freebsd][host]: fix Users() return start secs. 6 years ago
types_linux.go [host]linux-arm: update type_liux.go. Test will fail. 9 years ago
types_openbsd.go run go fmt ./... 8 years ago