summaryrefslogtreecommitdiffstats
path: root/spec/fixtures/uptime/kstat_boot_time
Commit message (Collapse)AuthorAgeFilesLines
* (#5086) Try using kstat before falling back to 'who -b' to determine uptime.Jacob Helwig2011-01-241-0/+1
'who -b' doesn't report the year of the last system boot on (at least) Solaris 10, and OpenSolaris 2009.06. Try using 'kstat -p unix:::boot_time', which reports as seconds since the epoch on these systems before falling back to 'who -b'. Reviewed-by: Paul Berry <paul@puppetlabs.com>