what is role of cfinger in below output of lsof -i

Posted on

what is role of cfinger in below output of lsof -i – A server stack is the collection of software that forms the operational infrastructure on a given machine. In a computing context, a stack is an ordered pile. A server stack is one type of solution stack — an ordered selection of software that makes it possible to complete a particular task. Like in this post about what is role of cfinger in below output of lsof -i was one problem in server stack that need for a solution. Below are some tips in manage your linux server when you find problem about linux, ubuntu, lsof, , .

I would like to understand the output of lsof -i, come with below response

below, it looks like mystance is making outbond connection with 192.168.200.21 however on port section it says cfinger .i.e. 192.168.201.22:cfinger

what is cfinger here ?

commad PID    USER     FD   TYPE     Device    SIZE/OFF  NODE  NAME

java  13376  jmxtrans  28u   IPv4    58123807    0t0     TCP    myinstance:339976->192.168.201.22:cfinger (SYN_SENT)
java  13376  jmxtrans  29U   IPv4    58125689    0t0     TCP    myinstance:339977->192.168.201.22:cfinger (SYN_SENT)

If you run lsof -P it will return port number and not the service as defined in /etc/services.

So Java is running on whatever port cfinger is defined as in /etc/services. You could also just run grep cfinger /etc/services to find out what port it is as well.

Leave a Reply

Your email address will not be published. Required fields are marked *