top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

How do i get Ethernet port details like speed/link up-down without using lspci/ethtool

+2 votes
57 views
How do i get Ethernet port details like speed/link up-down without using lspci/ethtool
posted Jan 4, 2017 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

0 votes
answer Jan 5, 2017 by Harshita
0 votes

Just explaining what Harshita has pointed out -

# ethtool eth0
Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Full 
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Full 
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: d
        Current message level: 0x00000037 (55)
        Link detected: yes
answer Jan 5, 2017 by Salil Agrawal
Similar Questions
+3 votes

I was running a binary and in between network went down. Process was still running with its parent "1".
I re-logged into the system and find the running process and trigger $ kill -9 . After doing that I was trying to rerun the binary but it was not working with error message "Port is already being used" but I again checked there was no binary with such name. How I can resolve such issue ? Please help me .

+1 vote

I have a RHEL server with several application on it and I am attempting to figure out which one of them is making calls to an external web service. I have TCP dumps that show the calls being made and through various tools I am able to determine what ephemeral port is making those calls. However, I am unable to figure out how to map that ephemeral port to a pid.

Is there any way to map an in-use ephemeral port to a pid or some other indicator as to what file is making the call?

+6 votes

I have following requirement -
1. A graceful shutdown should run my stop script.
2. On boot I should able to start a program i.e. via script.
3. There should be a way to start and stop the program via script.

Any pointers.

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...