Monitoring network Latency

I want to write a script using "fping" to monitor my network latency and packet loss. since on the server I am running the script don't have root permission I can't use ICMP the other option I have TCP or UDP depend on available open port on router/switch . my question is there any draw back using TCP or UDP ping in terms of result quality and traffic? I am really appreciate fyour feedback. thanks. paul

TCP and UDP "ping" typically rely on port 7 being open on the target devices.  This is almost never the case these days.  You can enable the UDP and TCP echo services on IOS devices with the command "service {udp|tcp}-small-services" but many consider them a security hole.  What would be best is if you can convince your admin to setuid the fping executable to root (i.e. chmod 4555 fping).  This way fping will be able to open raw sockets to produce ICMP traffic.  You are certainly more likely to have this work than relying on the echo service being available.
Another alternative is to procure a small IOS device and run IP SLA on it.  With IP SLA you can test simple ICMP echo, or use more advanced probes such as TCP, UDP, jitter, HTTP, DHCP, and DNS.

Similar Messages

  • How can i monitor network traffic to debug video playback issues from a NAS?

    I am having problems playing videos on my new Mini that i am using as an HTPC. 
    I have a brand new Mac Mini running Lion with a 2.7 i7 processor and 8GB of RAM with a wired connection to a switch. .
    My switch is a NETGEAR ProSafe GS108T-200NAS set to default settings. I haven't had a chance to start messing with VLAN settings or anything else. There is a bit of a learning curve on my part on this end.
    My NAS is a ReadyNAS Pro (RNDP6000) with 3 x 1 TB hitachi ultrastar (HUA722010CLA330) drives and a 1.5 TB seagate (ST31500341AS) drive setup in RAID config using X-RAID2.
    The problem I am having is video playback when accessing large video files off of the NAS.  These are typically 1080 HD mkv files. 
    I have tested movies as small as 7.5GB with only slight stutters on occasion.  I tried a 10.5GB movie and the stalling was much more pronounced. Movies larger than 11GB are completely unwatchable stalling every minute or so. 
    I have also tried large movies on the local drive and that is not a problem at all - they play back just fine.  Beautiful playback in hidef.  Mind you, some of these are the same files that were stalling over the network.
    I have also noticed that some other network devices get kicked off the network when a movie is playing.
    I think it has something to do with the transfer speed of files over the network and the switch - i am no expert at this mind you.
    I am wondering if there is some sort of utility that i can use to monitor network activity on the mini so that i can fix my problem.  Or has anyone made chages in their switch settings to optimize data trasfer speeds.
    Any advice or recommendations on. 
    Thank you all!

    OK, I did a couple of things and ran things a couple of times. 
    First what I did settings wise:
    I enabled jumbo frames on the Mac Mini, ReadyNAS Pro, and the Netgear GS108T switch.  All with MTU set to 9000.
    I went ahead and enabled jumbo frames on the rest of the computers on the network just in case.
    After these changes I ran into the same problems with videos timing out - very annoying and frustrating as you can imagine.
    Then I started playing with device configurations.  My original configuration was NAS > Netgear switch > Mac Mini. I went ahead and switched the switch to an Airport Extreme I have as my WAP and the setup looked like this - NAS > Airport Extreme > Mac Mini. 
    Well, long story short, no go.  It appears to me that the NAS is the one having issues providing the necessary data at the proper speed.  I also tried playing sopme movies off of the NAS onto a desktop i have and had the same issues - choppy frames and crashing movies.  I even tried connecting wirelessly to see if that would work. 
    BTW, I have the Mac accessing the file system using CIFS. 
    I don't know what else I could do.
    I am going to have to go to the Netgear forums to see if i can figure this out.  Hopefully, I can get things going to be able to help some people out.
    If anyone has any ideas, they would be greatly appreciated.
    My only other alternative is spending $2000 for the thunderbolt capable NAS that Apple sells - it's only money!
    Cesar

  • How to monitor network load

    hi,
    How to monitor network load i.e. bytes sent/recieved.

    what is your operating system?
    refer the links, hope this may helps you.
    http://hoopercharles.wordpress.com/2010/08/19/network-monitoring-experimentations-7/
    http://www.remote-dba.net/t_tuning_monitoring_network.htm
    http://www.activexperts.com/activmonitor/check/database/oracle/

  • Looking for clarification on network latency issue vs drive mapping

    Hi,
    I am seeing this as mystery and not getting crystal clear idea on the reason for the issue. Issue is related to the performance of the application interms of time it is taking in processing the input file.
    I wrote a swing application, which is a client application. Which takes some parameters like server name and iphostaddress and connects to the Process Server which is, responsible for processing client application requests. Client application will communicate with process server through TCP/IP connection and process the input file and returns the decisions back to the user through the output file.
    Below is the scenarios I am using for launching the application:
    1. If both client application and server are running locally in my desktop the time it is taking to process the input file is 2 minutes.
    2. If client is running my application and server is running remotely on wondows server, it's taking 13 minutes to process same input file.
    3. To reduce the time in scenario2, I installed the client appliation also on the remote server ( so that both client and server application are running on the windows server). and mapped the server's share drive to my desktop. And launched the application from my desktop (from U drive, where application is mapped), now it's taking 10 minutes to process the same input file.
    I am struggling in understanding why it's taking that long in scenario 3. Because application is installed locally on the server and input file and output files also copied onto the U drive. Sometimes thinking am I launching the application in the right way or not?
    Can somebody explain me, if we launch the remote java application through drive mapping will there be network latency there eventhough everything is there on the server (U drive)? Here I need to tell one more scenario 4, If loginto the remote windows server and launch the client application time it's taking to process the same input file is about a minute.
    Below are some more details on the issue: I am not encoding the file, I am using third party application, which provides an API to communicate with the process server. Just using the API methods and classes to pass the input file data to server. I have used the 'tracert' command for the remote server and I am seeing 8 hops between my desktop and remote server. I even installed network sniffer tool in my laptop and captured the files when application running.
    The input file has 140000 records (text lines with comma delimited) of 6.271MB in size. I have posted to understand the time it is taking in scenario3, where evrything is on mapped drive (i.e, client application and input file are technically recides on the server right?) , but client application is launched from desktop. The reason I am doing this way is, instead of log-in into the remote server, user can easily launch the application from the desktop. So, when I try to launch the application this way, this doesn't count as if client application is running local to the server? Will it becomes remote (I have even captured the network traffic file in this scenario too, and I have seen the comminication between my desktop ip address to server ip address and server is taking abour 3.84 milliseconds for each item to respond to client, I think it's just travel time not the process time). I am assuming, even when application launched from drive that is mapped, it should take about 1 minute (the time taking when I launch the aplication after log-into the server,not through drive mapping) to prcess input file as everything is on the server.
    Thanks in advance,
    Jyothi

    reading and writing the data shouldn't be the problem, its what you are doing with the data which will be taking all the time.
    Try this
    public class WriteFile {
        public static void main(String... args) throws IOException {
            String filename = "record.csv";
            int records = 140 * 1000;
            int values = 6;
                long start = System.nanoTime();
                PrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter(filename)));
                for (int r = 0; r < records; r++) {
                    for (int i = 0; i < values; i++) {
                        if (i > 0)
                            pw.print(',');
                        pw.print(r * 10 + i);
                    pw.println();
                pw.close();
                long time = System.nanoTime() - start;
                System.out.printf("Time to write %,d records was %.3f sec. file size=%.3fMB%n",
                        records, time / 1e9, new File(filename).length() / 1e6);
                long start = System.nanoTime();
                BufferedReader br = new BufferedReader(new FileReader(filename));
                String line;
                while ((line = br.readLine()) != null) {
                    // do some work.
                    String[] parts = line.split(",");
                    int[] nums = new int[parts.length];
                    for (int i = 0; i < parts.length; i++)
                        nums[i] = Integer.parseInt(parts);
    br.close();
    long time = System.nanoTime() - start;
    System.out.printf("Time to read %,d records was %.3f sec%n",
    records, time / 1e9);
    PrintsTime to write 140,000 records was 0.462 sec. file size=6.193MB
    Time to read 140,000 records was 0.792 sec

  • Is Possible to Monitor Network Printers using OEM

    Hi All,
    Is it possible to monitor Network printers status using Oracle Grid Control, please let me know if it possible.
    Thanks in advance..
    YJR

    The certification matrix for OEM GC: Oracle Enterprise Manager Grid Control Certification Checker [ID 412431.1]
    https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&id=()),(page=KBNavigator&id=(bmDocTitle=Oracle%20Enterprise%20Manager%20Grid%20Control%20Certification%20Checker&viewingMode=1143&bmDocDsrc=KB&bmDocType=REFERENCE&bmDocID=412431.1&from=BOOKMARK))
    Regards
    Rob

  • Is there anyway to monitor network traffic on the newer Time Capsules, similar to the SNMP monitoring previously?

    Is there anyway to monitor network traffic on the newer Time Capsules, similar to the SNMP monitoring previously?

    Can I use a real router and still have the Time Capsule for backups etc?
    Yes, that is what Bridge Mode is for.  Just connect the Time Capsule to a LAN <--> Ethernet port on your "main" router.

  • Global UCCX deployment - maximum network latency permitted?

    We are looking at a global deployment of UCCX. The number of agents will be small, around 25 in total, but globally dispersed.
    What is the maximum network latency UCCX can tolerate?
    We would be looking to have the UCCX server, PSTN connection and CUCM in a datacentre in London and agents in London, Toronto, Singapore and Santiago.
    There would be QoS set on the WAN but latency between London and Santiago could be an issue as it may be 200ms or worse.
    Any feedback would be appreciated.
    Thanks
    Andy

    Above 150ms, or esspecially 200ms your voice quality will begin to degrade. This is not a CCX limitation.
    What will really get you is the amount of CAD signaling. It is a "chatty" application; delay will slow it down. Here is an excerpt from the CCX SRND:
    Impact of delays inherent in the applications themselves. 25 seconds is the initial Cisco Unified
    CCX agent login setup time with no WAN delay. The overall time to log in agents and base delay
    adds approximately 30 seconds of delay per 30 milliseconds of WAN delay.
    From page 108 of the Solution Reference Network Design for Cisco Unified CCX and Cisco Unified IP IVR, Release 7.0.
    I do not recall there being a documented maximum in the SRND because the BU likely expected the voice RTT delay limit of 150ms to become a problem first.
    Also remember that all reporting in CCX is recorded and displayed in server time. Global deployments could be somewhat annoying because all reporting for an agent in another timezone would have to be mentally offset by the person viewing the report. There are similar issues with time-of-day/day-of-week code within scripts but these can be overcome with some work at least.

  • Activity monitoring (Network)

    Hi;
    I have seen something stranger in the activity monitoring (network section). When I connect to the internet via ethernet, the network gragh shows some activities and it indicates that some files have been sent or recieved while I do not do anything which requires internet connection such as browsing and downloading. Thus what do these activities want to show? Are there because of some viruses or the wedjets (e.g. weather forecasting) which run when I connect to Internet?
    thanks,
    Mohsen

    That is normal handshaking going on due to the connection process. I don't think Dashboard Widgets update until the Dashboard desktop is activated,
    So don't worry, your Mac is not doing anything sinister.

  • Impact of network latency

    We have developed an application based on j2EE architecture and are running it on iWS and iAS. I would like to know the impact network latency would have on the application.
    What should be the threshold of the network latency for our application's good response ?
    Regards,
    Vibha

    Network latency between where and where?
    Between the user and iWS? Between the iWS and the iAS? Between the various iAS servers?
    Latency between the user and iWS is pretty unavoidable. Except for technologies like Akamai, there isn't much you can do about it.
    Latency between the iWS and the iAS is somewhat negative. The impact on the user is pretty much linear. i.e. an increase of 100ms latency between iWS and iAS is likely to cause an increase of 200ms in the perceived response time. (100 ms inbound and 100 ms outbound) The problem is that the application also has to keep the processing thread around another 200 ms because of the network latency. This means that are going to see some degradation in the performance of the server.
    Large latencies between the iWS and iAS are relatively easy to resolve, however. Just increase the size of the network pipe and/or increase the capacity of the firewall between iWS and iAS.
    Latency between various iAS instances is VERY bad. Large latencies between iAS server can interfere with clustering both degrading performance and data consistency. You should definately resolve any network latency between iAS servers.
    David
    http://www.amazon.com/exec/obidos/ASIN/076454909X/

  • Windows Server 2012 Hyper-V network latencies

    Hi All,
    I have an issue with our Windows Server 2012 Hyper-V hosts that I can't seem to figure out. Situation:
    2 x Dell PowerEdge R815 servers with AMD opteron 6376 16 core CPU's and 128 GB RAM running Windows Server 2012 with Hyper-V.
    2 virtual machines running on the same physical host and connected to the same virtual switch show high TCP connection latencies. One virtual machines runs a SQL Server 2012 database instance and a Dynamics AX 2012 R2 instance. The other machine a
    SharePoint 2013 instance and the AX client. We see latencies of 20ms and higher on most of the TCP connections that are made from the sharepoint machine to the sql server machine.
    At first I thought it might have something to do with the physical NIC's. It turned out that VMQ wasn't correctly supported by the firmware of the Broadcom BCM5709c cards. By default this setting is enabled. Turning off the VMQ setting somewhat improved
    the situation but the latencies are still at 8ms and higher.
    What I don't understand is what influence enabling/disabling VMQ should have on network performance. As I understand it now virtual machines connected to the same virtual switch bypass the physical altogether. Another point is that VMQ should actually improve
    performance, not decrease it.
    Another question I have is about the various tcp offloading settings on the physical NIC's. After installing the new firmware and drivers from Dell most of these settings are set to disabled. The documents I have been able to find talk about Windows Server
    2008, any thought how these settings relate to Windows Server 2012 and whether they should be enabled?
    Thanks in advance for your time and thoughts
    Kind regards,
    Dennes Schuitema

    Hi Denes,
    Please try to update your BroadCom NIC driver version ,the newest version should be 7.8.51
    For details please refer to following link :
    http://www.broadcom.com/support/ethernet_nic/netxtremeii.php
    Best Regards
    Elton Ji
    If it is not the answer , you can unmark it to continue .
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How to confirm the Network latency in welclogic server

    Hi,
    Please help me on below query.
    If a production server is having a network bottle neck or network throttling. How can i confirm? and What would you do?
    Request you to guide me on this.
    Thanks,
    Raj

    Hi,
    N/W Issues
    If your WebLogic Servers are part of Cluster and if you see any Multicast related errors or warnings like ... ManagedServer is getting Kicked of of Cluster and then again Joining after some time...or if you see any Multicast Lost Messages more than 2-3 times...it means there may be some N/W Issues ...to test this you can use MulticastTest ot MulticastMonitor Utilities.... Like this u will get some idea abt n/w issues.
    N/W latency
    WebLogic Servers logs/Access Logs ... will never be useful to identify the N/W Latency.
    Thanks
    Jay SenSharma

  • How to monitor network shares availability ?

    I have to develop indicators of availability. 
    I planned to create distributed applications for each indicator and generate reports. 
    On some applications, I have to watch the availability of a network share. 
    Have you already monitor shares availability ? 

    Thank you for your answers,
    I have already installed  this management pack, but on 30 network share, i have warning on 15. But it was no problem to access
    on the network share.
    I looked on
    the rights of the Share and NTFS security without found solution.
    I read on another post that  problem exist  with the mp on SCOM 2012.
    Did you test this MP in SCOM 2012 ?

  • DataGuard question - overcoming network latency problem

    Hi
    Dataguard for 10.2.0.4
    Assuming we have a latency problem with the network between the primary and secondary databases in a dataguard configuration.
    That means that my bottleneck is currently the network that cannot accommodate the amount of redo that is generated per second by the primary, and archive logs are accumulating on the primary site
    Is there a way to configure the redo transport on the primary to transfer the archive logs in parallel – in case there is an accumulation of archive logs waiting to be shipped
    I am talking parallel transfer to the same site , not to different sites – just to overcome the network bottleneck
    Thanks in advance
    Orna

    Hi Sybrand,
    Quoting from the doc
    'Oracle Database 10g Release 2 introduces the ability to have multiple ARCn processes sending redo for a single archived-redo log over the network, reducing the time required to ship a single archive log to a remote destination. In previous Oracle Database releases, only one ARCn process at a time could archive redo from a given log file. The maximum number of network connections that will be used in parallel to perform archival to a destination is controlled using the MAX_CONNECTIONS attribute of the LOG_ARCHIVE_DEST_n initialization parameter. The LOG_ARCHIVE_MAX_PROCESSES initialization parameter can be set as high as 30, (the previous maximum was 10)'
    My 'back of a cigarette packet' calculation was not meant to be exact just meant to illustrate a point :-)
    I still think your confusing bandwidth with latency but I don't want to poke an angry response :-)
    Cheers,
    Harry
    Edited by: Harry on Jul 10, 2009 3:33 PM - seems the language filter doesn;t like my British slang. Changed to cigarette......

  • Network Round Trips when loading a Form - reducing Network Latency

    I am working on a Forms migration from Client-Server to WebForms running on Application Server 10.1.2.0.2
    Does anyone know the minimum number of network round trips that can be achieved when loading a Form?
    For most of the Forms in the migration I am seeing 3 network round-trips before the Form is displayed and on Forms that use Webutil I am seeing 7 round-trips before the Form is displayed. Is this normal or are there ways of optimizing the round-trips down?
    The Forms code has already been optimized by removing SYNCHRONIZE commands and TIMER commands and I have already refered to metalink note 363285.1 which gives lots of good advice however there is no specific information on the minimum number of round trips that you can expect for loading a Form.
    Thanks for any help you can give.
    Philippe

    Ok, a bit of an update is needed.
    There were a number of posts below that have been lost due to an accidental deletion but I shall try and summarize them here:
    Tony Garabedian - Posted a number of code optimizations that he'd used for speeding up code when querying within a Form. Tony if you are able to re-post those that would be great :-)
    Grant Ronald - posted some more information in which he mentioned that the extra pings are used to synchronize between the App.Server and the client. He also commented that a network that uses satellite was inherently slower and would therefore require a different front end to handle the increase in latency.
    For my part I said nothing new other than ask loads more questions. I did mistakenly comment that we are using satellite for our network however upon yet more discussion with our network guy it turns out that we're using optical cable for everything. Out guaranteed round trip time is about 320 milli-seconds to Australia from the UK.
    Currently I am left with the understanding that we are not likely to go below 3 round trips for most of our Forms and in the case of Webutil we are likely to be limited to 7 round trips.
    Of course if anyone out there has any specific experience with this issue and can comment further please feel free.
    Many thanks,
    Philippe

  • Weird - Activity Monitor Network Traffic vs iStat Traffic

    With no applications running on my MacBook Pro, the Network tab of the Activity monitor is showing 'Data received/sec" toggling every second or so between 1.38 KB/s and 2.75 KB/s.  It's showing the same numbers for 'Data sent/sec' as well.  I can't figure out what is causing this network traffic.  But if it's real, it's adding up to about 5 GB a month of bandwidth usage.  My cap is only 60 GB so it's significant.
    But when I use iStat or the Net Monitor app to monitor throughput, they show 0.0 traffic when the system is idle.  Also, since last night Activity Monitor shows 322 MB data received and 99 MB data sent.  While iStat shows 239 MB received and 16 MB sent.
    So which is correct?  Does Activity Monitor also include traffic that is internal to my network?  Or do I have a phantom bandwidth hog somewhere?
    Thanks for any insight to the weirdness.
    Jim

    The switches at home and at work generally corroborate the activity shown by tcpdump / atMonitor / MenuMeters, not the continuous data flow shown by Activity Monitor. The MacBook Air I'm sitting at right now shows similar discrepancies, with traffic totals in Activity Monitor about 40x higher than those shown with the other tools and a steady and inexplicable (and by other means invisible) 29-34 KB/sec of both sent & received traffic. tcpdump shows periods of network silence between 2-15 seconds in length (in between DNS lookups; netbios syncs; ntp queries; ipp messages; http, pop, and imap messages; etc. happening in bursts as one would expect).
    Changing Activity Monitor to refresh every half second shows the mystery traffic as a burst of 112 KB sent & received every two seconds--and no, that's not the same throughput as the 29-34 KB seen at 2-second refresh intervals. When I set refresh to every 5 seconds, the mystery throughput drops to 22 KB / sec. As the throughput varies depending on refresh interval, I wonder if I'm seeing internal loopback queries (or something of that sort) contributing to the totals. Is it possible that the mystery traffic is of AM's own creation, and only exists within the machine and is not actually sent on the network?
    Lest we digress further into general network troubleshooting techniques, let me restate the question, perhaps a bit more clearly: has anyone else seen this traffic-volume discrepancy between the Activity Monitor's Network tab and other network monitoring tools, and does anyone have an explanation for it?

Maybe you are looking for

  • Clustering on same server

    Can i perform clustering in the same server just for testing purpose.Server i am using is JBoss.

  • Preview – merge PDFs lost?

    Hi, I can't seem to find a good way to merge PDFs using Preview like I could before upgrading to Snow Leopard. Is this function actually gone, or is it just hiding from me? Before, I could just open up the Sidebar in Preview, drag and drop another PD

  • Dynamically generated Link for View uFF1F

    i need dynamically create link, like HTML Code  <a href='URL'>text</a> public void wdDoInit() ArrayList al = .... (URL String List) for(int i =0;i<al.size(); i++) ..... HOW CODING??

  • Migrate from Test to New Server - OBIEE

    Hi, I have been 'evaluating' OBIEE functinality on a small test server for some time, where I have done a large amount of work on both writing reports. developing dashboards, configuring user security and the necessary data architecture in the physic

  • Bex queris

    In the Bex queris, when I try to select values for Fiscal year I get the following error message: Message     M     Description BRAIN        629    specify a value for a Current Fiscal Year (single value entry,