Network Traffic Data

Is there any default software in Microsoft OS that can help us monitor the network traffic data for a server?

Hello,
I'd probably ask in the Security forum in the
Windows Server forums.
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog:http://unlockpowershell.wordpress.com
My Book:Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

Similar Messages

  • Server admin not showing network traffic graph

    This topic was posted a while ago with no solution, and it has been [archived|http://discussions.apple.com/thread.jspa?messageID=6953359]. I have just experienced the same problem with Leopard Server Admin (SA). It seems to be a problem on the server, not in the client admin, since it occurs both when I use SA on the server itself and a client, and deleting client prefs. has not helped. I'm presuming that there is a corrupted database or prefs. file for this graph.
    All the other SA graphs show just fine. Fixing permissions has not helped, either.
    Anyone have any idea where to look on the server? Thanks.
    Message was edited by: Trevor Jacques

    I'm pretty sure I have since I have a few Mac Mini's on the network with their home directory residing on the server and my Windows users are sharing a few daily use files on the server including a MYOB data file, also our intranet web site is hosting on the same server, not to mention I have 3 print queues there and all the outgoing mails from both of our all-in-one scan to email machines are using the same server. All of these services and users are using their computer as if nothing is wrong, so I have to assume that there is network traffic unless server admin interprets the term "network traffic" differently.

  • How do I time out my thread if there is no network traffic

    How do I time out my thread if there is no network traffic for a given time? I have the following code listening for data:
    StringBuffer requestLine = new StringBuffer();
    int c;
    while(true) {
        c = in.read();
        if(c == '\r' || c == '\n') {//Not sure here???
            break;
        requestLine.append((char)c);
    }But how do I time this out if there has been no traffic for lets say 5 minutes?

    Have you redefined 'in'?
    If it's a raw socket connection, you can use the Socket.setSoTimeout method before you open the connection to specify how long it should hold it open if there is no data available.

  • SAP DMS - SAP ECC network traffic

    Hi all,
    I have the following situation:
    The SAP ECC servers are hosted outside my company and we are planning to install a SAP DMS server.
    We have 2 options: host the SAP DMS outside or install SAP DMS in our datacenter.
    When the SAP user attaches or reads a file to/from SAP DMS, how is the network traffic ?
    Is there any traffic fom SAP ECC to SAP DMS or the file goes to/from DMS from/to end-user ?
    How SAP DMS impacts my WAN ?
    Best Regards,
    Leonardo.

    Leonardo,  I have done some research /  trouble shooting and architectural changes to raise the upload / download speeds, there are several dependencies like Network, Application, hardware etc but to your question:
    First of all, DMS is a core functionality of ECC and utilizes both ECC for execution and Content Servers (recommended for Obvious performance reasons) for Data Storage. For your case I recommend that you host Content Server at the Data Center (assuming you have no other option) and have a Cache Server installed Onsite. (This requires minimal maintenance). When the user uploads a file the traffic is high as the entire File needs to be transferred to the data center, on the other hand Cache server (if installed onsite) considerably reduces the retrieval time.
    Again having said above there are several other parameters that could affect your upload / download speeds.
    Hope you'll find this useful, let me know if you have further questions.
    regards
    C

  • Curious about App-V 4.6 RO Cache Network Traffic

    Our environment is Server 4.5 SP2, and Client 4.6 SP3. We utilize RO cache on DFS network storage, and our clients are VDI VM's.
    We recently ran into an issue when we recycled a large pool of VM's where the CPU/Network Utilization was maxed on our cache file server. Upon further investigation there appears to be about 550MB of traffic between each VM and the Cache file itself when
    the VM boots (no users logged in). Can someone explain to me what this traffic could be?

    In RO cache mode (ReadOnlyFSD], *nothing* should get streamed down to the client at all.
    where does the amount of data show up - any specific files/folders, or monitored network traffic between the client and the DFS share?
    is there anything in the App-V log file?
    Did you initiate a server publishing refresh with a user that has access to all applications before you sealed the VDI Master image?
    Falko
    Twitter
    @kirk_tn   |   Blog
    kirxblog   |   Web
    kirx.org   |   Fireside
    appvbook.com

  • CPU 100%, network traffic light

    My setup:
    Xserve G4, 2 Gb RAM
    OSX Server 10.4.11
    In recent days, the server CPU is maxed out as shown by the graphs in Server Admin. Our network traffic is fairly light as shown by the graph.
    I run:
    top -o cpu
    Processes: 71 total, 7 running, 64 sleeping... 197 threads 08:35:30
    Load Avg: 7.69, 6.83, 6.10 CPU usage: 82.6% user, 17.4% sys, 0.0% idle
    SharedLibs: num = 134, resident = 22.1M code, 3.04M data, 6.75M LinkEdit
    MemRegions: num = 9369, resident = 270M + 6.72M private, 44.1M shared
    PhysMem: 113M wired, 141M active, 824M inactive, 1.05G used, 711M free
    VM: 4.36G + 85.0M 26950(0) pageins, 0(0) pageouts
    PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
    15923 httpd 19.2% 0:01.98 1 12 249 6.91M+ 19.5M 11.7M+ 72.4M+
    15867 httpd 18.0% 0:05.45 1 12 275 14.0M+ 19.4M 18.8M+ 79.4M+
    15926 httpd 17.5% 0:01.57 1 12 247 6.38M+ 19.5M 11.0M+ 71.9M+
    15922 httpd 17.4% 0:02.01 1 12 257 9.51M+ 19.5M 14.3M+ 74.9M+
    15870 httpd 9.9% 0:13.47 1 12 275 13.8M+ 19.5M 18.7M+ 79.1M+
    15917 top 7.6% 0:05.40 1 26 22 1.17M 448K 1.59M 27.0M
    15871 httpd 7.4% 0:13.82 1 12 274 13.8M+ 19.5M 18.8M+ 79.1M+
    269 mysqld 1.5% 2:47:51 29 150 134 29.6M- 5.48M 33.3M- 132M-
    0 kernel_tas 0.4% 5:11.65 43 2 2532 19.4M 0K 96.5M 1.11G
    106 lookupd 0.1% 1:27.48 6 44 53 4.23M+ 1020K 4.98M+ 33.6M+
    102 SecurityAg 0.1% 1:34.08 1 69 99 1.76M 7.10M 8.66M 116M
    48 memberd 0.0% 1:20.43 3 22 24 268K 412K 628K 27.7M
    15650 sshd 0.0% 0:00.42 1 11 42 108K 1.62M 496K 30.0M
    38 netinfod 0.0% 0:21.80 1 14 22 208K 524K 572K 26.9M
    63 WindowServ 0.0% 0:14.16 2 67 56 588K 4.97M 5.02M 92.2M
    52 notifyd 0.0% 0:10.16 2 79 21 204K 416K 468K 27.2M
    120 ntpd 0.0% 0:04.63 1 11 19 192K 608K 412K 27.1M
    298 httpd 0.0% 0:06.42 1 10 229 104K 19.5M 7.00M 79.8M
    272 serialnumb 0.0% 0:00.96 3 27 32 308K 800K 1.08M 28.3M
    15921 httpd 0.0% 0:01.17 1 12 277 14.3M 19.5M 18.6M 79.9M
    15920 httpd 0.0% 0:01.19 1 13 277 14.3M 19.5M 18.7M 79.9M
    15919 httpd 0.0% 0:01.23 1 12 274 13.8M 19.5M 18.3M 79.2M
    15918 httpd 0.0% 0:01.44 1 13 229 1.66M 19.5M 6.32M 67.1M
    15900 httpd 0.0% 0:06.63 1 12 277 14.4M 19.5M 19.2M 79.9M
    15881 trivial-re 0.0% 0:00.01 1 16 19 200K 512K 760K 26.7M
    15869 httpd 0.0% 0:11.61 1 12 275 13.9M 19.5M 18.6M 79.4M
    15868 httpd 0.0% 0:09.79 1 12 274 13.8M 19.5M 18.9M 79.1M
    15852 servermgrd 0.0% 0:01.47 4 61 169 4.30M 3.86M 7.28M 46.4M
    15824 pickup 0.0% 0:00.01 1 16 20 204K 500K 700K 26.7M
    15651 bash 0.0% 0:00.04 1 14 17 200K 896K 820K 27.2M
    15643 sshd 0.0% 0:00.12 1 18 43 128K 1.62M 1.36M 30.1M
    348 slpd 0.0% 0:00.40 6 31 34 260K 908K 968K 30.2M
    305 httpd 0.0% 66:38.29 1 13 237 3.14M 19.4M 9.52M 68.3M
    304 httpd 0.0% 66:09.95 1 13 278 15.1M 19.4M 21.0M 80.3M
    303 httpd 0.0% 68:59.73 1 13 234 3.17M 19.4M 9.29M 68.3M
    302 httpd 0.0% 66:02.83 1 13 281 15.3M 19.4M 20.8M 80.0M
    301 httpd 0.0% 68:12.51 1 13 281 15.6M 19.4M 21.4M 81.0M
    300 rotatelogs 0.0% 0:00.02 1 14 18 136K 380K 360K 26.6M
    299 rotatelogs 0.0% 0:04.57 1 14 18 140K 380K 364K 26.6M
    285 mds 0.0% 0:00.05 6 71 46 556K 1.37M 1.88M 40.8M
    217 sh 0.0% 0:00.04 1 14 18 188K 812K 720K 27.2M
    207 getty 0.0% 0:00.00 1 14 18 112K 388K 332K 26.6M
    164 crashrepor 0.0% 0:00.00 1 17 18 120K 384K 200K 26.6M
    150 automount 0.0% 0:00.02 3 40 30 312K 932K 1.05M 28.7M
    146 automount 0.0% 0:00.03 3 42 34 312K 968K 1.09M 29.0M
    143 rpc.lockd 0.0% 0:00.00 1 10 18 108K 432K 192K 26.7M
    134 nfsiod 0.0% 0:00.00 5 30 25 128K 376K 180K 28.6M
    101 authorizat 0.0% 0:00.05 1 31 27 368K 940K 1.21M 27.4M
    98 mcxd 0.0% 0:02.21 1 41 39 608K 1.26M 2.23M 69.1M
    95 loginwindo 0.0% 0:00.25 3 101 90 904K 2.04M 3.25M 102M
    Not sure where to start diagnosing this issu

    Camelot,
    Thanks again for your response!
    Camelot wrote:
    You shouldn't need to do that - what happens when you try?
    Safari can't connect to the server "localhost".
    The only thing I can think of off-hand that would cause this is if mod_status was disabled (which you might have done thinking you didn't need it). It would be a good idea to re-enable this, even if only short-term, to get an idea of what's going on.
    mod_status is not listed in Web > Modules
    Not sure if it will help significantly but I did enable the query cache for MySQL.
    The query cache will generally help reduce load on the database server, but only if there's sufficient RAM on the server to cache the queries and results. The real question is how mush RAM is your system using? If it's out of memory then enabling the query cache can be detrimental.
    For that matter, do your sites seem slow? Is your only concern the relatively high CPU load? or are pages loading slowly, too?
    The pages are taking exceptionally long to load.
    The 1.7 Gb Ram...Yes, it's a config of 512-512-512-256.
    Swapping that 256MB for a 512MB seems like a no-brainer, no matter what else you do. It'll cost you $20 from OWC.
    You're right...no brainer. Will do
    Was wondering if a permissions issue could create the problems I'm having with Apache?
    Unlikely. If apache didn't have permission to serve a file it would throw an error page back pretty quickly. I can't see this is the cause, but a quick look at apache's error log will tell you if there are any permission issues.
    The site was running well this morning but as bloggers logged into Wordpress and general traffic picked up, the CPU load ramped up to 100% and pages are now loading very slowly.

  • 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?

  • Client/Server network traffic.

    I don't know if here is the right forum to ask it, but let's go on.
    Nowadays we a system on Forms 4.5/windows/Oracle 8.0
    We have some clients machines linked to the server by a Frame-Relay link and we use Windows 2000 Terminal Server to reduce the network traffic.
    Well, we are gonna update to Forms 6i/Oracle 8i.
    I would like to know if Forms Server can be a good option to Windows 2000 Terminal Server.
    If I haven't been clear with my question I'll can do it again. I'm new on Forms 6i and I've just installed it to test (It hasn't been working yet....)
    Thanks in advance
    Ronaldo.

    This could provoke quite a discussion.
    "If your client are on slow links you may, for example query 10,000 rows of data. "
    Generally, forms shouldn't be pulling back tens of thousands of rows from the database. Your user is unlikely to page through that much, so either you want a summary (which is best calculated on the database server and the summary results dragged across the network) or you are paging through records in the tens, not tens of thousands. (Look at the 'Number of recods buffered' property in your base table blocks. Bet it's one or two digits, not five!)
    "The information that is transmitted to the client is basically screen draw information - and this will be alot less than the 10,000 rows you were querying before. "
    As above. In client/server you shouldn't have been bringing stuff from the database down to the client that wasn't going to be on the screen anyway, especially if you had a slow network.
    Depending on how your application is written, it could well peform a lot worse on the web than in client server. Rather than having the client do a fair share of the work, it's now got to keep talking to the application server to get anything done.
    For example, because navigation triggers don't allow the use of restricted built-ins, rather than putting code in a 'post-text-item/when-validate-item' trigger on the relevant item, it gets put in a form level 'when-new-item-instance' trigger. It's a bit untidy in client/server but workable. Put it on the web, and every time the user tabs between fields, the form has to go off to the application server to fire the when-new-item-intance trigger to tell it what to do next.
    Another 'speed-bump' is if you have any synchronize bits (eg in a post-query trigger, or as part of a "I'm 10% complete" information messages in long running loops). These will also generate network traffic between the app server and form.
    While web server does have advantages, I wouldn't be selling it on it's performance improvements.

  • Unexplained network traffic

    I leave my MacBook Pro on all the time with normal energy saving preferences - computer sleep after 15 minutes, display sleep after 10 minutes. Since upgrading to Mavericks I've noticed an unexplained daily amount of about 150MB of network traffic on my ISP billing. It occurs off-peak every day - between midnight and 7am - so it's not added to my paid-for usage. I have an Extreme Base Station that's on all the time, with a wi-fi network protected by an obscure password, so I don't suspect that anyone's piggy-backing on my network.
    So what's causing that traffic?

    I'm running an iMac in a single person business off an ethernet connection and also have had a huge increase in data usage. My normal 10GB monthly allowance got sucked out in 14 days last month. [My normal usage is about 100-200MB a day]. It started shortly after Maverics was installed..... 600-800Mb a day then rising to 1200-1500MB a day.
    I have made 4-5 calls to Apple and my ISP and no solution. Recent nights I have quit all applications and yesterday evening signed out of iCloud to eliminate that as a possibilities. This all seems to have accellerated the usage to a further escallation ..... 2GB yesterday and 2.5GB since midnight to 9:00am this morning...... this alarming!

  • Tools to capture network traffic

    Hi,
    I'm looking for freeware tools which run on windows platform for capturing network traffic out of an interface and then tell that which type for traffic uses how much bandwidth of the interface. for e.g HTTP uses x%, Telnet use y%

    Also - check out ntop.
    Using the capture that you get from Ethereal/Wireshark it will display the data in a very pretty way.
    Check it out here:-
    http://images.google.co.uk/images?sourceid=navclient-ff&ie=UTF-8&rls=GGGL,GGGL:2006-26,GGGL:en&q=ntop&sa=N&tab=wi
    and get it here:-
    www.ntop.org - there is a windows version.
    HTH
    LH
    Please rate all posts

  • Track past network traffic?

    Hello,
    We've been having a problem in our studio where someone has been using machines after hours (and possible during work hours) to do downloading. Is it possible to check individual machines (logs, perhaps?) to see network traffic/the amount of files being downloaded/what's being downloaded, etc.?
    I maintain our XServe and individual machines, but I've yet to have to deal with anything like this.
    The problem has since stopped, but we're hoping there's a way to trace back to where it was originating from (all we can tell is that it's internal on one of the machines in the studio, but not exactly which machine).
    Thanks,
    Kristin.

    depending on how long ago this happened and how far back your logs go, you may be able to determine this.
    do you have a firewall that logs traffic? if so, you should be able to look there first as long as the data is available.
    OS X won't log network activity by default, but you can probably configure things to do so. i'm not sure, off the top of my head.
    at the very least, you can check login times both on your Xserve and on individual workstations. that may provide good leads.
    good luck, and post what you find.

  • Good network traffic counter N97 mini?

    Hi,
    I would like to know about any free network traffic counter apps for my N97 Mini.
    On my HTC I had a very good free app called "Net counter" where I could select the amount of data I had signed up for, also it had a selection where I could set the date brakepoint.
    The app always gave the exact amount of data I had received during the selected dates, and resetted the value at the selected date.
    Is there any similar free app for the N97 Mini?

    In the log!
    Open the log and you'll get a choice of missed/received/placed calls, call duration and packet data counter.
    You'll have to reset it manually on the refresh date, though, and it doesn't distinguish between internet access and MMS.
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • Monitoring network traffic from large queries to client

    Hi, is there any way to monitor the volume from network traffic from the server to the client, the statistics SQL*net message to client and SQL*net message from client don't show a full picture.
    I have a query that sends several GB of data to a client but the SQL*net statistics done show anything like this, is there any way I can see the volume of traffic from the RDBMS statistics?
    Regards.

    Alan Wilson wrote:
    Hi, is there any way to monitor the volume from network traffic from the server to the client, the statistics SQL*net message to client and SQL*net message from client don't show a full picture.
    I have a query that sends several GB of data to a client but the SQL*net statistics done show anything like this, is there any way I can see the volume of traffic from the RDBMS statistics?
    Sounds like you're looking at the Wait events only - you need to check the instance (or session) activity - v$sysstat/v$sesstat for the following stats:
    NAME
    bytes sent via SQL*Net to client
    bytes received via SQL*Net from client
    SQL*Net roundtrips to/from clientIt's worth pointing out, by the way, that SQL*Net can do "compression" on the fly by comparing columns across rows of data sent, so the volumes you see in these stats may not match the volume you finally see arriing in the client code. ( http://jonathanlewis.wordpress.com/2010/05/07/sqlnet-compression/ )
    If you need to optimise the transfer rate, look at the SQL*Net configuration (at both ends) for the Session Data Unit (SDU) and the o/s transmit and receive buffers.
    Regards
    Jonathan Lewis

  • Network traffic intensity

    Is there an easy way for my GUI application to display the network traffic intensity. I would like users to be able to see a visual display of the network load.
    thanks

    The short answer is no. The Java API's do not provide visibility to such data for the IP layer, for the protocols that it supports or for JDBC drivers, HTTP connections, etc.
    If you were to write your own socket support for the protocols you need, you could monitor the amount of data transmitted back and forth across your implementation in Java.
    Chuck

  • 24 Hr Network Traffic Monitoring

    Hi Markus,
    I got this 24-hour Network traffic monitoring output using the program you gave me ;)
    I run every hour this > ./network-traffic.sh -c 1
    It will give me 1 line output like this,
    Monitoring eth0 every 3 seconds. (RXbyte total = 1 Gb TXbytes total = 2 Gb)
    RXbytes = 58 Kb TXbytes = 51 Kband I call this program every hour via cron, to produce and output like this:
    27-Oct-2010 00:00:07    RXbytes = 10 Kb TXbytes = 9 Kb
    27-Oct-2010 01:00:07    RXbytes = 11 Kb TXbytes = 9 Kb
    27-Oct-2010 02:00:07    RXbytes = 7 Kb TXbytes = 6 Kb
    27-Oct-2010 03:00:07    RXbytes = 48 Kb TXbytes = 42 Kb
    27-Oct-2010 04:00:07    RXbytes = 448 b TXbytes = 0 b
    27-Oct-2010 05:00:08    RXbytes = 128 b TXbytes = 0 b
    27-Oct-2010 06:00:07    RXbytes = 128 b TXbytes = 0 b
    27-Oct-2010 07:00:08    RXbytes = 256 b TXbytes = 0 b
    27-Oct-2010 08:00:08    RXbytes = 14 Kb TXbytes = 24 Kb
    27-Oct-2010 09:00:07    RXbytes = 11 Kb TXbytes = 10 Kb
    27-Oct-2010 10:00:08    RXbytes = 11 Kb TXbytes = 10 Kb
    27-Oct-2010 11:00:07    RXbytes = 48 Kb TXbytes = 85 Kb
    27-Oct-2010 12:00:08    RXbytes = 9 Kb TXbytes = 8 Kb
    27-Oct-2010 13:00:07    RXbytes = 13 Kb TXbytes = 28 Kb
    27-Oct-2010 14:00:08    RXbytes = 53 Kb TXbytes = 46 Kb
    27-Oct-2010 15:00:08    RXbytes = 13 Kb TXbytes = 20 Kb
    27-Oct-2010 16:00:08    RXbytes = 13 Kb TXbytes = 20 Kb
    27-Oct-2010 17:00:08    RXbytes = 40 Kb TXbytes = 94 Kb
    27-Oct-2010 18:00:07    RXbytes = 13 Kb TXbytes = 30 Kb
    27-Oct-2010 19:00:08    RXbytes = 6 Kb TXbytes = 9 Kb
    27-Oct-2010 20:00:08    RXbytes = 12 Kb TXbytes = 12 Kb
    27-Oct-2010 21:00:08    RXbytes = 15 Kb TXbytes = 40 Kb
    27-Oct-2010 22:00:07    RXbytes = 9 Kb TXbytes = 11 Kb
    27-Oct-2010 23:00:07    RXbytes = 11 Kb TXbytes = 9 KbIs this output data gathering style valid?
    I want to give this report to my boss using spreadsheets, but I want to put comments like :
    1. at what hour is the network busiest?
    2. at what hour is the network the not-busiest?
    How do I sort this output from busiest (descending order)?
    Thanks a lot,
    Ms K

    Hi again markie,
    This is my actual source code of eth0stat.sh:
    # File: eth0stat.sh
    # Purpose: Gather network traffic increase between readings
    # Command: . ./eth0stat.sh
    ifcmd='/sbin/ifconfig eth0'
    timestamp=$(date "+%D %T")
    logfile=/u01/Monitor/eth0stat.txt
    old_rxbytes=$RXBYTES
    old_txbytes=$TXBYTES
    get_rxbytes() {
       $ifcmd | grep "RX bytes" | cut -d: -f2 | awk '{ print $1 }'
    get_txbytes() {
       $ifcmd | grep "TX bytes" | cut -d: -f3 | awk '{ print $1 }'
    RXBYTES=$(get_rxbytes); export RXBYTES
    TXBYTES=$(get_txbytes); export TXBYTES
    if [ $old_rxbytes > 0 ]; then
       diff_rxbytes=$(($RXBYTES - $old_rxbytes))
    else
       diff_rxbytes=0
    fi
    if [ $old_txbytes > 0 ]; then
       diff_txbytes=$(($TXBYTES - $old_txbytes))
    else
       diff_txbytes=0
    fi
    echo "$timestamp,RXbytes:$diff_rxbytes,TXbytes:$diff_txbytes" >> $logfileI created the new program you gave me (eth0stat.sh) and called it from cron every our, but I got this result:
    11/01/10 15:00:07,RXbytes:0,TXbytes:0
    11/01/10 16:00:07,RXbytes:0,TXbytes:0
    11/01/10 17:00:07,RXbytes:0,TXbytes:0
    11/01/10 18:00:07,RXbytes:0,TXbytes:0
    11/01/10 19:00:07,RXbytes:0,TXbytes:0
    11/01/10 20:00:07,RXbytes:0,TXbytes:0
    11/01/10 21:00:07,RXbytes:0,TXbytes:0
    11/01/10 22:00:08,RXbytes:0,TXbytes:0
    11/01/10 23:00:07,RXbytes:0,TXbytes:0
    11/02/10 00:00:07,RXbytes:0,TXbytes:0
    11/02/10 01:00:08,RXbytes:0,TXbytes:0
    11/02/10 02:00:08,RXbytes:0,TXbytes:0
    11/02/10 03:00:07,RXbytes:0,TXbytes:0
    11/02/10 04:00:07,RXbytes:0,TXbytes:0
    11/02/10 05:00:07,RXbytes:0,TXbytes:0
    11/02/10 06:00:08,RXbytes:0,TXbytes:0
    11/02/10 07:00:08,RXbytes:0,TXbytes:0
    11/02/10 08:00:07,RXbytes:0,TXbytes:0
    11/02/10 09:00:08,RXbytes:0,TXbytes:0
    11/02/10 10:00:08,RXbytes:0,TXbytes:0The output has all 0 bytes :( . Is there something I missed out?
    I compared it to the other one I got:
    1-Nov-2010 15:00:07     RXbytes = 10 Kb TXbytes = 9 Kb
    1-Nov-2010 16:00:07     RXbytes = 10 Kb TXbytes = 9 Kb
    1-Nov-2010 17:00:07     RXbytes = 10 Kb TXbytes = 9 Kb
    1-Nov-2010 18:00:07     RXbytes = 10 Kb TXbytes = 9 Kb
    1-Nov-2010 19:00:07     RXbytes = 10 Kb TXbytes = 9 Kb
    1-Nov-2010 20:00:07     RXbytes = 10 Kb TXbytes = 9 Kb
    1-Nov-2010 21:00:07     RXbytes = 10 Kb TXbytes = 9 Kb
    1-Nov-2010 22:00:08     RXbytes = 10 Kb TXbytes = 9 Kb
    1-Nov-2010 23:00:07     RXbytes = 11 Kb TXbytes = 9 Kb
    2-Nov-2010 00:00:07     RXbytes = 10 Kb TXbytes = 9 Kb
    2-Nov-2010 01:00:08     RXbytes = 10 Kb TXbytes = 9 Kb
    2-Nov-2010 02:00:08     RXbytes = 10 Kb TXbytes = 9 Kb
    2-Nov-2010 03:00:07     RXbytes = 7 Kb TXbytes = 6 Kb
    2-Nov-2010 04:00:07     RXbytes = 256 b TXbytes = 0 b
    2-Nov-2010 05:00:07     RXbytes = 320 b TXbytes = 0 b
    2-Nov-2010 06:00:08     RXbytes = 0 b TXbytes = 0 b
    2-Nov-2010 07:00:08     RXbytes = 466 b TXbytes = 0 b
    2-Nov-2010 08:00:07     RXbytes = 1 Mb TXbytes = 19 Mb
    2-Nov-2010 09:00:08     RXbytes = 1 Mb TXbytes = 22 Mb
    2-Nov-2010 10:00:08     RXbytes = 12 Kb TXbytes = 91 KbThe is seem to be movement starting at 8am Nov 2, 2010.
    Please help me debug the eth0stat.sh.
    Thanks again so much

Maybe you are looking for

  • Poor Customer Service

    I am shocked at the level of poor customer service I get from Adobe sales reps on a consistent basis. It is as if Adobe assumes their products are without peer - so the sales team can take its customers for granted. I recently subscribed to the $19.9

  • SIP Conversion - No longer able to make modem calls

    We are working to convert our voice network off of PRI's and on to SIP Trunks. Call Flow: ITSP—SIP—CUBE—H323—CUCM—H323—Branch Router(2911 or 2811)—Analog Device (Cash Advance Machine) on FXS port. All locations that have converted to SIP are now unab

  • 'N' Step Workflow

    We are on an old EBP 3.0 but are looking at upgrading to SRM 5.0 later in the year.  We currently have a business process change in place which will require us to move to a multi step approval process where we could potentially have a requirement for

  • Transfered but something is wrong

    I must be missing a step -- I transfered my music using the instructions in support (wish the graphics were showing some from Vista as it's different). I have it backed up on my iPod AND I have copies on disc of everything from my old computer (still

  • Sameday method

    Hi: I am trying to develop a method to print out all appointments on the same day but without success. Can someone please help? Thanks. import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Vector