Gathering CPU/RAM usage?

Hello everyone, I'm fairly new to Java but have a decent amount of C experience. I'm trying to build somewhat of a very low level monitoring tool in Java, but can't find out the simplest way to get current CPU/RAM usage. I've ran into many references to the Java Management Extensions (JMX), but can't find any basic documentation on any functions that might help me out.
If anyone can point me in the right direction on how to gather the CPU/RAM usage I will be very grateful, thanks for your time.

Theres no way to get this through the "MBeans"?
Taken from this URL:
http://java.sun.com/developer/technicalArticles/J2SE/jconsole.html#OSResources
"The JDK 5.0 extends the Operating System MBean to include certain OS resource information such as:
* the process CPU time
* the amount of total and free physical memory"
Doesn't that mean theres some way to directly get (at least) the RAM usage without having to write platform specific JNI code? Or am I missing something?

Similar Messages

  • Is there a documented correlation between high CPU/RAM usage and poor system performance?

    I realize this subject is not black and white and has quite a bit of depth to it as high usage of either the CPU or RAM does not necessarily mean that a computer is running slowly.
    However, is there any documentation, scientific research or academic journal that makes a correlation between poor system performance and the consumption of system resources.
    It goes without saying that if you use all your RAM then there won't be any available for additional programs, but can this be substantiated with metrical data?

    Check this:
    http://superuser.com/questions/78362/what-is-the-relationship-between-cpu-usage-and-ram
    http://www.computermemoryupgrade.net/memory-influence-on-performance.html
    Fouad Roumieh

  • ISE dashboard not showing CPU RAM usage for Admin/monitor and PSN

    Hello,
    I have a distributed deployment in pilot with one node dedicated to Admin/Monitoring and another dedicated to PSN.
    On the dashboard, (httping to the admin node) neither of the nodes show their CPU and RAM stats (appear as grey icon).
    logging to 20514 is pointing to the primary admin node.
    Does anybody have any insight?
    Have already resynched deployment with no success.
    Thanks
    Gustavo.

    Hi shekharmore003
    Here's the info (please check the screenshot I've just uploaded)
    hqbusxam03/adminet# sh cpu statistics
    user time:            4017788
    kernel time:           561260
    idle time:          424602418
    i/o wait time:        2737451
    irq time:               61331
    hqbusxam03/adminet# sh memory
    total memory:    3997824 kB
    free memory:      573840 kB
    cached:          1756508 kB
    swap-cached:           0 kB

  • Excessive Front Row RAM usage?

    I have a Mac Mini, 1.6GHz Core Duo, 2GB RAM, that I use permanently connected to our TV. It's running Leopard, fully patched to 10.5.2. We have Front Row running pretty much permanently on it, and nothing else at all, except for Activity Monitor sometimes. There are 19GB free on the HDD, and the full 2GB is recognized.
    I've noticed recently that Front Row will begin to slow down. It will start to take a second or two to respond to Remote key presses, movies will start to stutter, sometimes with audio playing but with frozen video.
    When this happens, and I exit out of Front Row to the desktop, Activity Monitor shows Front Row using more than 1GB RAM. Killing Front Row and restarting it results in much faster Remote responses, and no longer any video issues. But it eventually comes back ... and the impression I have now is that the times between restarts is getting shorter.
    About a month ago I switched to another account, and it seemed to be fixed, but the issue has returned in the past week.
    I don't see anything relevant in the system logs, but maybe I'm looking the wrong place.
    Has anyone else had this problem or can think of anything that might be a cause? I have Googled and found nothing seemingly relevant. I have two other Macs that don't show this problem, but they are not running as home theater computers.
    Thanks for any hints.

    Thanks so much for this advice. I took the steps you advised:
    1. As for clearing the caches, I could not locate the three mobileme cache files you list. I deleted the other cache file and moved the plist file to the Desktop. Problem was not solved.
    2. I logged into another user account on my computer (an old user account I never deleted), and it appears at first glance at least that the problem does NOT exist in that account. (Hard to say for sure, because the spike in CPU/RAM usage is not constant and does not always appear right away. I waited a few minutes and didn't see the spike.)
    3. Back in my user account, I ran OnyX to repair permissions and do a general system clean-up. No change.
    So if there is a corrupt file or folder, how can I identify and fix it?
    Thanks again for your help.
    Matt

  • Where to see CPU and RAM usage in IPAD 1

    Hi:-)
    While i have Apps running , I would like to be able to see CPU and RAM in use..and ideas how/where?
    Thanks

    There are several apps in the app store that can show you cpu and ram usage of your device, e.g. "system info"

  • High RAM usage when system is 'idle' (EtreCheck)

    Hey guys,
    First timer here. Ok here's my question :
    I recently bought a secondhand Macbook pro 15 inch. For me it's a huge upgrade coming from a 2009 13 inch Macbook pro. Because a friend of mine wants to buy my old one I was doing some diagnostics on the 13 inch, which has 4 GB of RAM, and found out it had a lot of inactive RAM usage and wired usage, almost 2 GB, due to a lot of launchdaemons etc which were hogging the RAM. I used terminal to kill these agents and deamons and now that system is running smooth again. Maybe it's wise to mention that the 13 inch runs on ML.
    3 days ago I did a clean Yosemite install on the 15 inch, swapped the HDD for a SSD. And already the activity monitor shows a whopping 4,28 GB of RAM usage while I'm typing this with just safari open. I thought I could do the same trick as I did with my 13 inch but it didn't help, had some java deamons and helpers and deleted those. In terminal I looked up everything via launchctl list and there's nothing unusual going on as far as I can see. I had VirtualBox for one day but uninstalled it using their uninstaller. I have no clue what's eating all this RAM.  Please help me out so I can be a proud owner of my second macbook for atleast 5 years to come. Thanks in advance.
    EtreCheck version: 2.1.8 (121)
    Report generated 15 februari 2015 08:45:30 CET
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (15-inch, Mid 2012) (Technical Specifications)
        MacBook Pro - model: MacBookPro9,1
        1 2.6 GHz Intel Core i7 CPU: 4-core
        8 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1600 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1600 MHz ok
        Bluetooth: Good - Handoff/Airdrop2 supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 685
    Video Information: ℹ️
        Intel HD Graphics 4000
            Color LCD 1680 x 1050
        NVIDIA GeForce GT 650M - VRAM: 1024 MB
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 0:52:24
    Disk Information: ℹ️
        Samsung SSD 840 EVO 500GB disk0 : (500,11 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 498.88 GB (457.96 GB free)
                Core Storage: disk0s2 499.25 GB Online
        HL-DT-ST DVDRW  GS31N 
    USB Information: ℹ️
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Computer, Inc. IR Receiver
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
    Firewire Information: ℹ️
        Iomega eGo HDD 800mbit - 800mbit max
            disk2s1 (disk2s1) <not mounted> : 32 KB
            disk2s2 (disk2s2) <not mounted> : 29 KB
            disk2s3 (disk2s3) <not mounted> : 29 KB
            disk2s4 (disk2s4) <not mounted> : 29 KB
            disk2s5 (disk2s5) <not mounted> : 29 KB
            disk2s6 (disk2s6) <not mounted> : 262 KB
            disk2s7 (disk2s7) <not mounted> : 262 KB
            disk2s8 (disk2s8) <not mounted> : 262 KB
            Iomega_HDD (disk2s10) /Volumes/Iomega_HDD : 319.94 GB (30.10 GB free)
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Launch Agents: ℹ️
        [unknown]    com.oracle.java.Java-Updater 06.40.36.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [unknown]    com.oracle.java.Helper-Tool 07.05.30.plist [Click for support]
    User Login Items: ℹ️
        iTunesHelper    Programma  (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
    Internet Plug-ins: ℹ️
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        JavaAppletPlugin: Version: Java 8 Update 31 Check version
        Default Browser: Version: 600 - SDK 10.10
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        Java  [Click for support]
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
             4%    WindowServer
             1%    fontd
             0%    sysmond
             0%    AppleSpell
             0%    notifyd
    Top Processes by Memory: ℹ️
        198 MB    com.apple.WebKit.WebContent
        172 MB    Safari
        94 MB    mds_stores
        86 MB    WindowServer
        43 MB    Dock
    Virtual Memory Information: ℹ️
        4.07 GB    Free RAM
        2.79 GB    Active RAM
        816 MB    Inactive RAM
        904 MB    Wired RAM
        1.25 GB    Page-ins
        0 B    Page-outs
    Diagnostics Information: ℹ️
        Feb 15, 2015, 07:53:01 AM    Self test - passed
        Feb 12, 2015, 09:53:18 AM    /Users/[redacted]/Library/Logs/DiagnosticReports/Live_2015-02-12-095318_[redact ed].crash

    This machine has not run out of RAM.
    Virtual Memory Information: ℹ️
        4.07 GB    Free RAM
        2.79 GB    Active RAM
        816 MB    Inactive RAM
        904 MB    Wired RAM
        1.25 GB    Page-ins
        0 B    Page-outs
    The page outs indicate the OS has not recently swapped any memory to disk.
    Apple made changes to 10.9 that are the same on 10.10. Memory will be used as much as possible. It is the fastest storage on the system, keeping it free is a waste of your time - data loads fastest from RAM.
    This is a good explanation…
    http://arstechnica.com/apple/2013/10/os-x-10-9/17/#compressed-memory
    The system also frees 'cache' memory when another process has more need to use it. Eventually it will swap to disk (which is slow) so the OS also compresses memory before swapping is needed.
    Please avoid killing launchd jobs, many will simply restart or relaunch again later. Eventually you may kill one that hangs the OS & corrupts the disk via a forced shutdown.
    I do suspect you may see issues when RAM does get low, but there is no evidence of that here. The memory pressure graph will show red when swapping - every other colour is fine. Wait until you see red & then note the top memory users.
    If you don't want java installed you need to find removal instructions & get it all off the system, simply stopping the update checks will leave Java in an old state - terrible for security.
    Also do you know what 'Live' is? It crashed recently, if it keeps doing that it may be worth a look, however it may just be one if the things that was effects by the killing spree

  • Why does closing all open windows (15) and leaving only one drop ram usage from 1.5 to 1.4Gb and not more.

    Why does closing all open windows (15) and leaving only one drop ram usage by only 100mb from 1.5 to 1.4Gb.
    What is in this 1.4 gb ?
    I don't care much about ram, It's just that cpu usage spike like crazy by the end.
    ''Edited to remove swearing - TonyE''

    Hi musicfan,<br />Sorry you are having problems with Firefox. Maybe you should have asked earlier and we could have fixed it.
    Reading your comments I do not see that rolling back to an insecure Firefox 22 will actually help you much. You are probably best using IE, unless you have also damaged that.
    *[[Export bookmarks to Internet Explorer]]
    You should not use old versions they are insecure. Security fixes are publicised and exploitable.
    * [[Install an older version of Firefox]]
    * https://www.mozilla.org/security/known-vulnerabilities/firefox.html
    Most others will not be having such problems. We are now able to say that with confidence because after developers missed a regression in Firefox 4 telemetry was introduced so that data was obtained. It may be an idea to turn on your telemetry, if you have not already done so, and decide to stick with Firefox.
    *[[Send performance data to Mozilla to help improve Firefox]]
    Trying safe mode takes seconds. Unfortunatly if you are not willing to do even rudimentary troubleshooting there is not anything we can do to help you.
    *[[Troubleshoot Firefox issues using Safe Mode]]

  • High kernel_task RAM Usage in Yosemite 10.10.1

    Hello All,
    No matter what I'm running, I always have high RAM usage with kernel_task. I've looked around the other threads and never found a definitive solution. I wouldn't call it crippling to my system but I would like to resolve the issue. Below is a screenshot of my activity monitor, and my Etrecheck run. Please let me know anything I can do to reduce the RAM usage of this process.
    Problem description:
    High kernel_task RAM Usage (800MB - 1.5GB)
    EtreCheck version: 2.1.5 (108)
    Report generated December 18, 2014 at 10:49:34 PM EST
    Click the [Support] links for help with non-Apple products.
    Click the [Details] links for more information about that line.
    Click the [Adware] links for help removing adware.
    Hardware Information: ℹ️
      MacBook Pro (15-inch, Late 2011) (Verified)
      MacBook Pro - model: MacBookPro8,2
      1 2.2 GHz Intel Core i7 CPU: 4-core
      16 GB RAM Upgradeable
      BANK 0/DIMM0
      8 GB DDR3 1333 MHz ok
      BANK 1/DIMM0
      8 GB DDR3 1333 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      Intel HD Graphics 3000 - VRAM: 512 MB
      Color LCD 1440 x 900
      AMD Radeon HD 6750M - VRAM: 512 MB
    System Software: ℹ️
      OS X 10.10.1 (14B25) - Uptime: 0:36:30
    Disk Information: ℹ️
      WDC WD1001X06X-00SJVT0 disk0 : (1.12 TB)
      EFI (disk0s1) <not mounted> : 210 MB
      SSD (disk0s2) / : 119.69 GB (61.10 GB free)
      Macintosh HD (disk0s3) /Volumes/Macintosh HD : 1.00 TB (529.88 GB free)
      HL-DT-ST DVDRW  GS31N 
      ST1000LM024 HN-M101MBB disk1 : (1 TB)
      disk1s1 (disk1s1) <not mounted> : 32 KB
      HD-PATU3 (disk1s3) /Volumes/HD-PATU3 : 1.00 TB (196.18 GB free)
    USB Information: ℹ️
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Inc. BRCM2070 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
      BUFFALO INC. HD-PATU3
    Configuration files: ℹ️
      /etc/hosts - Count: 15
    Gatekeeper: ℹ️
      Anywhere
    Kernel Extensions: ℹ️
      /System/Library/Extensions
      [not loaded] com.rane.driver.sixtyeight.10.6 (1.1.2f4) [Support]
      [not loaded] com.rane.driver.sixtyone.10.6 (1.0.0f1 - SDK 10.6) [Support]
      [not loaded] com.rane.driver.sixtytwo.10.6 (1.0.0f1 - SDK 10.6) [Support]
      [not loaded] com.rane.driver.sl2.10.6 (1.0.1f3) [Support]
      [not loaded] com.rane.driver.sl3.10.6 (1.3.2f6) [Support]
      [not loaded] com.rane.driver.sl4.10.6 (1.0.1f3 - SDK 10.6) [Support]
      [loaded] com.serato.usb.kext (2.3.0) [Support]
      /Volumes/Macintosh HD/Applications/MATLAB_R2015a.app
      [not loaded] com.mathworks.sldrtkrn (5.0.0 - OS X 10.8) [Support]
      /Volumes/Macintosh HD/Applications/SoundTap.app
      [not loaded] com.NCHSoftware.driver.SoundTapVirtualAudioDevice (1.0.0d1) [Support]
      /Volumes/Macintosh HD/Applications/Tunnelblick.app
      [not loaded] net.sf.tuntaposx.tap (1.0) [Support]
      [not loaded] net.sf.tuntaposx.tun (1.0) [Support]
      [not loaded] net.tunnelblick.tap (1.0) [Support]
      [not loaded] net.tunnelblick.tun (1.0) [Support]
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist [Support]
    User Launch Agents: ℹ️
      [loaded] com.adobe.ARM.[...].plist [Support]
      [failed] com.facebook.videochat.[redacted].plist [Support]
      [invalid?] com.valvesoftware.steamclean.plist [Support]
      [loaded] net.tunnelblick.tunnelblick.LaunchAtLogin.plist [Support]
    User Login Items: ℹ️
      MacOS Folder (/Applications/Steam.app/Contents/MacOS)
      Alarm Clock ApplicationHidden (/Applications/Alarm Clock.app)
    Internet Plug-ins: ℹ️
      JavaAppletPlugin: Version: Java 8 Update 25 Check version
      o1dbrowserplugin: Version: 5.38.6.0 - SDK 10.8 [Support]
      Unity Web Player: Version: UnityPlayer version 3.5.6f4 - SDK 10.6 [Support]
      Default Browser: Version: 600 - SDK 10.10
      AdobePDFViewerNPAPI: Version: 10.1.13 [Support]
      FlashPlayer-10.6: Version: 16.0.0.235 - SDK 10.6 [Support]
      Silverlight: Version: 5.1.20513.0 - SDK 10.6 [Support]
      Flash Player: Version: 16.0.0.235 - SDK 10.6 [Support]
      QuickTime Plugin: Version: 7.7.3
      googletalkbrowserplugin: Version: 5.38.6.0 - SDK 10.8 [Support]
      SharePointBrowserPlugin: Version: 14.4.6 - SDK 10.6 [Support]
      AdobePDFViewer: Version: 10.1.13 [Support]
      DirectorShockwave: Version: 11.6.6r636 [Support]
    Audio Plug-ins: ℹ️
      DVCPROHDAudio: Version: 1.3.2
      SeratoVirtualAudioPlugIn: Version: 1.0.11 [Support]
      Hear: Version: 1.1.1 - SDK 10.5 [Support]
    3rd Party Preference Panes: ℹ️
      Flash Player  [Support]
      Java  [Support]
      SIXTY-EIGHT Audio Control Panel  [Support]
      SL 2 Audio Control Panel  [Support]
      SL 4 Audio Control Panel  [Support]
      TimeMachineScheduler  [Support]
    Time Machine: ℹ️
      Skip System Files: NO
      Mobile backups: OFF
      Auto backup: YES
      Volumes being backed up:
      SSD: Disk size: 119.69 GB Disk used: 58.59 GB
      Destinations:
      HD-PATU3 [Local]
      Total size: 1.00 TB
      Total number of backups: 44
      Oldest backup: 2013-12-25 21:46:07 +0000
      Last backup: 2014-12-16 21:41:48 +0000
      Size of backup disk: Excellent
      Backup size 1.00 TB > (Disk size 119.69 GB X 3)
    Top Processes by CPU: ℹ️
          12% Google Chrome Canary
          1% WindowServer
          0% fontd
          0% hidd
          0% GoogleTalkPlugin
    Top Processes by Memory: ℹ️
      275 MB Google Chrome Canary
      241 MB iTunes
      172 MB mds_stores
      155 MB Finder
      134 MB Google Chrome Helper
    Virtual Memory Information: ℹ️
      10.95 GB Free RAM
      3.59 GB Active RAM
      777 MB Inactive RAM
      1.85 GB Wired RAM
      2.81 GB Page-ins
      0 B Page-outs
    Diagnostics Information: ℹ️
      Dec 18, 2014, 10:13:38 PM Self test - passed
      Dec 18, 2014, 10:05:52 PM /Library/Logs/DiagnosticReports/backupd_2014-12-18-220552_[redacted].cpu_resour ce.diag [Details]

    The kernel_task memory usage is normal.

  • Questions about mpd and sonata ram usage

    Hi again!
    I'm very impressed with mpd and i really love the sonata client with it's cover art , lyrics fetching features .
    I've noticed that mpd uses about 13 mb ram and sonata 16 mb of ram. I have about 6 albums in my library .
    I was just wondering if it is normal for mpd and sonata to use that ram .
    I have enough ram about 1gb so it's not an issue , i'm just curious if this is normal
    Also i've noticed that with mpd and sonata the cpu usage is much lower than with audacious when playing files , but the ram usage with mpd is higher
    Thanks again
    Last edited by shak (2010-06-10 12:15:25)

    Hmmm...I have Arch64 with a 15,000 collection, MPD uses 9.8MB and Sonata uses 52.5.MB, whether there are songs in the playlist or not.

  • [XFCE4] ram usage problem

    when i using xubuntu with xfce ram usage was ~120-160 with only pidgin and xchat
    but on arch with xfce ram using just on start up ~160 and it with out any apps..
    what the problem?

    2b9anders
    im using htop
    im install xubuntu to comare them.xubuntu show me ~220mb ram WTF???
    and I compare htop logs of them
    in xubuntu:
    panel plugins(like language layouts,cpu load...) using about 10mb each.
    X using about ~80-100mb
    in arch:
    p.p. using about 20mb each
    X using about 40-60mb of ram.
    when i will be at home i'll paste screens of htop on xubuntu and arch
    P.S. sry for my english ^^

  • [T410i] RAM usage, hight temperature, battery

    Hi all, in this pc I've got two OSs. Ubuntu 12.04 and windows 7. With the fist I haven't got any problems, the RAM (3GB) usage is usually around 33%, but always under 50%. The temperatures are high, but it is quite normal, maybe the termal paste has low power to cold down them.
    The problems arrive with windows 7. I disabled a lot of startup application, but after the boot, RAM usage is already over 50%. With Avira-realtime, after 2 minutes the percentage was over 80%. I disabled it.
    Mozilla used a lot of memory too, now I'm just writing this post with chrome and nothing else, and the RAM usage is at 72%. 
    The CPU temperatures are always over 48°C (Here in Italy it is summer) but with ubuntu are less.
    These problems are increased with battery, It is impossible to use the pc. I did a scan with malwarebytes (in safe mode) and everything seemed ok. How can I solve at least the RAM problem in win 7?
    Regards

    peets wrote:If you have a lot of memory, why not make use of it? I'm assuming this is a home/desktop computer. It's nice to have features like  caching of web pages, music, etc. or fancy 3D effects, if it doesn't slow down your regular use. I use up lots of RAM to speed up my daily computer use.
    256 MB of ram. I too enjoy a featurefull desktop, but speed is equally imperative. e17 gives you something of both worlds.
    quick question. It seems the only thing I really need from my xorg.conf is the keyboard configuration as it figures out the rest pretty well without a configuration file. Could I delete everything else from xorg.conf and have it autoconfigure the rest?

  • Router RAM usage

    Hi,
    i have a Question to Router RAM usage.
    My Router have 512MB of Memory.
    When i do a "show version" I get this otput:
    Cisco ********* processor with 491520K/32768K bytes of memory.
    This means 491MB for CPU and 32MB for IO.
    Now i do a "show memory" and get this output:
                    Head    Total(b)     Used(b)     Free(b)   Lowest(b)  Largest(b)
    Processor   6353EB60   430707644    14276428   416431216   416363448   413930428
          I/O    E000000    33554432     1884520    31669912    31669912    31669884
    Now here are only 430MB Total RAM for the Processor. Why this? What is with the other 60MB Memory? How does these values are in context with the Output of a  "show region"?
    Region Manager:
          Start         End     Size(b)  Class  Media  Name
    0x0E000000  0x0FFFFFFF    33554432  Iomem  R/W    iomem
    0x60000000  0x7DFFFFFF   503316480  Local  R/W    main
    0x60008EF8  0x6204F18B    33841812  IText  R/O    main:text
    0x62050000  0x6303FE1F    16711200  IData  R/W    main:data
    0x6303FE20  0x6353EB5F     5238080  IBss   R/W    main:bss
    0x6353EB60  0x6453EB5F    16777216  Local  R/W    main:heap
    0x7D000000  0x7DFFFFFF    16777216  Local  R/W    main:heap
    0x7E000000  0x7FFFFFFF    33554432  Iomem  R/W    iomem:(iomem_cwt)
    0x80000000  0x8DFFFFFF   234881024  Local  R/W    main:(main_k0)
    0xA0000000  0xADFFFFFF   234881024  Local  R/W    main:(main_k1)
    Thank in advance
    Thomas

    hello Thomas,
    in order to understand the difference between both output, i would highly recommend you to go through the following mentioned example:
    the output of the show version indicate the physical amount of memory... however, the following mentioned memory summary indicate the >>>>>> allocated + total == process memeory...
    Router>show memory summary
                Head       Total (b)   Used (b)  Free (b)   Lowest (b)  Largest (b)
    Processor   60AB4ED0   5550384     2082996   3467388    3464996     3454608
    I/O         40000000   16777216    1937280   14839936   14839936    14838908
    Total = the total amount of memory available after the system image loads and builds its data structures.
    Used = the amount of memory currently allocated.
    Free = the amount of memory currently free.
    Lowest = the lowest amount of free memory recorded by the router since it was last booted.
    Largest = the largest free memory block currently available.
    Here is what you can learn from the show processes memory command output:
    Router>show processes memory
    Total: 3149760, Used: 2334300, Free: 815460
    PID   TTY   Allocated    Freed      Holding    Getbufs    Retbufs   Process
    0     0     226548       1252       1804376    0          0         *Initialization*
    0     0     320          5422288    320        0          0         *Scheduler*
    0     0     5663692      2173356    0          1856100    0         *Dead*
    1     0     264          264        3784       0          0         Load Meter
    2     2     5700         5372       13124      0          0         Virtual Exec
    3     0     0            0          6784       0          0         Check heaps
    4     0     96           0          6880       0          0         Pool Manager
    5     0     264          264        6784       0          0         Timers
    Allocated = the total amount of bytes that have been allocated by the process since the router booted...
    Total = the total amount of memory available after the system image loads and builds its data structures.
    so if you add the above allocated memory to the Total amount of memory, this should be equal to the process Pool >>> physical Dram...
    please refer to the following link for more info:
    http://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_tech_note09186a00800a6f3a.shtml
    hope this helps...
    thanks,
    /Osama

  • Macbook Pro CPU system usage up to 98% for no reason

    Hi
    I really hope someone can help me out here as I am really lost at the moment. This is my first post so I apologise in advance in case I posted in the wrong forum.
    I updated my Macbook Pro (late 07 model) last week with 10.5.7 and smc 1.3 (software update not combo). My MBP has 4GB ram, all previous updates installed without any hitches and no new programs installed.
    Ever since then I have been having trouble with my MBP, mainly it would get really sluggish after one hour (almost to the second, no kidding, I timed it). I use Activity Monitor and Console to see what's hogging the machine can see that the CPU system usage goes to 95%+ while no new activities/programs have been launched.
    I tried many 'remedies' such as reinstalled the update using the combo download, disabled spotlight, disabled mobileme, reset smc/pram, turned off screen sharing and all to no avail.
    I reside in Asia bought my MBP here and therefore don't get to call Apple and ask their technicians and the two advises I got from the dealers here are (1) I am now a proud owner of a MBP brick and (2) I might get a chance to 'resurrect' it when there's a smc 1.4 update.
    Any help is appreciated.
    Thanks.
    It then gets

    Yes you are right. I did not ask AM to 'Show All Processes' just 'My Processes'. After reading your post I restarted my MBP, started AM straight away, chose 'Show All Processes' and waited... Sure enough, the most likely 'culprit' is 'AgentDaemon'.
    After some googling I found that it maybe related to a program called 'Network Magic' which I have been using for a year and a half and survived previous system upgrades by Apple.
    I shall look for a way to safely and cleanly remove this program from my system.
    Thank you very much for your help.
    Cheers.
    Message was edited by: lombarb

  • Kernel_task high RAM usage

    Hi everybody,
    I have same problem on both iMacs i use (iMac9,1 and iMac10,1). Both updated from Maveriks to Yosemite some months ago and since last 2 weeks kernel_task "eat" to much RAM.
    I tried to solve with all kind of resets, move files from ACPI_SMC _PlatformPlugin.kext, hardware test, reinstall and restore from time machine and finaly also with a complete clean reinstall (without TM restore!). But kernel_task run with too much RAM usage.
    I feel frustrated and I seem to be back like Windows users!
    So, i think problem could be associated to some software upgrade (DropBox? Skype? Osx update? don't know). Anyone knows if there are usefull debugs system log for kernel_task usage?
    This is log from EtreCheck of iMac9,1
    EtreCheck version: 2.1.8 (121)
    Report generated 13 marzo 2015 16:32:54 CET
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Click the [Adware! - Remove] links for help removing adware.
    Hardware Information: ℹ️
        iMac (24-inch, Early 2009) (Verified)
        iMac - model: iMac9,1
        1 2.66 GHz Intel Core 2 Duo CPU: 2-core
        8 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1067 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1067 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
        NVIDIA GeForce 9400 - VRAM: 256 MB
            iMac 1920 x 1200
            HP LP2065 1200 x 1600 @ 60 Hz
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 7:21:25
    Disk Information: ℹ️
        WDC WD6400AAKS-40H2B0 disk0 : (640,14 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 639.28 GB (400.31 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
        OPTIARC DVD RW AD-5670S
    USB Information: ℹ️
        Iomega Iomega eGo HDD 500,11 GB
            EFI (disk2s1) <not mounted> : 210 MB
            Backup (disk2s2) /Volumes/Backup : 499.76 GB (417.61 GB free)
        Western Digital My Book 111A 1 TB
            disk1s1 (disk1s1) <not mounted> : 32 KB
            AleTM (disk1s5) /Volumes/AleTM : 200.00 GB (69.55 GB free)
            Archivio (disk1s7) /Volumes/Archivio : 599.77 GB (456.78 GB free)
        Apple Inc. Built-in iSight
        Apple, Inc. Keyboard Hub
            Mitsumi Electric Apple Optical USB Mouse
            Apple, Inc Apple Keyboard
        Apple Computer, Inc. IR Receiver
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
    Configuration files: ℹ️
        /etc/hosts - Count: 1
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Adware: ℹ️
        Conduit [Adware! - Remove]
    Kernel Extensions: ℹ️
            /Library/Application Support/VirtualBox
        [loaded]    org.virtualbox.kext.VBoxDrv (4.3.18) [Click for support]
        [loaded]    org.virtualbox.kext.VBoxNetAdp (4.3.18) [Click for support]
        [loaded]    org.virtualbox.kext.VBoxNetFlt (4.3.18) [Click for support]
        [loaded]    org.virtualbox.kext.VBoxUSB (4.3.18) [Click for support]
            /System/Library/Extensions
        [not loaded]    com.intel.kext.intelhaxm (1 - SDK 10.6) [Click for support]
        [loaded]    com.logmein.driver.LogMeInSoundDriver (1.0.3 - SDK 10.5) [Click for support]
    Problem System Launch Daemons: ℹ️
        [failed]    org.postfix.master.plist [Click for details]
    Launch Agents: ℹ️
        [not loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [loaded]    com.adobe.AdobeCreativeCloud.plist [Click for support]
        [running]    com.bjango.istatmenusagent.plist [Click for support]
        [loaded]    com.divx.dms.agent.plist [Click for support]
        [loaded]    com.divx.update.agent.plist [Click for support]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [failed]    com.leapmotion.Leap-Motion.plist [Click for support] [Click for details]
        [not loaded]    com.logmein.logmeingui.plist [Click for support]
        [not loaded]    com.logmein.logmeinguiagent.plist [Click for support]
        [not loaded]    com.logmein.logmeinguiagentatlogin.plist [Click for support]
        [loaded]    com.oracle.java.Java-Updater.plist [Click for support]
        [not loaded]    com.teamviewer.teamviewer.plist [Click for support]
        [not loaded]    com.teamviewer.teamviewer_desktop.plist [Click for support]
        [running]    net.culater.SIMBL.Agent.plist [Click for support]
        [loaded]    org.macosforge.xquartz.startx.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.adobe.SwitchBoard.plist [Click for support]
        [loaded]    com.barebones.authd.plist [Click for support]
        [loaded]    com.barebones.textwrangler.plist [Click for support]
        [running]    com.bjango.istatmenusdaemon.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [failed]    com.leapmotion.leapd.plist [Click for support]
        [not loaded]    com.logmein.logmeinblanker.plist [Click for support]
        [not loaded]    com.logmein.logmeinserver.plist [Click for support]
        [loaded]    com.logmein.raupdate.plist [Click for support]
        [loaded]    com.opendoor.doorstopdaemon.plist [Click for support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Click for support]
        [loaded]    com.teamviewer.Helper.plist [Click for support]
        [not loaded]    com.teamviewer.teamviewer_service.plist [Click for support]
        [loaded]    com.vmware.launchd.vmware.plist [Click for support]
        [loaded]    org.macosforge.xquartz.privileged_startx.plist [Click for support]
        [not loaded]    org.virtualbox.startup.plist [Click for support]
        [loaded]    org.wireshark.ChmodBPF.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [failed]    [email protected] [Click for details]
        [running]    com.nds.pcshow.plist [Click for support]
        [loaded]    com.nds.pcshow.uninstall.plist [Click for support]
        [failed]    com.spotify.webhelper.plist [Click for support]
        [loaded]    com.tencent.xin.WeChatHelper.plist [Click for support]
        [not loaded]    com.victorpimentel.TVShowsHelper.plist [Click for support]
        [not loaded]    org.virtualbox.vboxwebsrv.plist [Click for support]
    User Login Items: ℹ️
        Adium    Applicazione  (/Applications/Adium.app)
        Mail    Applicazione  (/Applications/Mail.app)
        TextWrangler    Applicazione  (/Applications/TextWrangler.app)
        Skype    Applicazione  (/Applications/Skype.app)
        Dropbox    Applicazione  (/Applications/Dropbox.app)
    Internet Plug-ins: ℹ️
        AdobePDFViewerNPAPI: Version: 11.0.02 - SDK 10.6 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 Outdated! Update
        DivX Web Player: Version: 3.1.0.13 - SDK 10.5 [Click for support]
        AdobePDFViewer: Version: 11.0.02 - SDK 10.6 [Click for support]
        LogMeInSafari32: Version: 1.0.961 - SDK 10.7 [Click for support]
        Unity Web Player: Version: UnityPlayer version 3.5.0f6 - SDK 10.6 [Click for support]
        googletalkbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        iPhotoPhotocast: Version: 7.0
        RealPlayer Plugin: Version: Unknown [Click for support]
        QuickTime Plugin: Version: 7.7.3
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 [Click for support]
        Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Click for support]
        OVSHelper: Version: 1.1 [Click for support]
        LogMeIn: Version: 1.0.961 - SDK 10.7 [Click for support]
        Google Earth Web Plug-in: Version: 7.1 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        Flip4Mac WMV Plugin: Version: 3.2.0.16   - SDK 10.8 [Click for support]
        o1dbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        JavaAppletPlugin: Version: Java 8 Update 25 Check version
    User internet Plug-ins: ℹ️
        BlueStacks Install Detector: Version: Unknown
        BrowserPlus_2.6.0: Version: 2.6.0 [Click for support]
        CitrixOnlineWebDeploymentPlugin: Version: 1.0.105 [Click for support]
        ConduitNPAPIPlugin: Version: 1.0 - SDK 10.6 [Click for support]
    Safari Extensions: ℹ️
        Conduit Search for Safari
    3rd Party Preference Panes: ℹ️
        BrowserPlus  [Click for support]
        Flash Player  [Click for support]
        Flip4Mac WMV  [Click for support]
        Growl  [Click for support]
        Java  [Click for support]
        MagicMenu  [Click for support]
        MagicPrefs  [Click for support]
        PlugSuit  [Click for support]
        sshLogin  [Click for support]
        TVShows  [Click for support]
    Time Machine: ℹ️
        Skip System Files: NO
        Mobile backups: OFF
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 639.28 GB Disk used: 238.96 GB
        Destinations:
            AleTM [Local]
            Total size: 200.00 GB
            Total number of backups: 1
            Oldest backup: 2015-03-13 14:28:33 +0000
            Last backup: 2015-03-13 14:28:33 +0000
            Size of backup disk: Too small
                Backup size 200.00 GB < (Disk used 238.96 GB X 3)
    Top Processes by CPU: ℹ️
             6%    VirtualBoxVM
             4%    master
             3%    firefox
             2%    WindowServer
             1%    SystemUIServer
    Top Processes by Memory: ℹ️
        2.29 GB    VirtualBoxVM
        807 MB    firefox
        258 MB    mds
        198 MB    MailTab for Gmail
        163 MB    WindowServer
    Virtual Memory Information: ℹ️
        54 MB    Free RAM
        2.13 GB    Active RAM
        2.09 GB    Inactive RAM
        3.23 GB    Wired RAM
        117.96 GB    Page-ins
        151 MB    Page-outs
    Diagnostics Information: ℹ️
        Mar 11, 2015, 10:03:38 AM    /Users/[redacted]/Library/Logs/DiagnosticReports/plugin-container_2015-03-11-10 0338_[redacted].crash
        Mar 11, 2015, 09:47:20 AM    /Users/[redacted]/Library/Logs/DiagnosticReports/plugin-container_2015-03-11-09 4720_[redacted].crash
        Mar 13, 2015, 09:06:20 AM    Self test - passed
    On this report kernel_task ram is not displayed but you can see it on task manager image
    Any help is apreciated.
    Thank you!

    There is nothing wrong with your kernel_task memory usage.  It is consistent with the amount of RAM you have installed.
    The kernel_task manages virtual memory page tables.  The more RAM the the more table space consumed.  800MB memory usage for kernel_task is in line with having 8GB of RAM in your Mac.
    My 16GB Macbook Pro kernel_task has 1.15GB of memory.  People with 32GB Macs, have more like 1.5GB.  And Macs with 4GB have something around 500MB more or less.
    Tangent observation.  Unless you have a Paid LogMeIn account, the free version has been discontinued, and you should most likely remove the LogMeIn components via the LogMeIn uninstaller.  Your use of TeamViewer.com is a good substitute for the free LogMeIn.
    You system has been up for just 7 and a half hours
        OS X 10.10.2 (14C109) - Time since boot: 7:21:25
    But you have
        117.96 GB    Page-ins
    That averages out to 4.6MB per second.
    Chances are you could either benefit from not running as many concurrent things (maybe remove the large number of kernel extensions, launch daemons, launch agents you have installed), maybe only run VirtualBox when you really need to run Windows (assuming it is Windows, but I guess it could be Linux or Solaris X86), or have fewer tabs open in your web browser, or run fewer Apps, especially the big memory hungry kind)
    Or maybe you just need more RAM if you must have all these things installed and running all the time.
    Just a thought.  But it is not kernel_task that is causing problems.  That is normal.

  • Scratch disks and RAM usage

    i would like to understand the relationship between scratch disks and RAM usage in Photoshop.
    While i was working on a fairly big psb file (2gb), photoshop kept prompting that I was out of memory, but in fact the utilization was only 75% (i had 16gbs total, photoshop was only using 7gb, and i allowed PS to use up to 14gb in total). when it says out of memory, it was actually my scratch disk at fault ( i only set 1 scratch disk, which was my 120gb SSD running out of space).
    any idea how I can optimize PS to use up all my RAM first before even touching my scratch disk? (short of using a RAMdisk, please).
    thanks!

    I am curious about this also. I just reinstalled W-7--have 11 G of physical memory--a ton of hard drive empty space also, and I have been wondering why PS_CC is so slow--since basically I have only put my Security and Browser in addition to Adobe back on the Dell XPS computer..... At least now it does show the downloading percentage (like .psd file) , but that must be what is happening.  I do think that some of these "frozen" screens I have been experiencing, was because the program was using scratch disk, instead of the Ram... I came up from CS-5, and can't describe it in detail, but just realize how slow PS-CC is in most everything.  Going back and see if reallocating will help...

Maybe you are looking for

  • WIN 8.1 and MICROSOFT LIFECAM HD-3000 compatibilty - Preview screen "blacked-out"

    It seems that there are hundreds of Users with Webcam issues since WIN 8.1 has been downloaded. I have trawled sites and Forums for procedures to ensure that my LIFECAM HD-3000 will work otherwise it a waste of £14.99. No solution has worked. Drivers

  • How do I view videos in compatability view?

    I am mandated by my school district to watch videos from Region 10. They have to be viewed in in Internet 7 format. Region 10 shows a visual picture about how to do that by going under TOOLS and clicking on COMPATABILITY VIEW SETTINGS, then click on

  • Mac Pro Buzzing Power Supply (PSU)

    Hi, Have any of you experienced a buzzing sound coming from the PSU? Sleeping the machine gets rid of the buzzing. So I'm not exactly sure what is causing it. Thanks

  • Can you still get a cross platform upgrade for CS3?

    I'm a mac user and recently purchased CS3 Design Premium for windows used -- does anyone know you can still get a cross platform upgrade from windows to mac without upgrading to CS4?

  • Send attachment with mail

    Hi all, I am using Oracle Database 10g Enterprise Edition Release 10.1.0.2.0. I am sending MULTIPART mail contains HTML +Attachment. When I send mail to any E mail id of my own domain (eg. [email protected]) , then that user will get both message and