Commit Graph

26 Commits (389d17e8a0537a66b5018882883060f53855c55e)

Author SHA1 Message Date
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 abb4086531 host[freebsd]: change to use utmpx for 9.0 or later.
Shirou WAKAYAMA ba88128af1 host_linux: change some virtualization check StringsContains to StringsHas.`
Shirou WAKAYAMA b5ffc220a6 common: Rename StringContains to StringsContains and add StringsHas.
Shirou WAKAYAMA 3bd9ace228 [linux] fix Host.BootTime(). It was seconds from Booted, not from epoch.
Fabian Ruff 91a97374c4 Add SuSe platform detection
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 ","
Shirou WAKAYAMA 8f05d68a09 host: forget to convert to uint64.
Shirou WAKAYAMA 515398a6f6 host: Boottime return type was wrong on darwin #40
WAKAYAMA Shirou 4b0f5a03dc host: use wmic OS instead of calling GetTickCount on Windows.
若山史郎 f2435bc8de host: skip if utmp.Type is not USERPROCESS (defined in utmpx.h)
若山史郎 a5d366a70c host: Users() on darwin works. but Started is not correct.
rekby 29807862fb + host and process for linux 386
Shirou WAKAYAMA cfb473f810 host linux now use godefs.
WAKAYAMA shirou 64f1a93c00 forget to add.
WAKAYAMA shirou b0c9f81246 host_freebsd now use godefs
Shirou WAKAYAMA 13cd195a7e change package name.
Shirou WAKAYAMA 1cb67eb4c2 merge 039b9defab
Shirou WAKAYAMA 16de570414 merge 039b9defab
WAKAYAMA Shirou 9f2c985a28 fix windows build.
Shirou WAKAYAMA a1c1d7b25f fix on Linux.
WAKAYAMA shirou d11680c773 fix bugs on FreeBSD.
Shirou WAKAYAMA a4671fcc2a move subdirectories. refer to issue #24