1837815 Members
4991 Online
110120 Solutions
New Discussion

netstat -pla = in hp-ux?

 
gOnzO_2
Occasional Advisor

netstat -pla = in hp-ux?

Hello,

I have a cuestion ..

As i see PROCESSES state LISTEN who are using a particular port??

Pd.I use Linux: netstat -pla

Thank you very much!
3 REPLIES 3
Ivan_86
Frequent Advisor

Re: netstat -pla = in hp-ux?

Try with

#netstat -an | grep "LISTEN"

or

#nestat -an | grep yourport

Regards

gOnzO_2
Occasional Advisor

Re: netstat -pla = in hp-ux?

Using the command lsof-i TCP: "port" is the process that uses port concrete.

But I would like to see this same netstat to detect that "the names of process" used to be the port. . .

The question is: that this name process using the port XX?
gOnzO_2
Occasional Advisor

Re: netstat -pla = in hp-ux?

With rpcinfo-p he achieved what he wanted.

Thanks!