|
|
HP-UX Reference > Ggetrules(1M)HP-UX 11i Version 2: December 2007 Update |
|
NAMEgetrules — display compartment rules SYNOPSISgetrules [-f] [-i] [-n] [-p|-P] [compartment_name]... getrules -l network_interface_name[...] DESCRIPTIONgetrules displays rules defined for compartment(s) or network interface(s). This command can only be used when compartmentalization is enabled (see cmpt_tune(1M)). If no options are specified, all subsystem rules for the given compartment are displayed. If no compartment_name is specified, information on all compartments is displayed. Optionsgetrules recognizes the following options:
If the -l option is used, you must specify a network_interface_name. Operandsgetrules recognizes the following operands:
For compartment_name or network_interface_name, you can specify multiple instances separated by spaces. NotesThe getrules command is provided for diagnostic purposes, and as such the output of the command may change. Some rules can be expressed in multiple forms. For instance, compartment A specifying that it can send a signal to compartment B is the same as compartment B specifying that it can receive signals from compartment A. As this command displays the rules only once, it can be misleading to interpret the output. RETURN VALUEgetrules returns the following values:
|
|