Commit Graph

1 Commits (4fb1a667c403617c25b5eac0c3dfb9942e4e4f25)

Author SHA1 Message Date
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