|
|
NAME
pgrp - Display the process group of a process
SYNOPSIS
pgrp address
pgrp+ address
pgrp_leader address
sess_leader address
DESCRIPTION
The pgrp macro takes one argument, the address of
a process. It is used to display the 'ps' information
of the process group of a process if any. It sets up
the pgrp+ macro which uses the 'nx' macro to display
the next process group.
The pgrp_leader displays the same information as the pgrp macro, but shows information about the leader of the parent group. The sess_leader displays the 'ps' information of a session leader.
Typical output looks like this:
S> pgrp D1255A00 D1214200 02049 02043 00000 03102010 - - - D02FF49C SLP lpNet S> pgrp+ D1255A00 02043 00001 00000 02002010 - - - D02FF49C SLP /usr/lib/lpsched End of list S> pgrp_leader D1255A00 D1255A00 02043 00001 00000 02002010 - - - D02FF49C SLP /usr/lib/lpsched S> sess_leader D1255A00 D1255A00 02043 00001 00000 02002010 - - - D02FF49C SLP /usr/lib/lpsched