To remove a service, use the following command: pmadm -r -p pmtag -s svctag
For example, the command pmadm -r -p tcp -s 23 removes service ``23'' from the ``tcp'' listener.