This API checks if the process is part of the container in which resource is managed. The API VCSAG_BLD_PSCOMM should be used for building the ps command while finding process name.
Note: |
This API is not supported for Linux Docker containers. It is applicable only for Perl-based usage and for Solaris Zone, Project, and AIX WPAR. |
Input:
$psout - Process entry from the output of ps command as generated by API VCSAG_BLD_PSCOMM for the process that needs to be checked.
Usage:
$ret = VCSAG_IS_PROC_IN_CONTAINER($psout);