HP-UX Reference (11i v2 07/12) - 1 User Commands A-M (vol 1)

i
id(1) id(1)
To display the group name for the current process:
id -gn
produces:
users
To display the user and group data for another user:
id ralford
produces:
uid=329(ralford) gid=20(users)
To display the PRM group ID for the current process:
id -P
produces:
uid=329(ralford) gid=20(users) prmid=1(OTHERS)
DEPENDENCIES
HP Process Resource Manager
The -P option requires that the optional HP Process Resource Manager (PRM) software be installed and
configured. See prmconfig(1) for a description of how to configure HP PRM, and prmconf(4) for the
definition of the process resource group.
AUTHOR
id was developed by HP and AT&T.
SEE ALSO
groups(1), logname(1), getuid(2).
HP Process Resource Manager: prmconfig(1), prmconf(4) in HP Process Resource Manager User’s Guide.
STANDARDS CONFORMANCE
id: SVID2, SVID3, XPG2, XPG3, XPG4, POSIX.2
424 Hewlett-Packard Company 2 HP-UX 11i Version 2: December 2007 Update