Closed GoogleCodeExporter closed 9 years ago
I figured out a way around this, by hacking up _pssunos.py to get the PID of
the lowest processID either named "sched" for the global zones or "zsched" for
the zones themselves and using that pid to determine the boot time.
I'm a novice python programmer, so this code is probably ugly and someone will
want to rewrite it, but its working for me so it may well work for you.
Original comment by manch...@gmail.com
on 10 Sep 2013 at 6:19
Attachments:
Sorry, I kind of forgot about this issue.
Note to self:
http://stackoverflow.com/questions/1661006/getting-the-uptime-of-a-sunos-unix-bo
x-in-seconds-only
I'll try to take a look at this later.
Original comment by g.rodola
on 22 Nov 2013 at 9:44
This is now fixed in revision dab1ed90f8d5.
Original comment by g.rodola
on 25 Nov 2013 at 6:39
Closing.
Original comment by g.rodola
on 26 Nov 2013 at 8:52
Original comment by g.rodola
on 26 Nov 2013 at 8:52
Original issue reported on code.google.com by
manch...@gmail.com
on 9 Sep 2013 at 3:19