ptsevt Command
Purpose
Manages the notifications of updates to the AIX® system boot image.
Syntax
ptsevt [ -a ] [ -r ] [ host port]
ptsevt -c
Description
The ptsevt utility delivers events, by using the -e option about the boot image updates to which the attestation software known as listeners can subscribe. The optional -u argument can be used to specify the universally unique identifier (UUID) of the collector of the AIX system that is being updated. If the -u argument is not specified, the ptsevt command uses the default value found in the /var/ptsc/uuid file.
Subscribers can be added or removed by using the -a and -r options, respectively. The host can be a symbolic address or an IP or IPv6 number, and the TCP port must be a decimal number.
The -c option is used to clear the subscription list.
Flags
Item | Description |
---|---|
-a | Adds the listener specified by the host and port arguments to the destinations mentioned in the subscriber list. |
-c | Clears the list of subscribers. |
-e | Sends an event notification to all subscribers in the list. |
-r | Removes the listener specified by the host and port arguments from the list of subscribers. |
-u | Specifies the UUID that is sent as part of the notification. By default, the ptsevt command uses the value found in the /var/ptsc/uuid file. |
Files
Item | Description |
---|---|
/var/ptsc/subscribers | The subscribers list. |
/var/ptsc/subscribers.lo ck | The subscribers list lock file. |
/var/ptsc/uuid | The default UUID sent as part of the notification. |