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.

View 3 Replies


ADVERTISEMENT

Ubuntu :: When Writing A Script Using Command-line Tools Why Is It More Difficult Using Graphical Tools

Apr 16, 2010

When writing a script using command-line tools why is it more difficult using graphical tools?

View 3 Replies View Related

Networking :: Command Line To Run Tools For Wireless In Ubuntu?

Jan 17, 2011

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?

View 2 Replies View Related

Ubuntu Networking :: Install Wireless-tools From A Command Line Installation?

Jan 7, 2010

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...

View 1 Replies View Related

General :: Use The File-manipulation Tools For The Command Line?

Jan 24, 2010

find and use the file-manipulation tools for the command line.

View 2 Replies View Related

General :: File-manipulation Tools On The Command Line?

May 14, 2010

How do I find the file-manipulation tools on the command line?

View 5 Replies View Related

General :: Convert A DjVu Document To PDF - Using Only Command Line Tools?

Jan 26, 2010

I've got some documents in DjVu which I'll like convert to PDF. Is there a way to do this using command line OSS tools?

View 2 Replies View Related

Software :: How To Use Command Line Tools

Jun 22, 2011

Tesseract is a command line ocr tool and I can't find any documents on how to use it.

View 2 Replies View Related

Red Hat :: Queries On RHCS Command Line Tools?

Jan 18, 2010

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?

View 2 Replies View Related

Ubuntu :: Using File Manipulation Tools On The Command Line?

Apr 23, 2010

i need a good lesson in using file manipulation tools on the command line

View 2 Replies View Related

Ubuntu :: Find And Use File Manipulation Tools On The Command Line?

May 14, 2010

How do you find and use file manipulation tools on the command line?

View 1 Replies View Related

Ubuntu Multimedia :: Getting Any Command Line Audio Editing Tools?

Nov 15, 2010

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).

View 2 Replies View Related

Ubuntu :: Any Command Line Tools That Can Tell What Process Is Using Ethernet Port?

Jul 14, 2011

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?

View 7 Replies View Related

Software :: Command Line Tools To Convert HTML To Images Without A GUI?

Mar 13, 2009

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?

View 4 Replies View Related

Ubuntu :: Convert An RSS Format File To HTML Using Command Line Tools?

Feb 14, 2010

I'd like to find a way of

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.

View 7 Replies View Related

Software :: Look For Free And Well Known Fax Command Line Tools For Receiving And Sending Faxes?

Apr 19, 2011

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.

View 11 Replies View Related

Ubuntu Servers :: Install Package Wireless-tools From Usb Using Command Line In An Offline Computer?

Mar 16, 2011

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.

View 3 Replies View Related

Ubuntu :: Low Latency And Realtime Kernels Boot To A Command Prompt?

Oct 12, 2010

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.

View 1 Replies View Related

General :: Wireless Networking - Install Broadcom Wi-Fi On Arch In Command Line Mode?

Jan 18, 2011

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.

View 1 Replies View Related

General :: Command Line Way To View A Line Of A File With Context?

Feb 24, 2011

I'd like show a certain line or lines of a file with context, kind of like a unified diff, on the command line in Linux:

$ (something) -l 154 stuff.py
150: def foo(bar):
151: """

[code]....

View 5 Replies View Related

General :: Printing Command Line History Without Line Numbers?

Aug 22, 2011

How can I print Linux command line history without including the line numbers? I want to send it all to a text file like this:history >> history.txt

View 1 Replies View Related

Fedora :: Run Python3 Scripts From Command Line And Call Up Python 2.6.2 Idle With The Command Idle From Command Line?

May 29, 2010

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?

View 5 Replies View Related

General :: Ubuntu 10.10 And Command Line Scripts - Error - Android: Command Not Found

Mar 26, 2011

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,

My system:

Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2

View 5 Replies View Related

General :: Access The Dbxml From The Command Line And It Returns Command Not Found?

Apr 30, 2011

I installed the Berkeley DB on the Ubuntu server and tried to access the dbxml from the command line and it returns command not found

path/to/dir/dbxml-2.5.16/install/bin$dbxml
-bash" dbxml: command not found

Can someone point me in the right direction

View 1 Replies View Related

Ubuntu Networking :: Long Latency On LAN Between 10.14 LTS Servers

Jun 8, 2011

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).

View 3 Replies View Related

General :: Write <Esc> In The Vim Command Line (:vim Command)?

Jun 24, 2011

how do you write the ASCII character #27 in the vim command line?

View 6 Replies View Related

Ubuntu Networking :: Massive Latency/unreachable On Wired Network?

Dec 15, 2010

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.

View 4 Replies View Related

CentOS 5 Networking :: ICMP Ping Latency Grows Over Time

Apr 20, 2011

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.

[Code]...

View 5 Replies View Related

Ubuntu Networking :: Ad-Hoc Works With GUI But Not Command Line

Jul 17, 2010

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.

View 1 Replies View Related

General :: Find Out Latency To RAM Of Machine?

Sep 4, 2010

How do I find out the memory bandwidth/latency to RAM of the machine?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved