I did see, just found out why it was not working:P
Should done this:
# aptitude install ethtool

thanks :D

--
Bruno Guimarães Sousa
www.ifba.edu.br
PONTONET - DGTI - IFBA
Ciência da Computação UFBA
Registered Linux user #465914


2010/5/25 Akara Sucharitakul <[email protected]>

>  Yes. Do you see nicstat (script) and nicstat.bin? Perhaps the script
> cannot extract the interface speed from your system.
>
> -Akara
>
>
> On 05/25/10 02:56 PM, Bruno Guimarães Sousa wrote:
>
> Tried that :(
>
> *r...@k2:/usr/local/faban/bin/Linux/i386# ./nicstat 1
> nicstat: warning: failed to obtain any interface speeds
>     Time      Int   rKB/s   wKB/s   rPk/s   wPk/s    rAvs    wAvs %Util
> Sat
> 18:54:55       lo    0.00    0.00    0.09    0.09   51.90   51.90  0.00
> 0.00
> 18:54:55     eth0   23.94   66.49   45.17   60.77   542.7  1120.3  0.00
> 0.00
> *
>
> When you say netstat, you mean nicstat right?
>
> --
> Bruno Guimarães Sousa
> www.ifba.edu.br
> PONTONET - DGTI - IFBA
> Ciência da Computação UFBA
> Registered Linux user #465914
>
>
> On Tue, May 25, 2010 at 6:35 PM, Akara Sucharitakul <
> [email protected]> wrote:
>
>> Wow, you're faster than I can respond. If you look into the same directory
>> I pointed you earlier, there should be a netstat.bin binary and a netstat
>> script which obtains the interface speed and calls netstat.bin -s. Let me
>> know if you don't have that. Thanks.
>>
>> -Akara
>>
>>
>> On 05/25/10 02:29 PM, Bruno Guimarães Sousa wrote:
>>
>> Solved.
>> The problem is that nicstat doesn't know interface speed:
>>
>> *"A number of people have commented to me that nicstat always reports
>> "0.00" for %Util on Linux. The reason for this is that there is no simple
>> way an unprivileged user can get the speed of an interface in Linux (quite
>> happy for someone to prove me wrong on that however). Recently I got an
>> offer of a patch from David Stone, to add an option to nicstat that tells it
>> what the speed of an interface is. Pretty reasonable idea, so I have added
>> it to the Linux version. You will see this new "-S" option explained if you
>> use nicstat's "-h" (help) option. I have made another change which makes
>> nicstat more portable, hence easier to build on Linux."*
>>     from http://blogs.sun.com/timc/entry/nicstat_the_solaris_and_linux
>>
>> thanks Akara!
>>
>> regards,
>> --
>> Bruno Guimarães Sousa
>> www.ifba.edu.br
>> PONTONET - DGTI - IFBA
>> Ciência da Computação UFBA
>> Registered Linux user #465914
>>
>>
>> 2010/5/25 Bruno Guimarães Sousa <[email protected]>
>>
>>> I sad that i use 64 bit system to explain the use of "aptitude install
>>> libc6-dev-i386" :)
>>>
>>> Is that a way to use other parameters than %Utilization? Is is always
>>> displaying 0%, i think maybe because it is a gigabit interface:
>>> *    Time      Int   rKB/s   wKB/s   rPk/s   wPk/s    rAvs    wAvs
>>> %Util    Sat
>>> 17:54:40       lo    0.00    0.00    0.00    0.00    0.00    0.00  0.00
>>> 0.00
>>> 17:54:40     eth0   399.0 15673.8  5656.4 10985.8   72.24  1461.0  0.00
>>> 0.00
>>>     Time      Int   rKB/s   wKB/s   rPk/s   wPk/s    rAvs    wAvs
>>> %Util    Sat
>>> 17:54:41       lo    0.00    0.00    0.00    0.00    0.00    0.00  0.00
>>> 0.00
>>> 17:54:41     eth0   320.2 12525.9  4529.0  8770.8   72.39  1462.4  0.00
>>> 0.00
>>>     Time      Int   rKB/s   wKB/s   rPk/s   wPk/s    rAvs    wAvs
>>> %Util    Sat
>>> 17:54:42       lo    0.00    0.00    0.00    0.00    0.00    0.00  0.00
>>> 0.00
>>> 17:54:42     eth0   428.8 16899.8  6089.4 11830.7   72.10  1462.8  0.00
>>> 0.00
>>>     Time      Int   rKB/s   wKB/s   rPk/s   wPk/s    rAvs    wAvs
>>> %Util    Sat
>>> 17:54:43       lo    0.00    0.00    0.00    0.00    0.00    0.00  0.00
>>> 0.00
>>> 17:54:43     eth0   496.6 19500.2  7040.2 13671.5   72.22  1460.6  0.00
>>> 0.00
>>>     Time      Int   rKB/s   wKB/s   rPk/s   wPk/s    rAvs    wAvs
>>> %Util    Sat
>>> 17:54:44       lo    0.00    0.00    0.00    0.00    0.00    0.00  0.00
>>> 0.00
>>> 17:54:44     eth0   542.9 21339.3  7712.2 14975.4   72.09  1459.2  0.00
>>> 0.00*
>>>
>>>
>>>
>>> --
>>> Bruno Guimarães Sousa
>>> www.ifba.edu.br
>>> PONTONET - DGTI - IFBA
>>> Ciência da Computação UFBA
>>> Registered Linux user #465914
>>>
>>>
>>>  2010/5/25 Akara Sucharitakul <[email protected]>
>>>
>>>  You can just create a directory named x64 under Linux and copy/link
>>>> from the i386 directory. You don't need to rebuild it. Will run in 32bi 
>>>> mode
>>>> on a 64bit system. I have to check whether x64 is the right name but it has
>>>> to match your os.arch system property. Thanks.
>>>>
>>>> -Akara
>>>>
>>>>
>>>> On 05/25/10 01:26 PM, Bruno Guimarães Sousa wrote:
>>>>
>>>> Thanks!
>>>>
>>>> Ops, it was under my nose all the time :)
>>>> Just find out how to build it (i am using a 64 bit system):
>>>> # aptitude install libc6-dev-i386
>>>> # wget 
>>>> http://blogs.sun.com/roller/resource...at-1.22.tar.gz<http://blogs.sun.com/roller/resources/timc/nicstat/nicstat-1.22.tar.gz>
>>>> # tar –xzf nicstat-1.22.tar.gz
>>>> # cd nicstat-1.22
>>>> # mv Makefile.Linux
>>>>  
>>>> <http://www.linuxquestions.org/questions/showthread.php?p=3980925#>Makefile
>>>> # make
>>>> # make install
>>>>
>>>> --
>>>> Bruno Guimarães Sousa
>>>> www.ifba.edu.br
>>>> PONTONET - DGTI - IFBA
>>>> Ciência da Computação UFBA
>>>> Registered Linux user #465914
>>>>
>>>>
>>>> On Tue, May 25, 2010 at 5:08 PM, Akara Sucharitakul <
>>>> [email protected]> wrote:
>>>>
>>>>> Should already be there:
>>>>>
>>>>> $FABAN/bin/Linux/i386/nicstat
>>>>>
>>>>> Let me know if you don't have it. Perhaps need a newer version.
>>>>>
>>>>> -Akara
>>>>>
>>>>>
>>>>> On 05/25/10 11:38 AM, Bruno Guimarães Sousa wrote:
>>>>>
>>>>> Hi,
>>>>> Is there a nicstat equivalent command for Debian systems?
>>>>> netstat doesn't substitute it :(
>>>>>
>>>>> regards,
>>>>> --
>>>>> Bruno Guimarães Sousa
>>>>> www.ifba.edu.br
>>>>> PONTONET - DGTI - IFBA
>>>>> Ciência da Computação UFBA
>>>>> Registered Linux user #465914
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
>
>

Reply via email to