Determining network usage by program

How can I determine what programs are utilizing shares of bandwidth?

n0dix wrote:
You can try:
community/bwbar 1.2.3-1
Generates text and graphical readout of the current bandwidth usage.
community/bwm-ng 0.6-2
A small and simple console-based live bandwidth monitor
Yes, but these show only the whole  not per app bandwidth usage.
Afais, there is no program which shows the direct bandwidth usage of a given program.
I use a mixture  of pktstat which shows the open connections and the usage of each connection and netstat (netstat -teenap).
bwm-ng is ok, better than slurm I think. Though slurm has a nicer interface.
Last edited by DonVla (2010-01-31 17:16:09)

Similar Messages

  • "Normal" Network Usage for MacMini Server

    I have a 2011 MMS with a Corei7 proc and 16 GB of ram.  I also have approximately 30 workstations - all mac.  Everything is running Mavericks (server is running server 3.0).
    All of my users run network accounts.  I've noticed what I would consider substantial network traffic from each machine directly to the server on port 445 (I use SMB home shares).  Using the "nettop" command, I determined this traffic is mostly from "kernel_task" and on the low side is around 8 GB for a couple of days, upwards of 80 GB on some machines for a couple of days.  The machines generally appear to run fine and there is no significant CPU usage.  Sometimes, a machine will occasionally "forget" to delete a file on logout and I get some funky errors until I clean it up (a lock file for firefox or the .mcmlx file) 
    The question is, is this a "normal" (i know relative...) amount of traffic?  It seems that whenever I open safari or firefox, the "kernel_task" network usage starts to climb rapidly.
    I guess I am concerned that this traffic could be causing some issues with the server so that it is "missing things" on logout of each user.  I did not have any of these issues prior to Mavericks and the SMB updates.  I previously used AFP, however when I use AFP firefox (required for a special internet school management application) goes crazy. 

    There was a big issue in school Servers (10.6 and previous) where the computers were almost all Network Users, often operating from computer clusters (not one user per computer).
    For Network Users:
    /Users/user-short_name/Library/Caches ...
    ... is a file on the SERVER. That is where cached firefox and safari stuff is sent! [from the Web to the WorkStation, copied to the cache on the Server, copied back to the workstation when the User changes pages, and on and on. It beats up your network, while the drive on the workstation is nearly idle. Some Admins advocated turning off Browser Caching entirely as their solution.]
    WorkGroup Manager eventually provided a work-around in an additional MCX manifest that could be added to any user:
    com.apple.MCXRedirector.manifest ...
    that had several different options for ways to deal with the Caches. The most popular was to delete the Cache in the User's Home folder, and link to:
    /private/tmp/short-User_name/Library/caches ...
    ...This folder is on the WorkStation where the User is logged in, and will be inaccessible or deleted by the time the next user logs in at that computer.
    There are articles online that contain recipes for converting the MCX manifests to use them as Profile manager xml files to support that feature indirectly, but I have not seen direct support for the feature mentioned as yet.

  • Activity Monitor and Network Usage??

    I'd like to get an idea of my network usage per month prior to signing up for a service plan, and I notice that the Network tab of Activity Monitor will track Data received. When or how does the number shown there get reset to zero? What would be the best way to track the network usage over a period of a week or so?

    I believe the number is from your last login, but it shouldn't be too hard to test whether that is the starting point or the last restart.
    Neither will help you track network usage over a specific period. For that, you will have to hunt down a utility on macupdate.com or versiontracker.com. I'm pretty sure I've seen some go by. You might search using terms like "ISP", "bandwidth", "network", and "meter".

  • Network and socket programming in python

    i want to learn network and socket programming but i would like to do this in python.Reason behind this is that python is very simple and the only language i know . 
    anybody can suggest me which book should i pick.
    the book should have following specification--
    1)not tedious to follow
    2)lots of example
    3)starts with some networking stuff and then get into codes
    thanks in advance with regards.

    hmm. well, your requirements are almost contradictory.
    Not sure about books, except maybe dusty's.
    Most python books cover at least some network programming (unless the book is topic specific).
    I use lots of python-twisted at work. I mean ALOT. I wouldn't recommend it to someone looking for non-tedious though! I also like gevent/eventlet (esp. the async socket wrappers).
    EDIT: Wow. My post wasn't really helpful at all. Sorry!
    Last edited by cactus (2010-09-04 09:16:54)

  • Mail suddenly hogging network usage

    I have been using the mail app for years and just the other day it started spiking my network usage to the point that I cannot leave mail open at all.
    Initially, the account in question had the loading wheel on it constantly even though there was nothing reported in the mail activity window. After browsing some forums I tried deleting mails prefs but that didn't solve the problem. Now there's no loading wheel but it still hogs network.
    I've read that this may be because I tried to send something with a large attachment, which I recently have, so I'm guessing this is the problem but I have no clue how to fix it. I went on gmail in safari and deleted the large email I sent in the from the sent folder and cleared the trash but this has still not solved my problem.
    Does anyone have any clues that may help me? I just want to use mail again. Thanks.
    -Spencer

    I found this from the user GoldenShoes:
    The problem appears to be in the calendar data you have in Mail, so if you should test that by removing the todos-info.plist file from Home/Library/Application Support/iCal and then restart Mail to see if the problem continues. If not, then you'd need to quit Mail, restore the todos-info-plist file, open iCal and copy all those ToDo items; then remove the todos-info.plist file again, restart iCal and paste the ToDo items back in and save it.
    Then you can restart Mail and see if that solves your problem.
    It worked for me... hope it helps you.

  • Very high cpu usage - no programs running!!

    Hi guys
    Was really hoping someone could help me with this problem.
    There is a constant 50-60% cpu usage and the laptop is getting superhot 80c and obviously sending the fan into overkill 6000rpm+.
    But what is confusing is that is like this all the time!! even when there are no programs running at all!!
    and even worse in activity monitor there is no process which can account for that cpu activity/heat. nothing is clocking in at more than 9%.
    I have done repair permissions, used onyx to clean up the system, use clean my mac, rebuilt the index in spotlight and nothing works. the second you switch on and log on the problems start.
    I cant think of anything else to do apart from doing a complete reinstall which is obviously something i would like to do avoid so any ideas to why this is happening? and how is it possible there can be cpu activity that is not accounted for?
    thanks for any help/advice you guys can provide

    hi Roam
    yeah everything is disconnected, switched off airport as well and then rebooted
    on restart with nothing but terminal open here is the readout from
    Processes: 57 total, 2 running, 55 sleeping, 230 threads 10:46:22
    Load Avg: 1.10, 0.36, 0.14 CPU usage: 36.40% user, 19.90% sys, 43.68% idle
    SharedLibs: 6212K resident, 5708K data, 0B linkedit.
    MemRegions: 5325 total, 166M resident, 15M private, 121M shared.
    PhysMem: 446M wired, 248M active, 234M inactive, 927M used, 1120M free.
    VM: 135G vsize, 1036M framework vsize, 36917(0) pageins, 0(0) pageouts.
    Networks: packets: 40/6356B in, 40/7044B out. Disks: 16108/740M read, 6057/104M written.
    PID COMMAND %CPU TIME #TH #WQ #POR #MRE RPRVT RSHRD RSIZE VPRVT VSIZE PGRP
    262 mdworker 0.1 00:00.24 3 1 50- 73- 2448K- 10M 15M- 33M- 2411M- 262
    254 mdworker 0.0 00:00.18 3 1 50 66 1672K 11M 7488K 31M 2410M 254
    240 top 2.8 00:01.88 1/1 0 27 35 1376K 248K 1940K 17M 2378M 240
    222 bash 0.0 00:00.00 1 0 17 26 396K 248K 1056K 17M 2378M 222
    217 login 0.0 00:00.03 1 0 22 56 520K 248K 2756K 18M 2379M 217
    213 Terminal 1.6 00:03.10 6 1 120 127 4212K 20M 25M 34M 2703M 213
    145 ntpd 0.0 00:00.00 1 0 14 24 88K 940K 308K 156K 2378M 17
    144 activitymoni 0.0 00:01.43 1 0 23 37 724K 244K 1248K 28M 2389M 144
    140 cvmsComp_x86 0.0 00:00.04 1 0 18 35 1708K 10M 6208K 18M 2392M 140
    132 System Event 0.0 00:00.23 2 1 72 114 2700K 9180K 17M 31M 2678M 132
    128 Smart Scroll 0.0 00:00.18 2 1 95- 104- 3080K- 13M 15M- 41M- 2695M- 128
    126 CCacheServer 0.0 00:00.01 2 2 35 54 668K 248K 1668K 41M 2401M 126
    119- Little Snitc 0.0 00:00.15 3 1 99 90 1448K 15M 4640K 31M 896M 119
    118- Little Snitc 0.0 00:00.12 3 1 90 87 1276K 14M 4388K 31M 894M 118
    114 SIMBL Agent 0.0 00:00.12 2 1 84 167 2796K 11M 12M 304M 11G 114
    113 AirPort Base 0.0 00:00.05 4 1 84 87 1588K 14M 11M 31M 2685M 113
    107 UserEventAge 0.1 00:00.29 3 1 157 108 2268K 2092K 11M 41M 2403M 107
    102 pboard 0.0 00:00.00 1 0 22 38 404K 252K 872K 18M 2379M 102
    101 fontd 1.2 00:02.36 3 2 235+ 134+ 7796K- 2036K+ 9492K+ 35M- 2428M+ 101
    98 Finder 0.0 00:01.08 8 3 175 178 5152K 21M 31M 27M 2707M 98
    97 SystemUIServ 0.0 00:00.96 3 1 222 227 8240K 27M 32M 44M 2722M 97
    96 Dock 0.5 00:01.03 4 2 121 181 3244K 26M 23M 17M 2707M 96
    92 launchd 1.0 00:00.47 2 0 468+ 61+ 528K 488K+ 996K+ 38M 2399M+ 92
    86 coreaudiod 0.0 00:00.09 3 1 133 77 1356K 448K 6432K 31M 2393M 86
    78 cvmsComp_x86 0.0 00:00.19 1 0 18 35 1804K 10M 6404K 18M 2392M 78
    76 launchd 0.0 00:00.00 2 0 37 47 316K 432K 708K 38M 2399M 76
    75 cvmsServ 0.0 00:00.00 2 0 45 29 336K 248K 808K 19M 2381M 75
    72- Nalpeirond6 0.0 00:00.01 1 0 14 25 112K 240K 372K 17M 586M 71
    64 ocspd 0.0 00:00.01 1 0 23 27 532K 304K 1280K 17M 2378M 64
    61 socketfilter 0.0 00:00.11 3 1 47 51 1500K 8228K 2904K 29M 2403M 61
    57 WindowServer 0.9 00:03.50 4 1 191 417- 5720K+ 12M- 25M 40M- 2718M- 57
    48 coreservices 4.2 00:02.74 7 4 291+ 162- 2884K 11M 13M+ 17M- 2406M- 48
    47 distnoted 1.0 00:00.50 4 3 62 41 764K 240K 1240K 30M 2390M 47
    46 taskgated 0.7 00:00.33 6 0 50 35 644K 244K 1216K 29M 2389M 46
    45- lsd 0.0 00:00.13 2 1 56 65 832K 10M 2396K 30M 615M 45
    44- qmasterd 0.0 00:00.11 2 1 31 139 1632K 9036K 6212K 29M 622M 44
    41 autofsd 0.0 00:00.00 2 1 29 37 480K 244K 984K 28M 2388M 41
    40 blued 0.0 00:00.12 2 1 63 44 1132K 8116K 4240K 28M 2402M 40
    34 dynamic_page 0.0 00:00.00 1 0 20 24 308K 240K 788K 17M 2378M 34
    32 fseventsd 0.1 00:00.17 12 1 95 64 1236K 244K 1748K 33M 2395M 32
    31 hidd 0.0 00:00.95 4 2 70 48 768K 264K 1524K 30M 2391M 31
    29 KernelEventA 0.0 00:00.00 4 2 33 42 524K 244K 1020K 30M 2390M 29
    28 loginwindow 0.3 00:00.55 2 1 230 116 2340K 13M 8460K 25M 2677M 28
    27 mDNSResponde 0.0 00:00.04 3 1 50 54 900K 280K 1784K 40M 2400M 27
    Plus sorry should have written this on first msg but the most recent change i did to my computer before the problems started was change the Icons for Finder. I have changed it back, was using candybar but still no change. anyway to complete reset icons for finder without having to reinstall?

  • Broadband modem network usage monitor

    Hi all I have a system with 2 computers and networked printer. I know that BT have a broadband usage monitor in my BT . What I would like to know is there a program that will monitor total usage on router and individual usage on each computer.
    dpick1947

    If you're using the home hub then it keeps track of usage. It does reset if your connection drops or you turn off the router though.
    You can get freemeter and install it on each computer. That should give you a good idea.
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the the reply answers your question then please mark as ’Mark as Accepted Solution’

  • High CPU usage and program slowing down

    Hi. I have helped write a program in AS3 that uses classes. We have 2 frames in our movieclip that consists of an ant moving. We have a class of ants and can create 15 instances of them and the program runs fine with the ants walking around looking for food and going back to a corner that is their nest and going back out again. The ants also respond to mouse movement if the mouse pointer is near an ant.
    If we create more than 15 ants, then the program starts to slow down. If we have 30 ants on the screen, then there is noticable stuttering of the ant movement. The CPU usage on a P4 2.5Ghz Pentium is around 50%.
    Is this normal? or is something wrong?
    I would have thought we would be able to scale up the number of ants easily.
    Thanks
    Trev.

    Hi kglad.
    Thanks for the reply.
    I assume enabling cacheAsBitmap is set in the ant class Constructor, as we have tried that and it has helped, see below. We can now create 30 ants with very slight stuttering.
    We have an  ant class as below.
    public class TAnt extends MovieClip { // lots of code here }
    ant Constructor as below.
    public function TAnt(newX: Number, newY: Number, sW: Number, sH: Number, rCyc: Number) {
                this.cacheAsBitmap = true;
               // more code here }
    // We have implemented a Finite State Machine for the ant behaviour.
    regarding the ants using a loop and using a controller class, I am not sure what you mean.
    We are creating instances of the ants in the Ants.fla file which is in the Action file and add each new ant to an array. See below.
    for (var a = 0; a < nAnts; a++) {
        var newAntX = Math.random() * screenWidth;        // randomly generate ant location
        var newAntY = Math.random() * screenHeight;
        var rCyc = Math.random() * 800;
        var ant = new TAnt(newAntX, newAntY, screenWidth, screenHeight, rCyc);            // create ant
        addChild(ant);                                                   // add ant so visible on screen
        ants.push(ant);                                                 // add ant to array
    So we use an array for looping through the ants in the Ants.fla Action file.
    Is this the way you mean?
    Thanks
    Trev.

  • Client can map a network drive but programs can't browse to it

    Greetings.  I have Windows Server 2012 Essentials and this problem has come and gone and come back again but I'm not sure what the solution is:
    I have shares on the server. 
    The client (Windows 8.1) can open the shared folder as a "Mapped Network Drive".  Explorer can open it, browse, modify.  However, Quickbooks can't browse to the drive on the client.  It does not "see" it. Neither can Firefox.
    This is on more than one client.  What I did on the client is added the folder as a "Network location" and this does allow the programs to see the share.  But I would like to know how to make mapped network drives stable and reliable.  If
    anyone has any insights, please let me know.  Thanks. 
    Felix

    Hi Felix,
    Please navigate to the Network location and select this map network drive. Right click it and select Properties.
    In Properties panel, please select Security tab and check if you assign related permission correctly.
    Based on your description, I understand this issue just occurred in those third-party applications (such as
    QuickBooks and so on). So, I find following solution in the QuickBooks website. Please check if can help you to solve this issue.
    QuickBooks does not recognized the mapped
    network drive
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft
    does not guarantee the accuracy of this information.
    Hope this helps.
    Best regards,
    Justin Gu

  • How to determine network issue?

    I have an older RV016 that I just upgraded to the 3.0.2.01 firmware in the hopes it would fix my issue.  It did not.
    I have several devices, that when plugged into the switch slow my network performance.  If I disable the ports these are on, performance resumes to normal speeds.
    With these device ports disabled, I get around 20Mb/s.  With these devices connected, I get less than 1Mb/s, as measured by speedtest.net.  The speed change is instantaneous when enabling or disabling these devices. 
    They are fairly common devices:
    Global Cache GC-100
    Phillips Pronto RFX9600
    Toshiba HD XA2
    Linksys PPSX1 ver. 2
    All other devices I have used so far work fine.  If I move ports, the issue follows the device, not the port.
    How do I determine what is causing the slowdown?  Is there anything I can do to correct this?
    Thanks in advance, Pete

    Hi, My name is Eric Moyers. I am a Network Support Engineer in the Cisco Small Business Support Center. Thank you for using the Cisco Community Post Forums.
    When you said "plugged into the switch" what type of switch are you referring too, or do you mean the RV016? Also have you tried turning the ports on one at a time to see if one is more a culprit than another.
    One thing I would definitely do is run a wireshark analysis on the network with the ports off and then run it against each port to see what type of traffic you get out of each port as it comes up.
    Please feel free to call into the Small Business Support Center and speak with one of the engineers who can help you with this.
    Thanks
    Eric Moyers
    Cisco Network Support Engineer
    SBSC Wireless and Surveillance SME
    CCNA, CCNA-Wireless
    1-866-606-1866

  • How to determine network interface that will be used to send a packet

    Hello,
    I'm writing to you because I encountered the following problem. My program displayes all network interfaces that are available in the system, but I would like to add a functionality in which a user can enter a destination address IP (ex. the IP address of the Google search engine) and will get information which network interface will be used to send it. As I know it is associated with reading information from routing table in the system. Maybe you know the API (functions/methods) which I could use to do it in Solaris ? I program in C/C++, but if you know how to do it in other programming languages (Java, Perl, Python) I will be grateful for any information.
    Thank you for any help, tips and suggestions.
    Best regards,
    Foxrafi

    Thank you for your response it was very helpful :).
    I went to the OpenSolaris webpage because I would like to find the code of this command, but unfortunately I don't know where I should start my searches.
    There is a page with source code of basic commands, but there is no "route" command: here .
    Maybe you are better enlightened where I should start.
    Thank you for answer.
    Foxrafi

  • Best anonymous scan utility to determine network device/OS type

    The problem is to scan a network Ip range from an anonymous host and determine what type of devices residing on that network. Here are some device criteria:
    1) May be Cisco, 3com, HP, etc. Device manufacturer is unknown
    2) Device might be firewall, switch, hub, router, etc.
    3) Device may be managed to a limited extent. In other words, most management protocol may be shutdown.
    4) Do not have logins, password or SNMP RO/RW string for these devices.
    What is the best app that can run from windows or Linux that could determine with the greatest degree of success, what types of devices these are?
    Some general ideas: OIDView, Nessus, NMAP, SW toolset?
    thx in advance,
    Will

    1.  GetIf
    2.  Angry IP Scanner (aka Angryzibber)
    3.  Solarwinds
    NOTE:  Nearly all anti-virus/anti-spyware company classifies Angry IP Scanner as a malicious code.

  • How to determine network bandwidth for EP 6.0 implementation

    Hi
         can you please guide me how to determine the network bandwith requirment for SAP EP6.0 implementation for smoother operation
    Thanks & Regards
    Ashutosh

    Hi Ashutosh,
    luckily network bandwidth is mostly not a problem as long as it is not very small, e.g. a modem dial-up 56kbps connection on client side. To make sure that the server side outgoing line is strong enough, you'd need to do some math and calculate from the expected request volume how much bandwidth you'd need. Some guidance might be taken out of the how to paper under this link:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how to perform sap enterprise portal load testing.zip.
    Check chapter 2.4 in the pdf file.
    For "smooth operation" you'd need network wise not only worry about bandwidth but also about network latency times and sometimes network quality in regard to % package losses or similar. If your end users are more then 1000 miles away you usualy start seeing response time increases from latency times...
    The impacts of networking on performance are many, but so are the tuning possibilities. If you have a lot of end-users accessing EP over a WAN, perhaps even over the Internet, and if they do so over long distance you might want to make EP landscape WAN tuning a dedicated task in your project.
    In addition the network requirements of Portal are discussed in this paper : http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000757275&_SCENARIO=01100035870000000112&_OBJECT=011000358700003943521999E , chapter  3.5.2 Enterprise Portal.
    Best Regards, Joerg

  • What can I do to stop high network usage when a Samba share is mounted?

    Ok, so i've done a lot of googling on this, but i've not really found any conclusive answers.
    Basically, when I mount a samba share from another machine, Lion goes crazy. I can see from iStat menus that network (wireless) usage varies wildly from 300KB/s, right up to 6/7 MB/s, but my cpu usage doesn't spike at all. When this is happening the laptop is almost unusable, clicking something can take 30 seconds for a response. I'm presuming that this is something to do with Spotlight trying to index the share, but as it's several terabytes in size, it never completes. I've left the laptop on overnight in the hope that whatever process is causing this would finish, but to no avail. I've also placed the share in the Privacy tab in Spotlight's preferences, and used mdutil -i to stop it accessing the volume, but with no luck.
    Can anyone help? It's driving me nuts and it means i can't access my files without having to ftp in instead.
    I'm running 10.7.3

    Unfortunately, your description of the problem and the placement of both your main and AirPort Express routers does lend itself to believe the problem is most likely Wi-Fi interference. If it isn't the microwave or portable phones, it could be obstacles like walls between the routers that may be preventing the stream from consistently reaching the Express.
    In your configuration, the stream will first travel to the main router, and then, from the main router to the AirPort Express. If, for example, you started the stream in the same room as the Express, that stream would have to travel across several rooms at least twice.

  • How to determine memory usage?

    Is there something built into OSX that permits me to monitor and/or log memory usage?
    I use Logic Pro and FCP and would like to know if I reaching the limits of my memory (4GB) with the type of work I do.
    Thanks, Rob.

    How To Determine Your Memory Needs >>
    -Bmer
    Mac Owners Support Group
    Join Us @ MacOSG.com
    ITMS: MacOSG Podcast
     An Apple User Group 
    Disclaimer required by Apple Discussions Terms of Use: MacOSG - a non-profit Apple User Group - may receive some form of compensation, financial or otherwise, from my recommendation or link.

Maybe you are looking for

  • BW Workbook as an iView in the Enterprise Portal

    I keeping getting a dialog box asking to select the appropriate program to open the workbook. When I select .xls it opens, and it shows the parameters I entered and not the workbook. The customer is on NW04 Stack 11. I followed ever step on help.sap.

  • X-Fi Extreme Mu

    What has happened to support(esp in Vista) for the drivers for the X-Fi Xtreme Music card. When I look for drivers in the downloads section there is no mention of the Xtreme Music card anymore. This is not an old card. Whats going on Creative. BTW th

  • Blocked Invoices in Table VFX3 KNVV table ?

    Hi All, Can someone please tell me how i can realease a blocked invoice in table VFX3 KNVV ? Thank you Priya Points will be assigned

  • Reg::  Error ZS 128 error  in R3 occuring while date transfering via XI

    Hi! Gurus, Actually I am involving in Production Support Project. Process is Customer is ordering in Store front site and it was moving towards Via Storefront>Webmethods>XI-->R3 and after Getting Sales order quotatiion it moving in reverse order. But

  • Why can't I open Captivate 7 after installing Yosemite

    I installed Yosemite and now I can't open Adobe Captivate 7.  Any ideas?