Please sign in to comment.
sunos: use pset_getloadavg instead of getloadavg
If used in a non-global zone, getloadavg() always returns [0, 0, 0]. If pset_getloadavg is used instead, the current processor set is analyzed, which should work in both global and non-global zones.
- Loading branch information...