基本的には以下のコマンドを実行すれば良い。
nmap <hostname or ip address> -p <port number>[-<port number>]
指定した端末の指定ポート(範囲)でリスンしているサービスの情報が得られます。
[root@db2node207 tmp]# nmap 192.168.10.114 -p 1521 Starting nmap V. 3.00 ( www.insecure.org/nmap/ ) Interesting ports on xxx.xxx.xxxx.xxx.com (192.168.10.114): Port State Service 1521/tcp open oracle Nmap run completed -- 1 IP address (1 host up) scanned in 0 seconds