Syntax
pmsrvinfo [--csv] | -v
Description
Use the pmsrvinfo command to display information about the group in either human readable or CSV format. You can run this program on any server in the policy group.
Options
pmsrvinfo has the following options.
Option | Description |
---|---|
-c | Displays information in .CSV format, instead of human readable output. |
-l |
By using this option, you can detect which client uses which sudo policy on the policy server. This option lists the following client information from the policy server:
This option can be used together with the "-c" option. |
-v |
Displays the Safeguard version number and exits. |
Examples
# pmsrvinfo
Policy Server Configuration:
----------------------------
Safeguard version : 6.0.0 (nnn)
Listening port for pmmasterd daemon : 12345
Comms failover method : random
Comms timeout(in seconds) : 10
Policy type in use : sudo
Group ownership of logs : pmlog
Group ownership of policy repository : pmpolicy
Policy server type : primary
Primary policy server for this group : adminhost1
Group name for this group : adminGroup1
Location of the repository :
file:////var/opt/quest/qpm4u/.qpm4u/.repository/sudo_repos/trunk
Hosts in the group : adminhost1 adminhost2