domlist Command

Purpose

Displays domain information for a user or process.

Syntax

domlist -p pid

Description

The domlist command provides domain information to the invoker about their current assigned domains. If no flags or arguments are specified, the domlist command displays the list of domains assigned to the invoker with the text description of each domain if one is provided in the domains database.

The domlist command also allows a privileged user to list the domain information for a process. Specifying a process ID with the -p flag allows a privileged user to display the domains associated with a process.

Flags

Item Description
-p PID Displays domain information of the specified process.

Examples

  1. To display the list of domains that assigned to you and their text descriptions, use the following command:
    domlist
  2. To display the list of domains assigned to a process use the following command:
    domlist -p <pid> 

Files Accessed

Item Description
Files Mode
/etc/security/domains r