Commit Graph

9 Commits (23dfe986213d242ba4f6b4ba9f70e9fa5ceac364)

Author SHA1 Message Date
shirou 145dca90f7 change to use CommandContext. 7 years ago
shirou ebe614f6e1 [solaris] host: add PlatformInformation() which is missing. 7 years ago
shirou 4c73494c78 Add WithContext functions. 7 years ago
WAKAYAMA Shirou 114c78c777 [host]: add not implemented methods. 8 years ago
Sean Chittenden 42a72cbfae
Add HostID support to the `solaris` build target. 8 years ago
WAKAYAMA Shirou dfbb3e40da fix build bugs. 8 years ago
Eric Gourlaouen 8b08ca5fdc added temperatures 8 years ago
WAKAYAMA Shirou f8ef680a47 error strings change to lowercase 8 years ago
James Nugent 408005be94 host: Add Solaris support for Info, {Boot,Up}time
This commit adds support for Info(), BootTime() and Uptime() in package
Host. It uses no cgo, preferring to parse the output of `kstat -p`
instead.

Thanks go to @gfrey for the parsing logic for `/etc/release` and `uname`.
8 years ago