[SunHELP] ps with Solaris 10 zones
A.Stevens at leedsmet.ac.uk
Wed Aug 24 04:45:55 CDT 2005
Long time reader/first time poster.
We have a SunFire v880 with 32GB RAM and 8 processors. Recently, it was
live upgraded from Solaris 9 (with the latest 9_Recommended.zip) to plain
Solaris 10. If we have one or more additional (non-global) Solaris 10 zones
running, the ps command slows down, but only in the global zone.
The results of `time ps` in the global zone are:
yet, `time ps -z global` from within the global zone:
This shows a remarkable difference between using the -z argument and not
using -z in the global zone. The above timings show no significant change
if one, two, three, four or five zones are running (in addition to the
`time ps` from within another-zone
`time ps -z another-zone` from within another-zone:
This shows not much difference using the -z argument when in a zone.
Obviously you can't do `ps -z global` from within a non-global zone.
Just out of interest, doing `time ps -z another-zone` from within the global
Doing a truss on the ps command shows loads of "Err#2 ENOENT" when it's
looking at the /dev tree (which kind of makes sense since not everything has
something attached). I suspect this is what is slowing it down, as I can't
see anything else in the truss output.
My worry is that the ps command is often used in scripting and may not have
the -z option in it. This could slow down these scripts quite a bit if
running in the global zone.
Has anybody got an ideas? Anybody come across this before? Is it something
Any ideas would be appreciated.
Senior Networked Systems Consultant
Innovation North - Faculty of Information and Technology
Leeds Metropolitan University
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm
More information about the SunHELP