Below are some commands to find processes related to zones.
ps -efZ - Display all processes along with the corresponding zone name
ps –fz my-zone1 - Display all process associated with a zone
Resource management for a running zone
To set the swap memory to 600MB
prctl -n zone.max-swap -v 600m -t privileged -r -e deny -i zone zone1
To set the physical memory to 500MB
rcapadm -z my-zone1 -m 600m
Where zone1 is the zone name.
No comments:
Post a Comment