Use the sacadm command to add, list, kill, start, enable, disable, or remove a listen port monitor.
You must be superuser to perform the following procedures.
To add a listen port monitor, type:
# sacadm -a -p tcp -t listen -c /usr/lib/saf/listen -v `nlsadmin -V` -y "le0 ethernet" |
-a |
The add port monitor flag |
-p |
Specifies the pmtag tcp as the port monitor tag |
-t |
Specifies the port monitor type as listen |
-c |
Defines the command string used to start the port monitor |
-v |
Specifies the version number of the port monitor |
-y |
Defines a comment to describe this instance of the port monitor |
To list the status of a listen port monitor, type:
# sacadm -l -p tcp |
-l |
The list port monitor status flag |
-p |
Specifies the pmtag tcp as the port monitor tag |
To kill a listen port monitor, type:
# sacadm -k -p tcp |
-k |
The kill port monitor flag |
-p |
Specifies the pmtag tcp as the port monitor tag |
To start a listen port monitor, type:
# sacadm -s -p tcp |
-s |
The start port monitor flag |
-p |
Specifies the pmtag tcp as the port monitor tag |
To enable a listen port monitor, type:
# sacadm -e -p tcp |
-e |
The enable port monitor flag |
-p |
Specifies the pmtag tcp as the port monitor tag |
To disable a listen port monitor, type:
# sacadm -d -p tcp |
-e |
The disable port monitor flag |
-p |
Specifies the pmtag tcp as the port monitor tag |
To remove a listen port monitor, type:
# sacadm -r -p tcp |
-r |
The remove port monitor flag |
-p |
Specifies the pmtag tcp as the port monitor tag |