Re: Which command can display the network speed.

From: Eddie (eps102_at_xs4all.nl)
Date: 08/28/03

  • Next message: Anne: "Re: Perms for crontab file"
    Date: Thu, 28 Aug 2003 17:48:04 +0200
    
    

    Hi,

    You mean bandwidth or link-speed??
    If link-speed, what Unix-flavour? I know, with Sun Solaris you can use:

    /usr/sbin/ndd -set <device class> instance <instance number>
    /usr/sbin/ndd <device class> link_speed
    /usr/sbin/ndd <device class> link_mode

    link_speed will return 0 for 10mbit and 1 for 100mbit
    link_mode will return 0 for half duplex and 1 for full duplex

    Example: if you want the speed for /dev/hme2, you issue:

    /usr/sbin/ndd -set /dev/hme instance 2
    /usr/sbin/ndd /dev/hme link_speed

    Regards,
    Eddie

    "Eric J.Hu" <ehu@lucent.com> wrote in message
    news:3F4D5A96.EF9255CE@lucent.com...
    > Hi,
    >
    > Could some one tell me which command can display the NIC link speed
    between a
    > work station and a server.
    >
    >
    > Thanks,
    > Eric


  • Next message: Anne: "Re: Perms for crontab file"