HP-UX Containers (SRP) A.03.01 Administrator's Guide
53
9 Using the srp_ps command
When you run the standard ps command in the global view, it will report all the processes on the
system including all the processes in containers. To report process status for a specific container from
the global view, use the /sbin/srp_ps command. The srp_ps command invokes the ps command
with the provided ps_arguments and filters the ps output for the desired container:
srp_ps [container_name] [ps_arguments]
When you run the srp_ps command in the global view and specify a container_name, srp_ps
prints the process status for the specified container. If you do not supply a container_name, the
srp_ps command prints process status for the global view only, excluding processes from all the
containers. When you run srp_ps within a container, only the process status for the current
container is reported.
To report the process status for a container, login to the global view and enter:
# srp_ps myContainer -eaf
NOTE: Reports from the global view that include processes running in a system container will display
user, group, and command string information in an altered form. See 15.2.1 Displaying system
container user, group, and process names from the global view for more information.
To report process status for the global view, login to the global view and enter:
# srp_ps -ef