Memory & CPU Usages

Hi,
I'm a new user of SJSAS. Currently I�ve installed v9.1 on redhat. I would be helpful for if any body answers questions below-
1. Is it possible to set different limit for memory & CPU usages for different applications, if yes then how ?
2. How can I monitor memory & CPU usages by different application ?
Thanks

By "application", I'm assuming you mean different web/ejb/enterprise applications within a single SJSAS instance. If that's true, then the answer to your question is no -- all applications share the resources of the appserver.
On the other hand, if you need to, you can set up multiple instances of the appserver on the same machine, deploy one application to each instance, and control the resources that the appserver itself uses. How you limit the CPU use (and monitor) is then done at the OS level -- I don't know how it's done in Linux, actually. But in Solaris, you could use the Solaris Resource Monitor, or processor sets, or Zones/LDOMs, or any number of things to affect the resources available to the appserver; look for similar things in Linux.

Similar Messages

  • 10.1.3 memory/CPU usage problems

    I recently migrated from JDev 9.0.5.2 to 10.1.3.0.4 and impressed with the new features and functionality.
    However I've noticed the interface seems significantly slower (eg. code insight and simply inserting a new line of code is much slower), and the memory footprint seems to continually grow. Seeing it at >300M is not unusual.
    There are also times when JDev seems to simply hang, and when I look a the JDev process in WinXP, the memory usage grows seemingly out of control as well as gobbling CPU cycles. My only option to kill the process. I'm using a 2.6G Pentium, 1G RAM, WinXP Prof and JDK 1.5.0_05.
    Are there known problems with JDev's memory/CPU usage, or known options I can turn off to improve performance?
    TIA

    I don't have the memory monitor extension and have turned off all non-essential extensions but still see the memory-growth problem.
    One odd thing I noticed is the JDev process on WinXP grows by 2-3MB each time a breakpoint is hit. I verified that same behavior doesn't exist in JDev 9.0.5.2 for the same project, and happens no matter which J2SE I select for the 10.1.3 project (JDK 1.4 or 1.5) or which runtime VM (hotspot or ojvm).

  • Fiinding MEMORY,CPU usage trend since the server was installed

    Hi - I want to find out the maximum usage trend of CPU , memory,swap and directory space in SAP HANA which can be utilized for assesement of capacity planning. Please let me know the various ways to achieve this.
    Regards,
    Sharad

    Hi Sharad,
    Please go though the below guide link which will help you get all the information related to SAP HANA Administration,troubleshooting and performance.
    http://help.sap.com/hana/SAP_HANA_Administration_Guide_en.pdf
    http://help.sap.com/hana/SAP_HANA_Troubleshooting_and_Performance_Analysis_Guide_en.pdf
    Please let me know if is there any concerns.
    Thank you.
    Warm Regards,
    Earesh kuamr

  • Is there a real fix (not rollback) to prevent plugin-container from hoarding my memory/cpu usage?

    When I use/view flashplayer my video is simply unwatchable. This wasn't so with ie8. is there a real fix for this plug-in container using more memory than firefox is actually using? I have the newest version of firefox. I just started using firefox so I could avoid as much of Microsuck as possible. Currently I cannot use flashplayer. Please help and thank you in advance.

    That's supposed to indicate it's your plug-ins like Flash that is the problem.
    You might try changing hardware acceleration, a setting within Flash either turn if off or on.

  • Mem / cpu usage of a script

    Hi,
    is there a way to monitor the memory / cpu usage of a python script?
    thanks
    Matthew

    It depends -- what do you mean by "monitor"? If the script is run once, try time (/usr/bin/time from package time, not the shell builtin), with -v option. For long running, daemon-like scripts I'd use something like monit with few thresholds.

  • Problem with memory usage and CPU usage

    Hello,
    i have a problem with the memory usage and cpu usage in my project!
    My application must run for more than 24 hrs. The problem is that the longer it runs the bigger is the memory and cpu usage!
    It starts with ~15% CPU usage and ~70 MBytes memory usage. After ~ 24hrs the CPU usage is ~60% and the memory usage is ~170 MBytes!
    After  3 days the CPU usage is almost about 70% and the memory usage is about 360 MBytes!
    What can I do to reduce this huge recource usage?
    Thank you!

    Hi Pahe,
       I think the issue is memory usage, since CPU usage can increase due to greater memory requirements.
       Anyway, it's difficult to debug without seeing your code, can you post it (possibly for LV 7.1 compatibility)?  Or just post a JPEG of the piece of code that can give problems...
       I guess you're appending data to an array instead of replace data elements, but I can't be sure...
       Have a nice day!
    graziano

  • How to get less memory usage and cpu usage in an old pc with arch?

    hi, i installed archlinux sucessfully after some problems.
    but the system use a lot of memory (free said me 184mb) only with irssi, finch, mp3blaster and midori opened and is "slower" than when i used slitaz linux in it, why?
    well, the things that i installed in arch are:
    xorg + xf86-video-intel
    jwm
    irssi, finch, mp3blaster, htop.
    midori, opera, elinks, links-g, epiphany.
    geany, leafpad, go-openoffice, djview4, gnumeric, epdfview
    isomaster, inkscape, gpicview, cdrkit, mtpaint.
    pcmanfm, emelfm2, hal.
    octave, mathematica5, R, wxmaxima,gnuplot.
    nrg2iso, lxsplit, dclock.
    here is a screenshot:
    the pc have this skills:
    800mhz celeron 370
    MB gygabite gaw-mm7
    192mb ram pc100
    30 GB HD ide 5400 rpm
    some code now:
    lshw -businfo
    WARNING: you should run this program as super-user.
    Bus info Device Class Description
    =================================================
    system Computer
    bus Motherboard
    memory 183MiB System memory
    cpu@0 processor Celeron (Coppermine)
    memory 32KiB L1 cache
    memory 128KiB L2 cache
    pci@0000:00:00.0 bridge 82810 GMCH (Graphics Memory Controller Hub)
    pci@0000:00:01.0 display 82810 (CGC) Chipset Graphics Controller
    pci@0000:00:1e.0 bridge 82801AA PCI Bridge
    pci@0000:01:03.0 eth0 network IC Plus IP100A Integrated 10/100 Ethernet MAC + PHY
    pci@0000:00:1f.0 bridge 82801AA ISA Bridge (LPC)
    pci@0000:00:1f.1 storage 82801AA IDE Controller
    pci@0000:00:1f.2 bus 82801AA USB Controller
    pci@0000:00:1f.3 bus 82801AA SMBus Controller
    pci@0000:00:1f.5 multimedia 82801AA AC'97 Audio Controller
    lspci -v
    00:00.0 Host bridge: Intel Corporation 82810 GMCH (Graphics Memory Controller Hub) (rev 03)
    Subsystem: Intel Corporation 82810 GMCH (Graphics Memory Controller Hub)
    Flags: bus master, fast devsel, latency 0
    Kernel driver in use: agpgart-intel
    Kernel modules: intel-agp
    00:01.0 VGA compatible controller: Intel Corporation 82810 (CGC) Chipset Graphics Controller (rev 03) (prog-if 00 [VGA controller])
    Subsystem: Giga-byte Technology Device 0200
    Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 11
    Memory at e0000000 (32-bit, prefetchable) [size=64M]
    Memory at ee000000 (32-bit, non-prefetchable) [size=512K]
    Expansion ROM at <unassigned> [disabled]
    Capabilities: <access denied>
    00:1e.0 PCI bridge: Intel Corporation 82801AA PCI Bridge (rev 02) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
    I/O behind bridge: 0000c000-0000cfff
    Memory behind bridge: e7e00000-ebefffff
    Prefetchable memory behind bridge: dfc00000-dfcfffff
    Kernel modules: shpchp
    00:1f.0 ISA bridge: Intel Corporation 82801AA ISA Bridge (LPC) (rev 02)
    Flags: bus master, medium devsel, latency 0
    Kernel modules: iTCO_wdt, intel-rng
    00:1f.1 IDE interface: Intel Corporation 82801AA IDE Controller (rev 02) (prog-if 80 [Master])
    Subsystem: Intel Corporation 82801AA IDE Controller
    Flags: bus master, medium devsel, latency 0
    [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
    [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
    [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
    [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
    I/O ports at ff00 [size=16]
    Kernel driver in use: ata_piix
    Kernel modules: ata_piix, piix
    00:1f.2 USB Controller: Intel Corporation 82801AA USB Controller (rev 02) (prog-if 00 [UHCI])
    Subsystem: Intel Corporation 82801AA USB Controller
    Flags: bus master, medium devsel, latency 0, IRQ 9
    I/O ports at da00 [size=32]
    Kernel driver in use: uhci_hcd
    Kernel modules: uhci-hcd
    00:1f.3 SMBus: Intel Corporation 82801AA SMBus Controller (rev 02)
    Subsystem: Intel Corporation 82801AA SMBus Controller
    Flags: medium devsel, IRQ 10
    I/O ports at 04c0 [size=16]
    Kernel driver in use: i801_smbus
    Kernel modules: i2c-i801
    00:1f.5 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 02)
    Subsystem: Giga-byte Technology Device 2000
    Flags: bus master, medium devsel, latency 0, IRQ 10
    I/O ports at de00 [size=256]
    I/O ports at dc00 [size=64]
    Kernel driver in use: Intel ICH
    Kernel modules: snd-intel8x0
    01:03.0 Ethernet controller: Sundance Technology Inc / IC Plus Corp IC Plus IP100A Integrated 10/100 Ethernet MAC + PHY (rev 31)
    Subsystem: Sundance Technology Inc / IC Plus Corp Device 0201
    Flags: bus master, medium devsel, latency 64, IRQ 11
    I/O ports at cc00 [size=128]
    Memory at e8000000 (32-bit, non-prefetchable) [size=512]
    Expansion ROM at dfc00000 [disabled] [size=64K]
    Capabilities: <access denied>
    Kernel driver in use: sundance
    Kernel modules: sundance
    lsmod
    snd_ac97_codec 85937 1 snd_intel8x0
    snd_seq 42628 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
    snd_seq_device 4313 3 snd_seq_dummy,snd_seq_oss,snd_seq
    snd_pcm_oss 33693 0
    ac97_bus 750 1 snd_ac97_codec
    snd_mixer_oss 14810 1 snd_pcm_oss
    snd_pcm 57479 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
    snd_timer 16117 2 snd_seq,snd_pcm
    sundance 15991 0
    uhci_hcd 19124 0
    snd 43847 9 snd_seq_oss,snd_intel8x0,snd_ac97_codec,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
    mii 3218 1 sundance
    ppdev 4882 0
    i2c_i801 7122 0
    soundcore 5007 1 snd
    iTCO_wdt 7577 0
    ehci_hcd 31594 0
    lp 6616 0
    sr_mod 13161 0
    analog 7939 0
    psmouse 56309 0
    ns558 1931 0
    parport_pc 27680 1
    shpchp 26592 0
    intel_agp 23225 1
    button 3638 0
    thermal 9326 0
    processor 26494 1
    snd_page_alloc 5809 2 snd_intel8x0,snd_pcm
    iTCO_vendor_support 1453 1 iTCO_wdt
    gameport 7130 3 analog,ns558
    parport 26575 3 ppdev,lp,parport_pc
    pcspkr 1347 0
    usbcore 118921 3 uhci_hcd,ehci_hcd
    serio_raw 3620 0
    evdev 6970 8
    i2c_core 15369 1 i2c_i801
    cdrom 31625 1 sr_mod
    pci_hotplug 23492 1 shpchp
    agpgart 23331 2 intel_agp
    sg 21079 0
    rtc_cmos 7504 0
    rtc_core 12011 1 rtc_cmos
    rtc_lib 1450 1 rtc_core
    ext2 56463 1
    mbcache 4278 1 ext2
    sd_mod 24101 3
    pata_acpi 2264 0
    ata_generic 2235 0
    ata_piix 17725 2
    libata 135579 3 pata_acpi,ata_generic,ata_piix
    floppy 47412 0
    scsi_mod 78933 4 sr_mod,sg,sd_mod,libata
    i've read i can disable the kernel modules that i don't need to improve the memory usage.
    which modules i can disable without "kill my system"?. i don't want SATA, DVD, bluray, infrared, floppys, bluetooth, usb3.0, 3d video card, dial-up-integrated modem, ntfs, 'cause mi old is so old. i want it only for the university.
    thanks in advantage for the tips, and sorry if someone can't understand very well that i wanna tell you, english isn't my "mother languaje".

    thanks for the answers. yes, i have a 1 gb of swap.
    i think i can reduce the memory usage of the system if i dissable the kernel modules that i don't use. but, the question is: what modules is safe to disable to get it?
    thanks in advantage

  • What are Microsoft- or other's-best practice or recommendation of Disk usage, CPU usage, memory usage monitoring to prevent system trouble ?

    We use win2003,win2008,win2012 servers.
    I heard somewhere that Microsoft recommendation threshold of disk usage monitoring is ( free disk space >= 15- 20 %) , if I remember correctly, but how about CPU usage and memory usage monitoring ? 
    What are  Microsoft- or other's-best practice or recommendation of Disk usage, CPU usage, memory usage monitoring to prevent system trouble and improve availability ?

    Hi,
    You can refer the following Performance Tuning Guidelines,
    Performance Tuning Guidelines for Windows Server 2003
    http://download.microsoft.com/download/2/8/0/2800a518-7ac6-4aac-bd85-74d2c52e1ec6/tuning.doc
    Performance Tuning Guidelines for Windows Server 2008 R2
    http://blogs.technet.com/b/josebda/archive/2010/08/27/performance-tuning-guidelines-for-windows-server-2008-r2.aspx
    WINDOWS SERVER 2012 - PERFORMANCE TUNING GUIDELINES
    http://blogs.technet.com/b/itprocol/archive/2012/11/27/windows-server-2012-performance-tuning-guidelines.aspx
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Any suggession on Tools for Performance testing of application designed for Blackberry phones.. which can get some details on CPU usage, memory, response time?? any help on the same is much appriciated.

    Hi Team,
    Any suggession on Tools for Performance testing of application designed for Blackberry phones.. which can get some details on CPU usage, memory, response time?? any help on the same is much appriciated.
    Thank You,
    Best Regards,
    neeraj

    Hi Team,
    Any suggession on Tools for Performance testing of application designed for Blackberry phones.. which can get some details on CPU usage, memory, response time?? any help on the same is much appriciated.
    Thank You,
    Best Regards,
    neeraj

  • Activity monitor says I have 1 -3% of System Memory free, yet CPU usage shows less than 10% total of all processes

    Activity monitor says I have 1 -3% of System Memory free, yet CPU usage shows less than 10% total of all processes

    I think you should review what you wrote. There is no question, hence, my reply. I can't tell by the AM listing what applications are using memory. You need to click on the Real Mem column once or twice to display in descending order.
    Aside from what you see in AM, what exactly is your problem or perceived problem. You are very low on Free Mem at the moment the screen shot was taken. Those displays are not depicting your computer's instantaneous memory usage.
    About OS X Memory Management and Usage
    Using Activity Monitor to read System Memory & determine how much RAM is used
    Memory Management in Mac OS X
    Performance Guidelines- Memory Management in Mac OS X
    A detailed look at memory usage in OS X
    Memory Usage Performance Guidelines- About the Virtual Memory System
    Understanding top output in the Terminal
    The amount of available RAM for applications is the sum of Free RAM and Inactive RAM. This will change as applications are opened and closed or change from active to inactive status. The Swap figure represents an estimate of the total amount of swap space required for VM if used, but does not necessarily indicate the actual size of the existing swap file. If you are really in need of more RAM that would be indicated by how frequently the system uses VM. If you open the Terminal and run the top command at the prompt you will find information reported on Pageins () and Pageouts (). Pageouts () is the important figure. If the value in the parentheses is 0 (zero) then OS X is not making instantaneous use of VM which means you have adequate physical RAM for the system with the applications you have loaded. If the figure in parentheses is running positive and your hard drive is constantly being used (thrashing) then you need more physical RAM.
    Adding RAM only makes it possible to run more programs concurrently.  It doesn't speed up the computer nor make games run faster.  What it can do is prevent the system from having to use disk-based VM when it runs out of RAM because you are trying to run too many applications concurrently or using applications that are extremely RAM dependent.  It will improve the performance of applications that run mostly in RAM or when loading programs.

  • Yosemite and Mail massive memory leak and excessive CPU usage

    I've just installed Yosemite and upgraded to 10.10.2 via the AppStore. Now I have a problem with Mail sucking up all the CPU (>106% !) and memory (>8Gb and rising while doing nothing). Everything runs fine when I quit Mail. Very disturbing behaviour!
    I've tried several suggestions found elsewhere on the board here, such as turning off and even removing all Mail plug-ins including SpamSieve, but without positive results. I've tried un-selecting 'Store draft msgs on server', as well as the option for junk and sent msgs. but again without any difference. Going Offline within Mail also makes no difference to its memory hogging or CPU usage.
    I notice this is an issue that's been around since last year (wish I'd known that before upgrading to Yosemite today) and I am just completely flabbergasted that it still exists. Would've thought Apple'd have fixed it in the first but certainly in the second incremental OSX Yosemite release.
    Is there anything else I could try that's proven to be effective in stopping Mail's massive memory leak?

    Okay, I've run Disk Util and restarted. Seems to have made a little bit of a difference to the RAM gobbling in that it appears to be going at a slower rate, but it's still up at around the 45Gb after an hour. Here's the EtreCheck report in the hope that it helps.
    EtreCheck version: 2.1.6 (109)
    Report generated 28 January 2015 4:38:22 pm AEDT
    Download EtreCheck from http://etresoft.com/etrecheck
    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 (Retina, 15-inch, Mid 2014) (Technical Specifications)
        MacBook Pro - model: MacBookPro11,3
        1 2.5 GHz Intel Core i7 CPU: 4-core
        16 GB RAM Not upgradeable
            BANK 0/DIMM0
                8 GB DDR3 1600 MHz ok
            BANK 1/DIMM0
                8 GB DDR3 1600 MHz ok
        Bluetooth: Good - Handoff/Airdrop2 supported
        Wireless:  en0: 802.11 a/b/g/n/ac
        Battery Health: Normal - Cycle count 16
    Video Information: ℹ️
        Intel Iris Pro
            Color LCD spdisplays_2880x1800Retina
        NVIDIA GeForce GT 750M - VRAM: 2048 MB
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 1:1:19
    Disk Information: ℹ️
        APPLE SSD SM0512F disk0 : (500.28 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 499.05 GB (413.24 GB free)
                Core Storage: disk0s2 499.42 GB Online
    USB Information: ℹ️
        Apple Internal Memory Card Reader
        Asmedia ASM107x
            Asmedia ASM107x
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
        Asmedia ASM107x
            Asmedia ASM107x
                Logitech Logitech USB Optical Mouse
                Apple, Inc. Keyboard Hub
                    Apple, Inc Apple Keyboard
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Configuration files: ℹ️
        /etc/hosts - Count: 2
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Applications/DiskWarrior.app
        [not loaded]    com.alsoft.Preview (5 - SDK 10.5) [Support]
            /Applications/ibVPN.app
        [not loaded]    net.tunnelblick.tap (1.0) [Support]
        [not loaded]    net.tunnelblick.tun (1.0) [Support]
            /Library/Extensions
        [loaded]    at.obdev.nke.LittleSnitch (4231 - SDK 10.8) [Support]
        [loaded]    com.sophos.kext.sav (9.2.50 - SDK 10.8) [Support]
        [loaded]    com.sophos.nke.swi (9.2.50 - SDK 10.8) [Support]
        [loaded]    jp.plentycom.driver.SteerMouse (4.2.2 - SDK 10.6) [Support]
    Problem System Launch Agents: ℹ️
        [killed]    com.apple.AirPlayUIAgent.plist
        [killed]    com.apple.CallHistoryPluginHelper.plist
        [killed]    com.apple.CallHistorySyncHelper.plist
        [killed]    com.apple.cloudd.plist
        [killed]    com.apple.icloud.fmfd.plist
        [killed]    com.apple.nsurlsessiond.plist
        [killed]    com.apple.pluginkit.pkd.plist
        [killed]    com.apple.security.cloudkeychainproxy.plist
        [killed]    com.apple.spindump_agent.plist
        [killed]    com.apple.telephonyutilities.callservicesd.plist
        10 processes killed due to memory pressure
    Problem System Launch Daemons: ℹ️
        [killed]    com.apple.awdd.plist
        [killed]    com.apple.ctkd.plist
        [killed]    com.apple.icloud.findmydeviced.plist
        [killed]    com.apple.ifdreader.plist
        [killed]    com.apple.nehelper.plist
        [killed]    com.apple.nsurlsessiond.plist
        [killed]    com.apple.softwareupdated.plist
        [killed]    com.apple.wdhelper.plist
        8 processes killed due to memory pressure
    Launch Agents: ℹ️
        [running]    at.obdev.LittleSnitchUIAgent.plist [Support]
        [not loaded]    com.adobe.AAM.Updater-1.0.plist [Support]
        [running]    com.adobe.AdobeCreativeCloud.plist [Support]
        [running]    com.sophos.uiserver.plist [Support]
    Launch Daemons: ℹ️
        [running]    at.obdev.littlesnitchd.plist [Support]
        [running]    com.adobe.adobeupdatedaemon.plist [Support]
        [loaded]    com.adobe.fpsaud.plist [Support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Support]
        [running]    com.sophos.common.servicemanager.plist [Support]
        [running]    com.synium.cleanappdaemon.plist [Support]
        [running]    com.syniumsoftware.CleanAppDaemon.plist [Support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.ARM.[...].plist [Support]
        [running]    com.c-command.SpamSieve.LaunchAgent.plist [Support]
        [loaded]    com.google.keystone.agent.plist [Support]
        [not loaded]    com.linotype.FontFolderProtector.plist [Support]
        [failed]    com.wondershare.mobilegodaemon.plist [Support]
        [not loaded]    info.lokiware.attachmenttamer.cleanup.plist [Support]
        [invalid?]    info.lokiware.attachmenttamer.setupagent.plist [Support]
    User Login Items: ℹ️
        Letter Opener Updater    Application  (/Library/Mail/Bundles/Letter Opener.mailbundle/Contents/Resources/Software Update.app)
        iTunesHelper    Application  (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
        Default Folder X Helper    Application Hidden (/Users/[redacted]/Library/PreferencePanes/Default Folder X.prefPane/Contents/Resources/Default Folder X Helper.app)
        FontExplorer X Pro    Application Hidden (/Applications/FontExplorer X Pro.app)
        Calendar    Application Hidden (/Applications/Calendar.app)
        SteerMouse Manager    Application  (/Applications/Utilities/SteerMouse.app/Contents/MacOS/SteerMouse Manager.app)
        Mail    Application Hidden (/Applications/Mail.app)
        Android File Transfer Agent    Application  (/Users/[redacted]/Library/Application Support/Google/Android File Transfer/Android File Transfer Agent.app)
        DiskWarriorStarter    Application  (/Applications/DiskWarrior.app/Contents/Helpers/DiskWarriorStarter.app)
        finderpop-daemon    Application  (/Users/[redacted]/Library/PreferencePanes/FinderPop.prefPane/Contents/Resource s/finderpop-daemon.app)
        XtraFinder    Application Hidden (/Applications/XtraFinder.app)
    Internet Plug-ins: ℹ️
        AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 [Support]
        FlashPlayer-10.6: Version: 16.0.0.296 - SDK 10.6 [Support]
        QuickTime Plugin: Version: 7.7.3
        AdobePDFViewerNPAPI: Version: 11.0.10 - SDK 10.6 [Support]
        AdobePDFViewer: Version: 11.0.10 - SDK 10.6 [Support]
        Flash Player: Version: 16.0.0.296 - SDK 10.6 [Support]
        Default Browser: Version: 600 - SDK 10.10
        SharePointBrowserPlugin: Version: 14.4.7 - SDK 10.6 [Support]
    User internet Plug-ins: ℹ️
        iGetter Plugin: Version: 2.9.3 [Support]
        iGetterScriptablePlugin: Version: 2.9.3 [Support]
    Safari Extensions: ℹ️
        1Password [Installed]
        iGetter Extension [Installed]
    3rd Party Preference Panes: ℹ️
        Default Folder X  [Support]
        FinderPop  [Support]
        FUSE for OS X (OSXFUSE)  [Support]
        SteerMouse  [Support]
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
          105%    Mail
            3%    WindowServer
            2%    sysmond
            2%    Activity Monitor
            0%    fontd
    Top Processes by Memory: ℹ️
        4.10 GB    Mail
        103 MB    Finder
        86 MB    SophosScanD
        86 MB    InterCheck
        86 MB    WindowServer
    Virtual Memory Information: ℹ️
        84 MB    Free RAM
        2.92 GB    Active RAM
        2.87 GB    Inactive RAM
        2.76 GB    Wired RAM
        2.57 GB    Page-ins
        23 MB    Page-outs
    Diagnostics Information: ℹ️
        Jan 28, 2015, 03:37:41 PM    Self test - passed
        Jan 28, 2015, 02:49:01 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/Android File Transfer Agent_2015-01-28-144901_[redacted].crash
        Jan 28, 2015, 09:31:04 AM    /Library/Logs/DiagnosticReports/Mail_2015-01-28-093104_[redacted].cpu_resource. diag [Details]
        Jan 28, 2015, 07:39:17 AM    /Library/Logs/DiagnosticReports/AdobeCrashDaemon_2015-01-28-073917_[redacted].c rash
        Jan 27, 2015, 07:54:29 PM    /Library/Logs/DiagnosticReports/AdobeCrashDaemon_2015-01-27-195429_[redacted].c rash

  • How to check the memory and CPU usage on NPU

    Hi expert ,
    Could you tell me how to check the memory and cpu usage on NPU?
    I think ASR1000 has this command (show platform hardware qfp active...) , but I coudn't find the same command on ASR9001.
    I checked " show controllers np counters all"  command, but I did not find it.
    Platform: ASR9001
    version: 4.3.2
    NP: Tyhoon
    Thanks,

    Hi Kanako,
    understand your question, but something like that doesnt exist for the trident/typhoon NPU's for the asr9k.
    in fact cpu usage is not really applicable for parallel/serialized hardware forwarders, but mainly the KPI is here
    the PPS it handles.
    The max pps it can handle is dependent on feature set.
    What you could do is measure the rates on the PARSE_FABRIC_RECEIVE count (packets received from fabric, so egress direction), PARSE_ENET_RECEIVE count (packets received from the interface to the fabric, so ingress) and the LOOPBACK count, that is packets that are recirculated for extra processing. The sum of these 3 gives an idea of the PPS rate the NPU is working on.
    Memory consumption is something tricky also, there are many memories attached to the NPU, notably:
    TCAM used for vlan matching, ACL and QOS matching
    Search memory for L2 and L3 (shared on Trident, separated on Typhoon)
    Frame memory for packet bufferin in QOS
    Stats memory, for all kinds of counters of QOS maps, interface stats etc
    their usage is rather dynamic also.
    The few things you want to verify on these are:
    - ACL usage (in terms of Tcam entries)
    - MAC table size (2M max on typhoon)
    - FIB size (4M max on typhoon)
    frame memory is dependent on the buffering, which is a sum of all the packets instant queue length and size of all pmaps attached to interfaces served by the same NPU. there is no good overview as to how much you have available of that, but it has a rather significant size 1G or 2G depending on the TR or SE cards (typhoon specific).
    regards
    xander
    Xander Thuijs CCIE #6775
    Principal Engineer 
    ASR9000, CRS, NCS6000 & IOS-XR

  • High CPU & Memory issues - Excessive and unnecessary CPU usage in Firefox for Windows (see also questions1003966 & 998289)

    I am using the latest version of Firefox, 32.0.1, on an HP Pavilion dv7-4141sa laptop computer, running Windows 8.1 Pro 64-bit. There should be more than enough power here to run a browser without any problem, yet the computer is regularly being overloaded by the browser's resource usage.
    I am currently measuring typical average CPU usage of 45% - with the browser minimised. That is to say, Firefox is not doing any browser jobs - it is not drawing on the screen - but it is using the most CPU of any process currently running. Why?
    I am an ex-software engineer, and my understanding of current application development technology is limited, but I think I can say with some confidence that many techniques and software architectures exist that enable the suspension of program activity, or at least its reduction to a very low bare minimum, when the program is not actually carrying out its design function, which is in this case to draw pictures of website data on a screen.
    There is a very serious problem here, one which means that I cannot run Firefox all the time, but have to kill it when I am not actively browsing, otherwise other applications cannot run to their full capacity. This is a great pity, because I have committed a lot of effort to making Firefox my primary web tool. It manages all my many bookmarks, contains my secure password manager (LastPass), manages my web security (via NoScript, AdBlock, and FlashBlock), just for a start.
    Before any well-meaning moderators or other commenters start down the usual trail of "have you done this, tried that, disabled the other", I should point out that I have followed all the advice I can find, with no positive outcome. This computer is running a fresh installation of Windows, and a fresh installation of Firefox. At the moment I am running a new test Firefox profile.
    The latest version of Adobe Flash, 14.0.0.179, is installed but disabled. When it is enabled and in use, Firefox's CPU usage seems high over longer periods, but overall there is little difference. It doesn't look as though the problem can be laid at Flash's door. A few other add-ins are installed, mainly those mentioned above, and Firefox is skinned with LavaFox v2-Green, but I have previously started from a clean installation, which has made little difference after an initial period during which things seemed to be better. Turning off or disabling various add-ons has made no discernible difference.
    Just now I turned Flash on, and after a long period with Firefox minimised, Resource Monitor reported Firefox at 8% average CPU and FlashPlayerPlugin at 0.32%. While running a small video, RM reports FlashPlayerPlugin at about 45% and Firefox at 8%. After the video, Flash went back down to around 0.4%, and after a bit more browsing Firefox went to around 17% minimised. There seems little rhyme or reason here, except that Flash does not seem to be the culprit, although Firefox does seem to consume less when fewer tabs are actually active, as you might expect. I just refreshed more than a dozen tabs, and now Firefox is at 30%, but still not back up to the higher figures. Weird.
    The CPU usage does vary a lot around the average, but 30% is still a lot for a program that shouldn't be doing anything above the minimum status maintenance, and still puts it at the top of my Top Process Monitor list. (Right now it's gone back up to 45%, without my using it in any way).
    I have Telemetry turned on, so presumably Mozilla is recording some of the relevant data.
    This is a very serious fault, which is more or less reproducible and which a lot of people seem to be experiencing. Probably more people have it than realise, because most users will not know anything other than that their computer slows down for some non-obvious reason; they may just think it's something to do with the computer itself, not knowing how to use the Resource Monitor and interpret the results.
    Oddly, the problem does not seem to occur when running Firefox under Linux Mint 17, where the response is snappy and the CPU usage ostensibly low; I am going to look at this in more detail shortly.
    I am not posting here for advice, but for information and as a form of bug report which hopefully other users will see. It will hopefully spare them a lot of effort and time in trying a lot of recommended "solutions" which will not work. The problem is inherent in the software, and can be solved only by Mozilla.
    I am willing to supply any diagnostic data requested; as I said above, I have also turned on "Telemetry". However, I will not be trying out any more reinstallation/new-profile/add-on disable-enable-delete cycles unless I am asked to for very specific reasons. Please do not suggest courses of action which have already been mentioned elsewhere on this forum. I have tried them all.
    The situation is very disappointing, but I have confidence that the Firefox developers will pin down the fault eventually and engineer a satisfactory solution that makes it viable to leave Firefox open all the time. Even with that restriction, it's still far better than the alternatives.

    I share jmward's frustration. This is not a bug report so much as a request for a badly needed feature, ie the ability to have Firefox be able to tell us which tabs on which windows are eating time so we can target them. There are some very poorly written web pages out there which just plain loop while making no updates or inconsequential updates on the page.
    This is not a OS problem; jmward runs Windows and I run Linux but we have the same issue. It is not a question of Firefox plugins or extensions, or even viruses; I have a new, clean Linux install but have the same problem on both my regular Firefox AND on a FRESH install of the latest Firefox (35.0.1) which has *NO* non-default plugins or extensions.
    Here is an example of a web page which will eat 100% of one CPU's time:
    http://patch.com/massachusetts/arlington/arlington-woman-allegedly-attacks-neighbor-snow-blower-0
    I will attach 3 images to back up my claim. All of the images show my dark blue system monitor (gkrellm) superimposed on the web page. The top graph shows CPU time. I have 4 CPUs in my machine, so 25% means the web page is eating 100% of one CPU equivalent.
    The first image shows the load of the offending page with elevated CPU usage along with the download net activity on eth0, but the CPU activity does not stop when the download activity is over.
    The second images show the steady state 100% CPU equivalent of this page just sitting there apparently doing nothing. It IS, however, doing at least two different things. I know from my regular Firefox where I have "Remove It Permanently" installed that if I remove the the little weather indicator in the upper right of the offending page that CPU utilization drops to about 40% of one CPU equivalent. If I use RIP to remove everything else right down to a bare screen that 40% utilization stays until I delete the tab.
    The third image shows the CPU utilization drop to zero when I delete the tab holding the offending page.
    Now I will add a note here: If the offending page is NOT the top tab in a window then it stops eating time. The offender will also stop eating time if I minimize the window. However if I have another window up but leave the offender up on top in its window it continues to eat time even tho I am looking at another window. The offender will continue to eat time even if its window is completely covered by another window, and it will also eat time if I switch to another desktop.
    I will often have half a dozen windows open, and there are many pages out there which will suck endless CPU time. Unless I want to open up a new tab on each window before I leave it there is likely to be some tab on top eating time uselessly. Get a couple of those going and Firefox becomes sluggish and can even stop responding for many seconds.
    I guess I not only want to have Firefox tell us which tabs are eating time, but I would also like it if Firefox would stop giving CPU time to any tab which is not visible because it is covered by some other window and/or it is on a desktop which is currently not showing. If you can stop a tab's CPU usage by reason of tab-not-showing then you should also be able to stop its CPU usage when the window is covered or on the not-top desktop. Indeed is there any reason to not schedule absolute CPU utilization priority to the visible tab on the window with focus and give time to the other tabs only when the visible tab isn't using time?
    My final thought on this is that I have had Firefox SO tied up sometimes that I swear their are web pages which are eating time even tho they are not the top tab. I regret that I do not have an example to show you. But Firefox grinds to a complete halt on a regular basis, and that is not acceptable. I am a programmer with long experience in multi-threaded programs so I *know* there is no reason you cannot do better. If there were another browser around which had the commitment to privacy which Firefox has I would probably switch out of shear annoyance. :-(

  • Are there any memory and cpu logging extensions that is addon, not process oriented, that will detect ram/cpu usage, even within the main Firefox process?

    And why wasn't this a feature in FF already? I hear it was, but it was dropped in FF4 as part of some kind of feature freeze? Why was this most important of all features removed, and how can I patch this? So I can use my browser properly again. Maybe an addon that would make about-addonsmemory detect that kind of stuff would do, maybe something that forces all addons to operate within the plugin container. Or maybe just something that will moniter everything right.

    The CPU usage part is the most important

  • High CPU usage while running a java program

    Hi All,
    Need some input regarding one issue I am facing.
    I have written a simple JAVA program that lists down all the files and directories under one root directory and then copies/replicates them to another location. I am using java.nio package for copying the files. When I am running the program, everything is working fine. But the process is eating up all the memories and the CPU usage is reaching upto 95-100%. So the whole system is getting slowed down.
    Is there any way I can control the CPU usage? I want this program to run silently without affecting the system or its performance.

    Hi,
    Below is the code snippets I am using,
    For listing down files/directories:
            static void Process(File aFile, File aFile2) {
              spc_count++;
              String spcs = "";
              for (int i = 0; i < spc_count; i++)
              spcs += "-";
              if(aFile.isFile()) {
                   System.out.println(spcs + "[FILE] " + aFile2.toURI().relativize(aFile.toURI()).getPath());
                   String newFile = dest + aFile2.toURI().relativize(aFile.toURI()).getPath();
                   File nf = new File(newFile);
                   try {
                        FileCopy.copyFile(aFile ,nf);
                   } catch (IOException ex) {
                        Logger.getLogger(ContentList.class.getName()).log(Level.SEVERE, null, ex);
              } else if (aFile.isDirectory()) {
                   //System.out.println(spcs + "[DIR] " + aFile2.toURI().relativize(aFile.toURI()).getPath());
                   String newDir = dest + aFile2.toURI().relativize(aFile.toURI()).getPath();
                   File nd = new File(newDir);
                   nd.mkdir();
                   File[] listOfFiles = aFile.listFiles();
                   if(listOfFiles!=null) {
                        for (int i = 0; i < listOfFiles.length; i++)
                             Process(listOfFiles, aFile2);
                   } else {
                        System.out.println(spcs + " [ACCESS DENIED]");
              spc_count--;
    for copying files/directories:public static void copyFile(File in, File out)
    throws IOException {
    FileChannel inChannel = new
    FileInputStream(in).getChannel();
    FileChannel outChannel = new
    FileOutputStream(out).getChannel();
    try {
    inChannel.transferTo(0, inChannel.size(),
    outChannel);
    catch (IOException e) {
    throw e;
    finally {
    if (inChannel != null) inChannel.close();
    if (outChannel != null) outChannel.close();
    Please let me know if any better approach is there. But as I already said, currently it's eating up the whole memory.
    Thanks in advance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for