Recently quite some of our IBM Böblingen lab L2 and L3 support DataPower boxes where reinited, and stuff was cleaned up.
I wanted to know on which appliance coproc2gatewayscript service was installed, and that listens on port 2227.
Below small bash script avoid having to login to each box and inspect services installed.
Nothing great, but maybe helpful for you as well:
$ svc 2227
$ cat ~/bin/svc
for dp in elrond balrog gandalf bilbo mordor sauron isildur gorgoroth dp3-l3 dp2-l3
res=`nmap -p $1 $dp.boeblingen.de.ibm.com | grep ^$1 | grep open`
if [ "$res" != "" ];