I noticed that Solaris 10 (s10 63) has some zones aware utilities, such as prstat. The new zones aware prstat allows a user to see active process statistics for a non-global zone from the main global zone. Meaning...you could have 4-5 different zones on a machine, and from the main machine, you could see process statistics for any of those zones. All you have to do is specify the -z flag and the zonename, i.e.,
prstat -zMyZone -L.
That command will give you prstat info for MyZone, with LWP IDs shown.
Sooo anyways, my point is..if we have zones enabled prstat, why can't we have zones enabled pstack? A zones enabled pstack would allow users to actually look at the internal workings of a process from outside of the zone!
I guess this may only be important to a few people..but I still think it would be extremely useful for peaking into test enviroments and debugging. Any Solaris Zones engineers listening?
prstat -zMyZone -L.
That command will give you prstat info for MyZone, with LWP IDs shown.
Sooo anyways, my point is..if we have zones enabled prstat, why can't we have zones enabled pstack? A zones enabled pstack would allow users to actually look at the internal workings of a process from outside of the zone!
I guess this may only be important to a few people..but I still think it would be extremely useful for peaking into test enviroments and debugging. Any Solaris Zones engineers listening?
