Script to collect cpu,io & memory usage linux

Hi
is there a basic script that collects cpu,memory,i/o network stats for linux on hourly basis?
i need it to be in a format that I can easily import into ms excel and display as graph,
I dnt want any 3rd party software because I rather not to install anything on the server. I prefer a shell script that can be scheduled in cron.
thank you

There is no script that analyzes what is going on on a Linux server and provide you with straight and easy to understand information or a reasonable overall performance overview. Tools to monitor performance exist for the purpose of analyzing and troubleshooting, but the information is not suitable for reporting efficiency or to predict resource requirements.
You might find some previous messages regarding this topic useful:
Linux Performance Monitoring Scripts
CPU and Memory  Status for Linux
Perhaps the nmon analyzer is what you are looking for, which has an option to create MS Excel graphs: http://nmon.sourceforge.net/pmwiki.php

Similar Messages

  • Get CPU and memory usage

    Hi!
    I would like to know if there is any way of getting system CPU and memory usage using Java code.

    I want to get the system CPU and memory usage using the performance monitor dll, the perfctrs.dll, but access this data using Java language.Then you should create wrapper dll between your java code and perfctrs.dll and convert data from format of dll to format of your java code.
    So, that is next question - how to create wrapper dll, how to deal with or how perfctrs.dll works?

  • VI to read CPU and Memory usage on XP machines

    Need a VI to read CPU and Memory usage on an XP machine.

    it works perfectly on my LV8.0 and W2K... it should work on XP too... happy coding...
    Message Edited by JQ on 01-12-2007 11:14 AM
    Best Regards,
    JQ
    LV 8.0 user...
    Attachments:
    cpu_usage.vi ‏18 KB

  • Is there any Vi for getting the CPU and Memory usage of the Local as well as Remote System

    Is there any Vi for getting the CPU and Memory usage of the Local as well as Remote System

    Find the attachment(LV8.5) for local machines. 
    You can use shared variables to monitor the remote machine's usage.
    Attachments:
    Task Monitor 85.vi ‏25 KB

  • Firefox keeps freezing and using 50% cpu and memory usage shoots up most of the time it's when there's an auto update of anything addon, plugin or ff!

    Firefox keeps freezing and using 50% cpu and memory usage shoots up real fast and carries on going till it uses up all there is left. Most of the time it's when there's an auto update of anything addon, plugin or ff but not just neccessarily then! I find out it's happened when there's been an update after i restart and an extra webpage comes up with the particular addon/plugin/ff update. I have to restart most of time because nothing sorts it out. I'm using windows xp with the latest update of ff 13.0.1 it's not this version because it's been happening for a while. And it never started when i added a particular addon or plugin or when i added a new app to my pc either. Any idea as to what this may be or how i'd sort it out?
    Cheers

    Maybe disable hardware acceleration? This article should help: https://support.mozilla.org/en-US/kb/firefox-uses-too-much-memory-ram

  • Unnaturally high cpu and memory usage

    Hello.
    I have installed WL 6.1 and WL Portal 4.0 on a w2k machine. It has a
    800 cpu (I think), and 512 RAM.
    What happens is: After server startup, everything is low and nice. But
    after a few jsp compilations, the cpu jumps to 100% and stays there,
    even after the page has been returned and the browser says "done".
    Actually, memory usage isn't that high; the java process is using
    about 50 megs of memory. But it has exceeded this a couple of times,
    and used 200+ MB.
    The database is also running on another machine.
    I tried deploying the same application on a locally installed
    WL/Portal, and the same thing happened, only with much more memory
    usage, about 200 - 250 megs. My machine became useless, and I had to
    shut down the server.
    What is causing this? Is the server's configuration totally screwed,
    or can some code be doing this? Btw, I know I am the only user on this
    server...
    On other threads here, I have seen people supplying server dumps of
    processes etc. How do I see this dump, or what processes within the
    server are running?
    I am very grateful for any help with this.
    Christer

    Take a thread dump of the server. You should at least be able to see
    what it's doing.
    On UNIX, you can send a SIGQUIT. (ie kill -3 the process)
    On Windows, you can CTRL-BREAK in the window.
    If you search for thread dump on edocs.bea.com, you should see a full
    explanation.
    Also, these groups can be searched on groups.google.com.
    -- Rob
    Christer Brinchmann wrote:
    Hello.
    I have installed WL 6.1 and WL Portal 4.0 on a w2k machine. It has a
    800 cpu (I think), and 512 RAM.
    What happens is: After server startup, everything is low and nice. But
    after a few jsp compilations, the cpu jumps to 100% and stays there,
    even after the page has been returned and the browser says "done".
    Actually, memory usage isn't that high; the java process is using
    about 50 megs of memory. But it has exceeded this a couple of times,
    and used 200+ MB.
    The database is also running on another machine.
    I tried deploying the same application on a locally installed
    WL/Portal, and the same thing happened, only with much more memory
    usage, about 200 - 250 megs. My machine became useless, and I had to
    shut down the server.
    What is causing this? Is the server's configuration totally screwed,
    or can some code be doing this? Btw, I know I am the only user on this
    server...
    On other threads here, I have seen people supplying server dumps of
    processes etc. How do I see this dump, or what processes within the
    server are running?
    I am very grateful for any help with this.
    Christer

  • Best practice for CPU and memory usage?

    I find my AIR application takes a lot of memory -- usually
    >170M. And what is strange is that the memory usage is
    increasing (about 4K/s) even when the application is simply sitting
    there and do nothing. The CPU usage is supposed to be 0% when the
    application is doing nothing, but it's not (usually ~5%). So I
    wonder if there is any article about best practice on CPU/Memory
    usage.

    Those numbers indicate that your application is in fact doing
    something. Perhaps you have a timer still running, or work being
    done on an enterFrame event?

  • How to find out CPU and memory usage for an instance?

    Hi DBA Gurus,
    How to find out CPU usage and memory usage for an instance?
    Any information is appreciated!
    Thank you!
    Robert

    you can calculate cpu usage by adding fallowing three factors which you can get from v$sysstat
    1. Parse CPU time : This represents the percentage of CPU time spent parsing SQL statements. Parse time CPU can be a strong indication that an application has not been well tuned. High parse time CPU usually indicates that the application may be spending too much time opening and closing cursors or is not using bind variables.
    2. Recursive CPU time : Sometimes, to execute a SQL statement issued by a user, the Oracle Server must issue additional statements. Such statements are called recursive calls or recursive SQL statements. For example, if you insert a row into a table that does not have enough space to hold that row, the Oracle Server makes recursive calls to allocate the space dynamically if dictionary managed tablespaces are being used.
    Recursive calls are also generated due to the inavailability of dictionary info in the dictionary cache, firing of database triggers, execution of DDL, execution of SQL within PL/SQL blocks, functions or stored procedures and enforcement of referential integrity constraints
    3. Other CPU time : This represents the percentage of time spent looking for buffers, fetching rows or index keys, etc. Generally, \"Other\" CPU should represent the highest percentage of CPU time out of the total CPU time used.
    total memory used you can calculate adding
    total_agrigate_area+sga
    memory usage on os level you can know by fallowing commands
    vmstat 5 20 depending upon os

  • Slow slow slow...even with low CPU and memory usage.

    Sometimes my Mac gets really slow, especially with applications, and even more especially when opening applications. What I don't understand is that when I check Activity Monitor during slow times, it shows plenty of CPU and memory still free, far from being maxed out. I try to keep a good chunk of my hard drive available for virtual memory too, so I'm unsure where its getting bogged down.
    Any ideas?

    You may just need a little maintenance:
    Kappy's Personal Suggestions for OS X Maintenance
    For disk repairs use Disk Utility. For situations DU cannot handle the best third-party utilities are: Disk Warrior; DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible. TechTool Pro provides additional repair options including file repair and recovery, system diagnostics, and disk defragmentation. TechTool Pro 4.5.1 or higher are Intel Mac compatible; Drive Genius is similar to TechTool Pro in terms of the various repair services provided. Versions 1.5.1 or later are Intel Mac compatible.
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep. Dependence upon third-party utilities to run the periodic maintenance scripts had been significantly reduced in Tiger and Leopard. These utilities have limited or no functionality with Snow Leopard and should not be installed.
    OS X automatically defrags files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems.
    I would also recommend downloading the shareware utility TinkerTool System that you can use for periodic maintenance such as removing old logfiles and archives, clearing caches, etc. Other utilities are also available such as Onyx, Leopard or Snow Leopard Cache Cleaner, CockTail, and Xupport, for example.
    For emergency repairs install the freeware utility Applejack (not compatible with Snow Leopard.) If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the commandline. Note that AppleJack 1.5 is required for Leopard. AppleJack is not compatible with Snow Leopard.
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand. I also recommend booting into safe mode before doing system software updates.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
    1. Retrospect Desktop (Commercial - not yet universal binary)
    2. Synchronize! Pro X (Commercial)
    3. Synk (Backup, Standard, or Pro)
    4. Deja Vu (Shareware)
    5. Carbon Copy Cloner (Donationware)
    6. SuperDuper! (Commercial)
    7. Intego Personal Backup (Commercial)
    8. Data Backup (Commercial)
    9. SilverKeeper 2.0 (Freeware)
    10. MimMac (Commercial)
    11. Tri-Backup (Commercial)
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
    Additional suggestions will be found in Mac Maintenance Quick Assist.
    Referenced software can be found at www.versiontracker.com and www.macupdate.com.

  • High CPU and Memory Usage

    Hi
    I have CPU usage on 100%. If i dont play games just surfing on internet its like 15-30%. But when i start game like GTA IV it goes to 100%.
    I have HP P6 2490eo and Windows 10 Build 9926. I have almost 200Gt free space on my C Drive. And this problem started about 3 days ago. I havent done virus software full check, but i think my pc does it automatically. And i have done "not full" test wih Windows Defender. With that i mean like fast test
    Could it be W10? or is my CPU broken?
    Thanks For Help

    Late98, welcome to the forum.
    I haven't used Windows 10.  However, I believe that your problem is caused by it.  I suggest running Windows Update if it is still available.  Also, if you haven't done so, you should install any patches that are available for the game.  The game is old enough that it shouldn't be causing problems for the components in your computer.
    Please click the "Thumbs up + button" if I have helped you and click "Accept as Solution" if your problem is solved.
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • Is there a VI to monitor CPU and memory usage on wINDOWS 2000 system ?

    I want to monitor CPU usage and available memory for Windows 2000 computer. Is there a VI that can call the task mngr. via a DLL to provide this information in real time ?

    There was a nice example using .NET technology, but it seems the link has changed and I cannot find it anymore. See this older thread for some clues.
    Does anyone know what happened to the target of the original link in my old post?
    Edit: Found it here.Message Edited by altenbach on 04-29-2005 12:42 PM
    LabVIEW Champion . Do more with less code and in less time .

  • The cisco snmp oids do not work, I can't get cpu or memory data.

    Hello. I want to monitor the cpu and memory usages on my cisco devices using snmp. I found the snmp oids related to cpu in the following page :
    http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094a94.shtml
    I just copy the table here:
    But the oids in the table do not work on my devices. For example, I have a cisco 3550 switch with the ip 192.168.1.211, version 12.2(25)when I want to get the informations about the oids up in the table, I got these results:
    It shows that the oids cisco given up in the table are not existed in my 3550 switch's MIB. More weird is that when i add a number "1" to
    the end of the oid cisco given, I can get some meaningless data for some unkonwn item names like "entreprises.x.x".
    For most mib items, the snmp oids work well on my switch. For example, the following graph shows the interface out rate of the swtich:
    I think the essence is when I executed the following command:
    in all the output results, there's not any item relevant with "cpu" or "memory", but most other items are ok, such as interfaces, as shown below:
    IF-MIB::ifDescr.47 = STRING: FastEthernet0/39
    IF-MIB::ifDescr.48 = STRING: FastEthernet0/40
    IF-MIB::ifDescr.49 = STRING: GigabitEthernet0/1
    IF-MIB::ifDescr.50 = STRING: GigabitEthernet0/2
    IF-MIB::ifDescr.51 = STRING: Null0
    IF-MIB::ifDescr.52 = STRING: Vlan1
    IF-MIB::ifType.1 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.3 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.4 = INTEGER: ethernetCsmacd(6)
    IF-MIB::ifType.5 = INTEGER: ethernetCsmacd(6)
    So why the cisco given oids won't work on my cisco switch, and how can I get the datas I want? Anyone has some advices? Thanks in advance!
    In case the pictures I inserted missing, I attach my problem in the doc.

    Have you looked at this previous discussion:
    Can't Activate FaceTime

  • Email alerts for CPU and Memory status of CUCM

    Hi All,
    can anybody help me here?
    Will RTMT trigger the daily email notification for CPU and Memory status of CUCM? If yes, kindly let me know the procedure.
    Thanks in advance !!!!

    Hi Hariharan,
    In addition to Atul's link please refer the below mentioned link CPU and Memory usage
    http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/managed_services/cucm_health.html#wp1101115
    Tx,
    Hope this helps
    Shalu

  • 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

  • High Eden Java Memory Usage/Garbage Collection

    Hi,
    I am trying to make sure that my Coldfusion Server is optomised to the max and to find out what is normal limits.
    Basically it looks like at times my servers can run slow but it is possible that this is caused by a very old bloated code base.
    Jrun can sometimes have very high CPU usage so I purchased Fusion Reactor to see what is going on under the hood.
    Here are my current Java settings (running v6u24):
    java.args=-server -Xmx4096m -Xms4096m -XX:MaxPermSize=256m -XX:PermSize=256m -Dsun.rmi.dgc.client.gcInterval=600000 -Dsun.rmi.dgc.server.gcInterval=600000 -Dsun.io.useCanonCaches=false -XX:+UseParallelGC -Xbatch ........
    With regards Memory, the only memory that seems to be running a lot of Garbage Collection is the Eden Memory Space. It climbs to nearly 1.2GB in total just under every minute at which time it looks like GC kicks in and the usage drops to about 100MB.
    Survivor memory grows to about 80-100MB over the space of 10 minutes but drops to 0 after the scheduled full GC runs. Old Gen memory fluctuates between 225MB and 350MB with small steps (~50MB) up or down when full GC runs every 10 minutes.
    I had the heap set to 2GB initally in total giving about 600MB to the Eden Space. When I looked at the graphs from Fusion Reactor I could see that there was (minor) Garbage Collection about 2-3 times a minute when the memory usage maxed out the entire 600MB which seemed a high frequency to my untrained eye. I then upped the memory to 4GB in total (~1.2GB auto given to Eden space) to see the difference and saw that GC happened 1-2 times per minute.
    Is it normal in Coldfusion that the Eden memory would grow so quickly and have garbage collection run so often? i.e do these graphs look normal?
    Also should I somehow redistribute the memory available to give the Eden memory more since it seems to be where all the action is?
    Any other advice for performance improvements would be much appreciated.
    Note: These graphs are not from a period where jrun had high CPU.
    Here are the graphs:
    PS Eden Space Graph
    PS Survivor Space Graph
    PS Old Gen Graph
    PS Perm Gen Graph
    Heap Memory Graph
    Heap/Non Heap Memory Graph
    CPU Graph
    Request Average Execution Time Graph
    Request Activity Graph
    Code Cache Graph

    Hi,
    >Is it normal in Coldfusion that the Eden memory would grow so quickly and have garbage collection run so often?
    Yes normal to garbage collect Eden often. That is a minor garbage collection.
    >Also should I somehow redistribute the memory available to give the Eden memory more since it seems to be where all the action is?
    Sometimes it is good to set Eden (Eden and its two Survivor Spaces combined make up New or Young Generation part of JVM heap) to a smaller size. I know your thinking - what make it less, but I want to make it bigger. Give less a try (sometimes less = more, bigger not = better) and monitor the situation. I like to use -Xmn switch, some sources say to use other method/s. Perhaps you could try java.args=-server -Xmx4096m -Xms4096m -Xmn172m etc. I better mention make a backup copy of jvm.config before applying changes. Having said that now you know how you can set the size to bigger if you want.
    I think the JVM is perhaps making some poor decisions with sizing the heap. With Eden growing to 1Gb then being evacuated not many objects are surviving and therefore not being promoted to Old Generation. This ultimately means the object will need to be loaded again latter to Eden rather than being referenced in the Old generation part of the heap. Adds up to poor performance.
    >Any other advice for performance improvements would be much appreciated.
    You are using Parallel garbage collector. Perhaps you could enable that to run multi-threaded reducing the time duration of the garbage collections, jvm args ...-XX:+UseParallelGC -XX:ParallelGCThreads=N etc where N = CPU cores (eg quad core = 4).
    HTH, Carl.

Maybe you are looking for

  • How do I make my Timeline play forward or reverse depending on its current location?

      I'm attempting to make a side scrolling site. I have a wide div set up in the main timeline that animates 1000px at a time on the x-coordinate between the labels I have set for each "page". I would like to click a button and go to the associated la

  • How to print  xml tag in other group

    I want to print G_EXCISE_DUTY_REG_NO group in g_headers. below are tags - <XXJAPRPOL> - <LIST_G_INIT_INFO> - <G_INIT_INFO> <MANUAL_PO_NUM_TYPE>NUMERIC</MANUAL_PO_NUM_TYPE> <C_COMPANY>Raychem RPG</C_COMPANY> <C_ORGANIZATION_ID>84</C_ORGANIZATION_ID> <

  • Pulling out two records at a time

    I have a TABLE with multiple records in it, of which i want to pull out two records at a time (as if they were one record), of those records that meet the WHERE criteria. Order is not important. Basically, i have a TABLE of things that wither need pr

  • I don't have the option to open GL Drawing in my Photoshop preferences. Do i need to up date my graphic card

    I am running OS X Yosemie 10.10.1 Processor 2.8 HHz Intel Corei5 Graphics ATI Radeon HD 5750 1024 MB Memory 4 GB 133 MHz DDR3 I have Photoshop CS6 extended, but the Repoussé in the 3D menu is not there can anyone help?

  • Pass HTML snippet TO JSPX page

    Hi I have a backing bean. In page's backing bean I have a small HTML snippet (that is small MenuBar functionality) that has come OUt of database. How can i pass this HTML snippet FROM this backing bean TO the jspx page ? Meaning this HTML snippet sho