netstat -anp | grep :2222

میزنم چیزی نمیاره

[root@server ~]# netstat -anp | grep :2222
[root@server ~]#