Installation guide
Individual processes can be added using process identifiers obtained from
system files or by using a command such as ps. With the ps command, you
can determine the values of PID, PGID and SESS for processes. Using the
following command, you can display the PID for every process running on
the system:
# /sbin/ps aj
USER PID PPID PGID SESS JOBC S TTY TIME COMMAND
wal 5176 5162 5176 2908 1 S ttyp1 0:01.30 -sh (csh)
root 12603 5176 12603 2908 1 R + ttyp1 0:00.05 ps aj
See the ps(1) reference page for more information.
The following identifiers are allowed:
• gid – A group identification number from the /etc/group file. This
number will add all resource users that are assigned that number.
• uid – A user identification number from the /etc/passwd file. This
number will add only the specific resource user to which the UID is
assigned.
• pgrp – A process group identifier from the ps aj command. See the
entries under the PGID table heading
• session – A session identifier from the ps aj command. See the entries
under the SESS table heading
• pid – The process identifier from the ps aj command. See the entries
under the PID table heading.
You will probably use ownership identifiers uid and gid most often in your
established classes, as these identifiers will persist across a reboot or when
class scheduling is stopped and restarted. Individual process identifiers will
not persist across a reboot. You can use the account management tools,
such as dxaccounts or the Accounts option of the
SysMan Menu to list
UIDs and GIDs for users and groups. The identifiers associated with types
pgrp, session, and pid are temporary, and will not exist on reboot, or
when a process terminates.
4.7.5.3 Enabling the Class Scheduler
To enable the class scheduler daemon, you execute the following command:
# class_admin enable
Class scheduling enabled and daemon /usr/sbin/class_daemon started.
To disable the daemon, enter the following command:
Customizing the System Environment 4–33