General :: Networking - Command Line Tools For Analyzing OS - NIC TCP Latency
Sep 14, 2011
I'm hoping to find an existing Linux tool for measuring latency:
I'm trying to diagnose how much latency my OS and NIC card are adding to TCP latency in Linux. I looked at the following tools but all (at least at the surface level) measured bandwidth (Mbps/sec) rather than latency (nanoseconds for transmition of 1 packet of size x).
If I were to write a custom test, it would likely do the following:
Client:
Create a fake message of the specified length with some padding for an incrementing identifier. Open a TCP connection (with the right parameters like TCP_NODELAY, etc) Loop and send messages containing an incrementing identifier. Store the current system time (in nanos) associated with the identifier. Listen for responses, record the current time and record the latency of that identifier asynchronously Server Listen for a connection Echo back any message received
Assuming both boxes had the same setup (configs, cards, OS, CPU, etc), are relatively close to eachother in the network, and one knows roughly the network's latency contribution, one could get a rough estimate of the OS + NIC contribution and begin testing various configurations.
One could also get a more accurate picture of the latency by using a network sniffer and snooping on the lines between the two hosts, calculating the latency between the two sides for an ID, and then subtracting that from the internally measured latency.
I want to run OpenBox on a netbook. For those of you not familiar, it is a very simple window manager, where I can launch a terminal with a mouse click, and I can start the few apps that I need from the command line. Basically, I am trading eye candy and easy access to a lot of stuff I don't need for a more responsive GUI.
My question is...what package should I install, and what corresponding command line would be used to launch a tool to manage the wireless LAN connection?
I did a command-line installation. I dont have an ethernet connection, only wireless. For some reason the alternate installer doesnt install "wireless-tools" How do i install it? At this point I am thinking of booting off a live USB, downloading the wireless-tolls package from here Save it to a folder in the command line installation where?) then boot back into command line and install from there But I am not that savvy with command lines, and dont know where to install to...
I am using Redhat cluster suite. I am trying to configure cluster on linux using command line tools. I have following queries. Please answer them as early as possible.
1.Can I add node in cluster without adding fence device using command line tool? If yes then how?
2.I want to add failover domain in cluster. How can I add it using command line tool?
3.I want to add resources in cluster. How can I add it using command line tool?
4.I want to define services in cluster. How can I define them using command line tool?
Does anyone know of any good command line audio editing tools? I would like one that can take an mp3 file and crop everything but the first 30 seconds or so (possibly decompressing those 30 seconds as well).
The download bar on my conky overlay (${downspeedgraph eth0}) seems to be maxed out constantly. This is when everything should be idle with no downloads happening in the background (at least non that I know about).Are there any command line tools that can tell me what process is using my ethernet port?
I've spent a lot of time googling on this one, but could not really find anything that would convert HTML to images. Does anyone know if there are some command line tools that can do this? I need to convert simple HTML documents to images to be attached to Powerpoint presentations. Could firefox gecko be tapped into to do this without a GUI?
1) capturing an RDF formatted RSS feed as a file on my computer
2) converting the result to HTML using local command line tools
I've sorted 1) with wget? I've discovered xsltproc but I'm going round in circles. The master plan is to import my pinboard bookmarks into a static web site produced on my linux box using a handful of clever bash scripts.
I am looking for free and well known fax command line tools for receiving and sending faxes I wan it to save receive faxes in pdf format with file name included with caller phone number and date of receive:
Quote: for example: 5566545544-2011-5-11.pdf and any other format that I want.
I installed ubuntu 10.10 server from an usb stick. I do not have access to a wired connection and do not have a CD drive, so now I need to configure the wireless connection.for that I need to have wireless-tools which if i am not wrong are not installed by default so the question is: how can I install the wireless-tools package from an usb using only command line? note: I got internet access from another ubuntu-desktop PC so i can download any package needed, etc.
I just installed Maverick Studio on a new hard drive, and am using an NVIDIA GeForce 7300 LE GPU. If I boot into the 2.6.35-22-generic kernel, everything runs fine, but if I try to boot into either the 2.6.35-20-Low Latency, or 2.6.33-29-Realtime kernels (installed from Synaptic), the computer boots straight to a command prompt instead of the desktop. Does anybody know what causes this? I need to be able to use one of these kernels for doing music production.
How do I install Broadcom Wi-Fi on Arch Linux in command line mode on an Acer eMachines EM350?
I assume that Broadcom STA should be the driver used and my USB key the way to install it with the help of another PC, assuming that I can't use a RJ45 ethernet connection on LAN.
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...
I just installed the JDK, SDK, Eclipse successfully (or I assume):
* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).
** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,
we are setuping high-performance web farm with 4 ubuntu servers (all 10.14 LTS 64bit, i5Core CPU, 16GB Ram). One server is "database" server with mysql installed, three servers are "webservers" with tomcat installed. All three webservers have public IP and are connected directly to internet by eth0 (onboard network card) and are connected to switch that is connected to database server by eth1 (pci network card). All servers has stardard instalation with no special modules/programes installed.
Web servers are already under load, but only on about 10 requests/minute. After several hours in production, strange thing happened - one of the web servers (each time another one, so it is happening to all of them but not at once) starts to have pings to database (that is connected directly on LAN) = 100ms (other two servers still has like 0,02ms). Pings stay high until we do /etc/init.d/networking restart, after that it is fixed and pins are again low again. Another strange think is, that when we let ping running for some time, it is slowly dropping from 100ms to 1 ms and then again jumps to 100ms (exactly to 100ms always) and again starts dropping - so it is cycling over and over again (one cycle takes about 2 minutes).
We were trying reconfigure network, play with switch (the same situation was happening even without switch when there was only one webserver and one database server directly connected), disable IPv6 but nothing helped. The only thing that we discovered is that it has to be caused by network configuration.Do you have any idea what can cause it? We went through systems logs but found nothing suspicious (at least according to our understanding).
I'm experiencing massive latency/unreachable problems on my Linux machine. It's true for all network connections, here's an example of me trying to ping my router:
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data. 64 bytes from 192.168.0.1: icmp_req=1 ttl=64 time=15115 ms 64 bytes from 192.168.0.1: icmp_req=2 ttl=64 time=14107 ms 64 bytes from 192.168.0.1: icmp_req=3 ttl=64 time=13107 ms 64 bytes from 192.168.0.1: icmp_req=4 ttl=64 time=12107 ms 64 bytes from 192.168.0.1: icmp_req=5 ttl=64 time=11108 ms
[Code]...
I've tried now with both the maverick default kernel and 2.6.37-rc5 kernel (both 64 bit), same result. If I take the card up and down (ifup, ifdown) performance is restored for a little while, then it's back. I've tried changing cable, network card and router port but no luck.
I have a dedicated host on my lan to monitor other hosts/services using Nagios. I'm in the process of migrating to Zabbix on that host to perform the same purpose. Both Nagios and Zabbix monitor icmp ping latency (Nagios uses ping, Zabbix uses fping) and over time the latency to other hosts grows until threshold alarms are triggered. In one week, the average latency grows from sub-millisecond to over 100 milliseconds, and continues to grow until the Nagios host is rebooted. I have verified the latency numbers using ping/fping from the command line on the Nagios host.
The problem is that pings from the monitored hosts to the Nagios host show normal latency at the time the Nagios host is showing high latency from itself to the monitored hosts. The Nagios host and monitored hosts are all connected to the same Dell 24 port gigabit switch. I already posted this question on the Zabbix forums with a graph of the latency but there were no answers. [URL] why the icmp ping latency is growing over time and how I can fix it short of rebooting the host on a schedule.
I have two Roboards that need to communicate with one another. I have sucessfully installed Ubuntu 9.04 using the 386 kernel based on instructions found online.I can use the GUI to set up an Ad-Hoc network using one Roboard ("Create New Wireless Network"), call it Manet, and connect to "Manet" using the GUI on the other Roboard and ping/ssh between the boards. However, when I try to create the same wireless network using the command line using:
ifconfig wlan2 down iwconfig wlan2 key off essid 'Manet' channel 5 ap any ifconfig wlan2 up
I don't see any entry in iwconfig under "Cell". It keeps giving me "Not Associated"When I try to enter the same information on the other Roboard to try to connect to the network, it doesn't connect and under iwconfig, I don't even see any entry for ESSID. Could somebody please tell me why it works when I use the GUI and not the command line.