1833267 Members
3363 Online
110051 Solutions
New Discussion

who's using which NIC

 
Mike Boswell_1
Frequent Advisor

who's using which NIC

I have a NIC that should not have traffic, but it does. I want to determine who's using this NIC so that I may correct their name resolution. Any suggestions on how determine the users? hpux 11.11.

Thanks,
Mikeb
7 REPLIES 7
Pete Randall
Outstanding Contributor

Re: who's using which NIC

How about fuser or, better yet, lsof against the device file?


Pete

Pete
Luk Vandenbussche
Honored Contributor

Re: who's using which NIC

netstat -a gives an overview of all the active network connections
Mike Boswell_1
Frequent Advisor

Re: who's using which NIC

I knew it was straigh forward. Thanks,
Mike

netstat -an | grep 172.18.1.73 | awk '{print $5}' | sort -u
Mike Boswell_1
Frequent Advisor

Re: who's using which NIC

Thanks
rick jones
Honored Contributor

Re: who's using which NIC

Just an idle question - if a NIC should not have traffic, why was it plumbed with an IP address?
there is no rest for the wicked yet the virtuous have no pillows
Mike Boswell_1
Frequent Advisor

Re: who's using which NIC

Rick,

This is an old NIC that was never unplugged when we went to APA w/ 2 1000Base-T and it still shows activity. Can't unplug until the other hosts get their DNS resolved.

Mike
A. Clay Stephenson
Acclaimed Contributor

Re: who's using which NIC

No, who's on first.
If it ain't broke, I can fix that.