10-26-2013
Easy: shovel data and measure the rate, that is the basic idea. For instance, do a large file transfer and use the time command to get the tie needed from which you can easily compute the transfer rate.
I hope this helps.
bakunin
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Sorry to keep bothering you guys like this with all these boring, related questions. But here's one that should be more readily answerable.
What command or file should i use to get the speed/data rate of a network link? This is the capacity speed for instance 10Mbps or 100 Mbps in the case of the... (2 Replies)
Discussion started by: mint1981
2 Replies
2. UNIX for Advanced & Expert Users
Hello, everyone:
i encounter a problem these days , pls help me ,thanks in advance.
my env:
machine: ES40 A ES40 B
os: true64 Unix 4.0f
note: src.tar 8M network card speed 100M
my problem:
... (3 Replies)
Discussion started by: q30
3 Replies
3. HP-UX
Hello,
can anyone tell me how to change network speed or duplex speed...don't understand the concept why that is imp when the server comes back up to check up on it.
Basically have to make sure that the setting from the orginial speed. (2 Replies)
Discussion started by: catwomen
2 Replies
4. IP Networking
Hi all, one of my Sun Box facing the problem.
The network port i had set to Auto-Negotiated and i had edited the /etc/system/ file in the Sun box as below:
set hme:hme_adv_autoneg_cap=1
set hme:hme_adv_100fdx_cap=0
set hme:hme_adv_100hdx_cap=0
But when i checked the /var/adm/messages/, it... (0 Replies)
Discussion started by: AirWalker83
0 Replies
5. Solaris
I recently learned that Sun Solaris network cards (ce devices) have problems with ndd -get commands. I did some searching and found out about the netstat -k command to show me the link speed. What is the best way to change the link speed (both one time and permanently)?
I am running Solaris 9... (7 Replies)
Discussion started by: hshapiro
7 Replies
6. UNIX for Advanced & Expert Users
Need to make a very fast file existence checker. Passing in 20-50K num of files
In the code below ${file} is a file with a listing of +20,000 files. test_speed is the script. I am commenting out the results of <time test_speed try>.
The normal "test -f" is much much too slow when a system... (2 Replies)
Discussion started by: nullwhat
2 Replies
7. Solaris
i have first server (sun solaris 5.10) for example X(172.x.x.x)
and i have second server (sun solaris 5.10) for example Y(192.x.x.x)
also we have 3 clients PC (windows XP)(172.x.x.x)
the X server connect to Y server and to clients PC
* who to know the network speed between X and Y
* who to... (1 Reply)
Discussion started by: anwar
1 Replies
8. UNIX for Dummies Questions & Answers
After installing PV (Para virtual drivers) drivers I m not able to check the network speed of my Ethernet port.
Please check the output of mii-tool and ethtool.
# mii-tool eth0
SIOCGMIIPHY on 'eth0' failed: Operation not supported
# ethtool eth0
Settings for eth0:
Link... (2 Replies)
Discussion started by: pinga123
2 Replies
9. High Performance Computing
Hey Folks,
Doing simple floating point or integer arithmetic is limited since if another execution core is not busy, the system will (presumably?) assign CPU resources to where they are needed so I could be getting the performance of 2 or more cores theoretically?
Any good reliable way to... (2 Replies)
Discussion started by: Devyn
2 Replies
10. Red Hat
Dear All,
I have an intel NUC running CentOS 7 and physically connected to my Netgear CBVG834G router.
They both have Gigabit Ethernet cards and supposedly a top notch network cable connecting the two devices.
But when I run ethtool the connection is only running at 100Mbit/s
What can I do... (3 Replies)
Discussion started by: freddie50
3 Replies
LEARN ABOUT DEBIAN
sg_get_network_iface_stats
sg_get_network_iface_stats(3) Library Functions Manual sg_get_network_iface_stats(3)
NAME
sg_get_network_iface_stats - get network interface statistics
SYNOPSIS
#include <statgrab.h>
sg_network_iface_stats *sg_get_network_iface_stats(int *entries);
DESCRIPTION
The sg_get_network_iface_stats function takes a pointer to an int, entries, which is filled with the number of network interfaces the
machine has. This is needed to know how many sg_network_iface_stats structures have been returned. A pointer is returned to the first
sg_network_iface_stats.
sg_get_network_iface_stats returns statistics about the network interfaces in the machine. Specifically, it returns the speed of the inter-
face, the duplex state, and whether it is currently up.
RETURN VALUES
The sg_get_network_iface_stats returns a pointer to a structure of type sg_network_iface_stats.
typedef enum{
SG_IFACE_DUPLEX_FULL,
SG_IFACE_DUPLEX_HALF,
SG_IFACE_DUPLEX_UNKNOWN
}sg_iface_duplex;
Note: The SG_IFACE_DUPLEX_UNKNOWN value could mean that duplex hasn't been negotiated yet.
typedef struct{
char *interface_name;
int speed;
sg_iface_duplex duplex;
int up;
}sg_network_iface_stats;
interface_name
The name known to the operating system. (eg. on linux it might be eth0)
speed The speed of the interface, in megabits/sec.
duplex The duplex state the interface is in. See sg_iface_duplex for permitted values.
up Whether the interface is up.
SEE ALSO
statgrab(3)
WEBSITE
http://www.i-scream.org/libstatgrab/
i-scream $Date: 2005/07/13 09:31:53 $ sg_get_network_iface_stats(3)