High peaks in Agent memory use

I'm having 21 hosts in my EM10g that I'm monitoring. All with various Oracle instance. Everything is running reasonably smooth, but one of the agents is showing odd behaviour.
It's on one of the Sun boxes (Sunfire 440 with 8CPU's/16Gb). While all other agents are using about 70Mb on some up to 220Mb on others, this one has peaks of 800Mb! This is consistent. I checked the others, and they don't have such peaks (no peaks, just some 'bumps' in the graphic). Very strange. I recently upgraded the Agent to 10.2.0.2 but that didn't help. I first removed the old one and installed the new one, so there can't be a mixup in versions.
Does this sound familiar to anyone?

Hmm...never occured to me to have a look in the agent.trc. I see the same message over and over again. It seems to coincide with the high peaks:
2006-11-10 00:00:04 Thread-91007 ERROR emSDK.xml: ParseError: File=stream, Line=5, Msg=Missing value for ARG in RemoteOperationArgum
ent
This appears every 3 hours, and at these times, I also see the peaks in resident memory usage. Top doesn't tell me anythin at the moment, because it is acting normal at this moment and memory usage is about 57Mb:
load averages: 0.16, 0.19, 0.21 15:59:40
171 processes: 170 sleeping, 1 on cpu
CPU states: 95.7% idle, 1.4% user, 2.8% kernel, 0.1% iowait, 0.0% swap
Memory: 16G real, 8743M free, 1029M swap free
PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
329 root 3 4 10 0K 0K sleep 419:07 2.15% rds
19190 oracle 1 34 0 0K 0K sleep 0:00 0.62% oracle
19188 oracle 1 34 0 0K 0K sleep 0:00 0.57% oracle
405 oracle 11 34 0 0K 0K sleep 23.1H 0.24% oracle
636 jboss 71 4 10 713M 561M sleep 67.1H 0.18% java
18544 oracle 11 34 0 0K 0K sleep 713:10 0.14% oracle
960 oracle 1 34 0 0K 0K sleep 13:55 0.10% oracle
19167 oracle 1 34 0 2432K 1712K cpu/0 0:00 0.05% top
411 oracle 1 34 0 0K 0K sleep 83:28 0.05% oracle
69 root 7 34 0 4704K 3664K sleep 152:26 0.04% picld
409 oracle 1 34 0 0K 0K sleep 89:08 0.02% oracle
982 oracle 1 34 0 0K 0K sleep 5:38 0.02% oracle
554 oracle 1 34 0 0K 0K sleep 28:11 0.02% tnslsnr
395 oracle 13 34 0 0K 0K sleep 109:38 0.01% oracle
407 oracle 11 34 0 0K 0K sleep 141:29 0.00% oracle
I can't understand what it is complaining about in the trc. Everything seems to work ok...it's just the erratic memory use that's bugging me. Could it be interaction with the Jboss server on the same machine?

Similar Messages

  • Windows 8 booted up high memory used

    Just got this Samsung series 9 with Windows 8, 8 GB memory and 256 GB SSD drive. When the system boots up, go into Task Manager. The initial memory is at 13% used, after about 30 seconds. It surged all the way to 75% used while I am watching. I have tried
    to look what is running but can't figure out what were using all the memory.
    I was trying to run many programs to see how high it can go but don't have programs to test it, the most I could try (opening many browsers) the memory went up to 92%. Not sure it would crash if I have more programs running.
    Here is the screenshot. (screenshot is not allowed to post until verified) How do I get verified?
    Is windows 8 designed to cache a lot of memory right after reboot? I saw other posting with memory used about 40% so it doesn't looks normal to me. I Googled but can't find a similar issue. 
    Thanks in advance.

    Here is the output from poolmon, I copied the first three lines. The ECMC is the one used 4.5GB memory. 
    Memory: 8001052K Avail: 1947072K  PageFlts: 30958   InRam Krnl:23168K P:154300K
     Commit:7360812K Limit:12719648K Peak:7598788K            Pool N:4906580K P:159036K
     System pool information
     Tag   Type  
         Allocs          Frees       Diff       Bytes                  Per Alloc
    ECMC Nonp           586 (   0)             0 (   0)        586   4920524800 (        
     0)     8396800
     CM31 Paged     15348 (   0)      1070 (   0)    14278       62197760 (          0)            4356
     wcdl Nonp             34 (   0)             0 (   0)           34       32078320 (      
       0)        943480
    Here is the output of 
    C:\Windows\System32\Drivers>findstr /s ECMC *.sys
    intmsd.sys: ☼äÀ   ║  Ç 3╔A©ECMC §W9  Hï°H;├u
    I can't find any info about intmsd.sys yet.

  • High memory use when checking downloads folder through browser

    High memory use when checking downloads folder through browser.
    I have a total of 3 DDR2 Gbytes of ram. Pentium(R) Dual-Core CPU T4500 @ 2.30GHz Win 7 home pr. 64bit. Firefox 27.0 beta
    I right click on a file to "open containing folder" from the drop down menu in downloads.
    When the folder has been opened, explorer is trying to index the folder (which it never does completely or well after 5 minutes I close the folder and shut down the dllhost process cause laptop is blazing hot) and memory keeps increasing till no more is available.
    I checked task manager and see that dllhost is the particular process that is causing the spike in memory usage even after closing the folder I right click and stop the process and memory is restored after awhile.

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Why is my MacMini 6.1 always so high in Memory Used?

    Hi,
    I was wondering if anyone could help me figure out why my MacMini keeps running slowly... I think it's to do with Memory Used, but I'm only guessing.
    Thanks.
    EtreCheck version: 2.0.11 (98)
    Report generated 6 November 2014 10:39:57 pm AEDT
    Hardware Information: ℹ️
        Mac mini (Late 2012) (Verified)
        Mac mini - model: Macmini6,1
        1 2.5 GHz Intel Core i5 CPU: 2-core
        16 GB RAM 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:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
        Intel HD Graphics 4000 -
            TOSHIBA-TV 1920 x 1080 @ 50 Hz
    System Software: ℹ️
        OS X 10.10 (14A389) - Uptime: 11 days 5:12:28
    Disk Information: ℹ️
        APPLE HDD HTS545050A7E362 disk0 : (500.11 GB)
        S.M.A.R.T. Status: Verified
            EFI (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) /  [Startup]: 499.25 GB (156.01 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
    USB Information: ℹ️
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple, Inc. IR Receiver
        Microsoft Microsoft 5-Button Mouse with IntelliEye(TM)
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
            Promise Technology, Inc. Pegasus R-Series
    Configuration files: ℹ️
        /etc/hosts - Count: 45
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Library/Extensions
        [loaded]    com.promise.driver.stex (5.2.10 - SDK 10.9) Support
            /System/Library/Extensions
        [not loaded]    at.obdev.nke.LittleSnitch (3876 - SDK 10.8) Support
    Launch Agents: ℹ️
        [not loaded]    com.adobe.AAM.Updater-1.0.plist Support
    Launch Daemons: ℹ️
        [failed]    com.adobe.fpsaud.plist Support
        [invalid?]    com.adobe.SwitchBoard.plist Support
        [loaded]    com.promise.bgasched.plist Support
        [running]    com.promise.BGPMain_R.plist Support
        [loaded]    com.promise.emaild.plist Support
    User Launch Agents: ℹ️
        [loaded]    com.adobe.AAM.Updater-1.0.plist Support
        [loaded]    com.adobe.ARM.[...].plist Support
    User Login Items: ℹ️
        iTunesHelper    ApplicationHidden (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
        uTorrent    ApplicationHidden (/Applications/uTorrent.app)
        Dropbox    Application (/Applications/Dropbox.app)
        Catch    UNKNOWN (missing value)
        Catch    UNKNOWN (missing value)
    Internet Plug-ins: ℹ️
        AdobePDFViewerNPAPI: Version: 10.1.12 Support
        FlashPlayer-10.6: Version: 14.0.0.176 - SDK 10.6 Support
        AdobePDFViewer: Version: 10.1.12 Support
        Flash Player: Version: 14.0.0.176 - SDK 10.6 Mismatch! Adobe recommends 15.0.0.189
        QuickTime Plugin: Version: 7.7.3
        Default Browser: Version: 600 - SDK 10.10
    User Internet Plug-ins: ℹ️
        Picasa: Version: 1.0 - SDK 10.4 Support
    Safari Extensions: ℹ️
        AdBlock
        Facebook Cleaner
        Awesome Screenshot
        RSS Menu
    3rd Party Preference Panes: ℹ️
        Flash Player  Support
    Time Machine: ℹ️
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 499.25 GB Disk used: 343.24 GB
        Destinations:
            PROMISE PEGASUS [Local]
            Total size: 3.00 TB
            Total number of backups: 131
            Oldest backup: 2013-02-12 01:21:04 +0000
            Last backup: 2014-11-06 10:40:18 +0000
            Size of backup disk: Excellent
                Backup size 3.00 TB > (Disk size 499.25 GB X 3)
    Top Processes by CPU: ℹ️
            15%    backupd
            5%    iVI Pro
            3%    Finder
            2%    WindowServer
            2%    firefox
    Top Processes by Memory: ℹ️
        515 MB    firefox
        223 MB    mds_stores
        206 MB    iVI Pro
        206 MB    Finder
        172 MB    softwareupdated
    Virtual Memory Information: ℹ️
        5.28 GB    Free RAM
        5.26 GB    Active RAM
        4.92 GB    Inactive RAM
        1.73 GB    Wired RAM
        80.28 GB    Page-ins
        8 MB    Page-outs

    When you have the problem, note the exact time: hour, minute, second.  
    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above.
    Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first.
    Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Why all of a sudden I'm getting pop up's stating High CPU performance for plug in, anmd Performance allert, high memory use by firefox, never had these problems till I upgraded to the latesty Firefox offered???????

    since I upgraded to the latest version of fire fox, I'm getting pop ups stating, And I quote! Performamce Alert,high memory use by Fire Fox, and High CPU Performance for plug in by Fire fox, never had this problem with the last version of Fire Fox, this has apparently is slowing down mu computer, and I was much better off with the old one

    since I upgraded to the latest version of fire fox, I'm getting pop ups stating, And I quote! Performamce Alert,high memory use by Fire Fox, and High CPU Performance for plug in by Fire fox, never had this problem with the last version of Fire Fox, this has apparently is slowing down mu computer, and I was much better off with the old one

  • Why is my memory used so high?

    I bought a new macbook air with 8gb of rat and 512gb HD and 1.4 GHz Intel Core i5. For some reason my Memory Used is super high even though I barely have anything open. It's been running pretty slow. Even when I hit the F3 button to view all my pages, it's super laggy. Any idea?

    Quit Chrome and try using Safari. Why do you think it is running slow?
    Pre-Mavericks
    Open Activity Monitor in the Utilities folder.  Select All Processes from the Processes dropdown menu.  Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time (>=70,) then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.
    Mavericks and later
    Open Activity Monitor in the Utilities folder.  Select All Processes from the View menu.  Click on the CPU tab in the toolbar. Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time (>=70,) continuously, then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.

  • Safari 5 High Memory Use

    For me, Safari 5 is using a lot of memory (ballooning up to as much as 2.5 GB rather quickly). Average memory use is 2 to 5 times higher than under similar conditions (length between quitting Safari; number of windows/tabs open) with Safari 4. Is anybody else having a similar problem? Does anyone have a possible solution?
    Thanks

    Are extensions really the culprit? I turned off extensions, and the memory use is still high ....
    I have 50 tabs open, and it takes up 2.5GB!
    In Safari 4, I had 200 open and it'd take up that much space

  • Slow Lion - really high virtual memory use

    Lion is running really slow on both my Mac Mini and my Mac Book Pro. Both systems are less than two years old, both with 4 GB of RAM. I checked Activity Monitor (right after restart, running Chrome, Mail, and iTunes only) and I get a VM size of 266.42 GB! Is this normal? And could this be the reason why it seems so dreadfully slow?

    budusa,
    Take a really deep breath and let it out. Relax. The universe is ok.
    You have to step back at look at what your data is showing you.
    Physical Memory: 4 GB
    Virtual Memory: 266.42 GB  < notice this larger than your physical.
    Note the amount of memory used by your system, Wired, 675.4 MB. From what I understand so far of how OS X lion uses memory is that your system is using less a 1 gigabyte of memory.
    Now note the amount of Inactive memory, 535.7 MB. I bet if you looked for the processes you used the amount they where accessing would equal that amount.
    Also note your Active memory used, 1.52 GB. That was currently being used at the moment of your snapshot. Note also it could reflect was used recently also.
    Ok, now look at your Free memory, 1.30 GB.
    And the last part, the Used, 2.70 GB.
    Do you notice something yet? Do you see it?
    Ok, you have 4 GB of Physical RAM installed.
    According to your information you used only, roughly, 2.70 GB of Physical RAM.
    That means you used 2.70 of 4 GB of physical RAM.
    Now if you notice your free memory, 1.30 GB.
    If you take 2.70 - 4 = 1.30 < notice the answer, Free memory, 1.30 GB.
    Basically your system used 2.70 GB of 4 GB to run the applications listed.
    Look at your Virtual Memory, 266.42 GB. Notice it larger than 2.70 GB?
    My understanding of how a 64 bit OS works, and the key item why it works better than 32 bit, is the Virtual Address Space. This is how the OS allows programs to run with out taking up all the physical memory. The programs go there to play as I like to say. Another way to look at it is do want only 4 GB's or 8+ Terabyte's of Virtual Address Space?
    So, the Virtual Memory you see is ok and is normal.
    Do not follow some advice I have seen here about switching programs to run in 32 bit mode. You defeat the purpose of 64 bit.
    If you system is running slow then look at your installed programs. Note also that if you have a small hard drive it can cause sluggishness too.
    I hope this helped. Maybe it confused. Sorry for making it long as I did.

  • High CPU and memory use on Skype 7.4

    Hello Skype Community,
    Since we have release Skype 7.4 for Windows desktop we have seen a small number of users reporting sometimes high CPU usage and memory consumption by the Skype app.
    We are aware of the issue and are working to identify the root causes and identify all the conditions (internal and external) leading to abnormal memory and processor usage. Thanks for your reports confirming our internal telemetry.
    I am going to update this topic weekly with an update (or earlier should any news arise).

    For further investigation of high CPU issues- Download process manager from https://technet.microsoft.com/en-us/library/bb896645.aspx- Open the filter window <filter><filter>- add the filter <processname> <is> <skype.exe>- close the filter window- clear events <ctrl-x>- start capturing if it is not capturing already with <file><capture events>- wait for about 10 seconds- stop capturing events <file> <capture events> You should have only a few 100 events, if you have more(even 10s of thousands)  you can find out under <tools> <any summary> what has taken a lot of time and post your findings in the thread for further info. I found the root cause for my high CPU problem by doing this:http://community.skype.com/t5/Windows-desktop-client/High-CPU-7-5-Solved/m-p/3992130

  • My Mac pro is running very slow. Memory used 3.99 out of 4.00

    Hello,
    My mac is running very slow
    - I have noticed that memory used is 3.99 out of 4.00 and the process taking most of it is safari web content. Problem also appears when I use Firefox
    - this happens even I only have safari or firefox open. No other applications
    - I have about 80Gb free disk space
    Thanks for any suggestions

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) on the advice of a stranger. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
    Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts 51 4 300 25 5120 ' KiB/s' 1024 85 % 5 1 ' MB/s' 25000 ' ports' 'com.autodesk.AutoCad com.evenflow.dropbox com.google.GoogleDrive' 'DYLD_INSERT_LIBRARIES DYLD_LIBRARY_PATH' -86 \< '>=' 'N\/A' down up 100 25 recvfrom sendto 'v[0]=' 'a=(' ';[[ "${v[0]}" ]]' ');v[0]=$a;ind=0' '(){ x=;[[ "$4" ]]&&x=\"${v[$4]}\";' '`eval "${c1[$1]} ${c2[$2]}" "$x"|' ' "${s[$3]}"`' ';};' CFBundleIdentifier 25 );f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' '\n%s: user %s%%, system %s%%\n' '%s\n\t(%s)\n' '%s %s' );s=('/^ *$|CSConfigDot/d;s/^ */   /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/\/Users\/[^/]+/~/g' 's/^ *//;5p;6p;8p;12p' '/ Id/s/.+: //p;/Mem/{s/[^0-9]//g;p;}' '1,5d;/[Bmy].*:/d;H;${g;/s: [^EO]|x([^08]|02[^F]|8[^0])/p;}' '5h;6{H;g;/P/!p;}' '/Cy|Cond.*: [^N]/s/^.*://p' '/:$/{s/ *:$//;x;s/\n//;/Apple|Genesy|Intel|SMSC/d;s/\n.*//;/\)/p;};/^ *(V.+ [0N]|Man).+ /{s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;}' 's/^.*C/C/;H;${g;/No th|pms/!p;}' '/= [^GO]/p' '{$1=""};1' '/Of/!{s/^.+is |\.//g;p;}' '/(sh|ng|ic)$/p' '/:/{$4=""};1' 'NR==2{print $4}' '/po/{sub("\\.","");print int($2/256)}' '$p' 2p '$8~/[RW]/{print $4,$1,int($9/10000000)}' 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}//;s/ .+//p' '/Launch[AD].+\.plist$/p' '/\.xpc\/(Contents\/)?Info\.plist$/p' 'NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$/{print $3}' '/\.(framew|lproj)/d;/plist:|:.+(M.+exec|scrip)/s/:[^:]+//p' '/root/p' '/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/d;/Lib.+\/Info.plist$/p' '/^\/usr\/lib\/.+dylib$/p' '/\/etc\/(auto_m|hosts[^.]|peri)/s/^\.\/[^/]+//p' '/\/(Contents\/.+\/Contents|Frameworks)\//d;p' 's/\/(Contents\/)?Info.plist$//;p' '{gsub("^| ","||kMDItem'${p[43]}'=");sub("^.."," ")};1' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '/e:/{print $2}' '1d;/[^)]$/{s/^\(.+\) //;h;d;};/[^ ]\)$/{s/^.+: |.$//g;G;s/\n/:/p;}' '/r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./{print $NF;exit}' '!/^T/{printf "(static)";exit}' 's/^.+://p' '(/k:/&&$3!~/(255\.){3}0/)||(/v6:/&&$2!~/A/)' '/lR/{print $2}' 'NR==2{print int($7/1024),int($10/1024)}' 'END{$3=int($3/10240);print}' 'END{if($5~/pro/)print$3}' 'BEGIN{L='${p[44]}'}!/^[[:space:]]*(#.*)?$/{l++;if(l<=L)f=f"\n\t"$0}END{print "\nContents of "FILENAME"\n"f;if(l>L)print"\n\tand "l-L" more line(s)"}' 'BEGIN{FS="= "}/Path/{print $2}' '/^ +B/{s/.+= |(-[0-9]+)?\.s.+//g;p;}' 'END{print NR}' '/id: N|te: Y/{i++}END{print i}' '/^F/!p' '/:/{$0="'"${p[28]}"'"};1' 'BEGIN{FS=":"}{n=split($3,a,".");sub(/_2.+/,"",a[n-1]);print($2,a[n-1],a[n],$1)|"sort";b=b$1}END{if(b)print("\n\t* Code injection")}' '/apsd|OpenD/!s/:.+//p' '$2>'${p[9]}'{$2=$2-1;print}' );c1=(system_profiler 'pmset -g' nvram fdesetup find syslog df vm_stat sar ps iostat 'sudo iotop' top pkgutil PlistBuddy whoami cksum kextstat launchctl 'sudo launchctl' crontab 'sudo defaults read' stat lsbom mdfind 'for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done' 'defaults read' scutil route networksetup 'sed -En' awk '/S*/*/P*/*/*/*/*/airport -I' netstat 'sudo dtrace' 'sudo profiles' 'sudo crontab' );c2=('com.apple.loginwindow LoginHook' '-c Print /L*/P*/loginw*' '-c Print L*/P*/*loginit*' '-c Print L*/Saf*/*/E*.plist' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' '-c Print\ :'${p[43]}' 2>&1' '-c Print\ :Label 2>&1' '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status '-F bsd -k Sender kernel -k Message CReq "caug|dead[^l]|GPU |hfs: Ru|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|timed? ?o|WARN" -k Message Ane "SMC:" -o -k Sender fseventsd -k Message CReq "SL"' '-u 1 10' 'acrx -o comm,ruid,%cpu' '-C 10 1' '-f -pfc /var/db/*/*.{BS,Bas,Es,OSXU,Rem}*.bom' '{/,}L*/Lo*/Diag* -type f \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;' '-L {/{S*/,},}L*/Lau* -type f' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo}* -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` " /e*/{auto_master,{cron,fs}tab,hosts,{launchd,sysctl}.conf} /u*/lo*/e*/per*/*/* .launchd.conf" list getenv '/Library/Preferences/com.apple.alf globalstate' --proxy '-n get default' -listnetworkserviceorder --dns -getdnsservers -getinfo '-b -I' '-m /' '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --only-files --files com.apple.pkg.*|sort|uniq' -kl -l -P );N1=${#c2[@]};for j in {0..8};do c2[N1+j]=" SP${p[j]}DataType";done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n 'syscall::'${p[33+j]}':return {@[execname,uid]=sum(arg0)} tick-10sec {exit(0)}'";done;l=(Model 'RAM (GB)' 'RAM details' POST 'Battery cycles' 'Battery condition' 'Bad plists' 'High file counts' User Heat 'System load' 'boot args' FileVault 'Diagnostic reports' Log 'Free space (MiB)' 'Swap (MiB)' 'CPU total' 'CPU per process' 'Average I/O (MB/s)' 'I/O per process' 'Mach ports' kexts Daemons Agents launchd 'Startup items' 'Admin access' 'Root access' Bundles dylibs Apps 'Font issues' 'Inserted dylibs' Firewall Proxies DNS TCP/IP RSSI Profiles 'Elapsed time (s)' 'Root crontab' 'User crontab' 'Login hook' 'Global login items' 'User login items' 'Safari extensions' 'Restricted files' 'Hidden apps' );N3=${#l[@]};for i in 0 1 2;do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Average ${p[29+j]}stream data (KiB/s)";l[N4+2+j]="Current ${p[29+j]}stream data";done;A0(){ id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear;v[11]=$((v[3]-`sysctl -n kern.boottime|cut -c9-18`));};for i in 0 1;do for j in 0 1;do eval A$((1+i+2*j))"${p[39]}${p[35+j]}${p[40]}${c1[30+i]}${p[41]}${p[37+j]}${p[42]}";done;eval A$((5+i))'(){ v[0]=`while read i;do eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}"`;[[ "${v[0]}" ]];};';eval A$((7+i))'(){ v[0]=`while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}"`;[[ "${v[0]}" ]];};';done;A9(){ v[0]=$((`date +%s`-v[3]));};B00(){ v[0]=${a[++ind]};};for j in 0 1; do eval B0$((1+j))'(){ v[0]=$((v[0]'${p[26+j]}'p[$1]?v[0]:0));};';eval B0$((3+j))'(){ a[$1]=${a[$1]%[.+-]*};((a[$1]'${p[26+j]}'p[$2]))||unset a;};';done;B05(){ v[0]=`tail -n${p[$1]}<<<"${v[0]}"`;};B06(){ [[ "${a[*]}" ]]&&a=("${a[$1]}" "${a[$2]}");};B07(){ unset a v[0] ind;((v[2]==0))||{ v[0]=No;false;};};B08(){ v[$1]="${v[0]}";};B09(){ a=(${v[0]});};B10(){ v[0]=`grep -F "${v[$1]}"<<<"${v[0]}"`;};B11(){ n=$((${#a[@]}-1));((n>2))||return;A="${a[*]}";B="${a[n-1]} ${a[n]}";a=("${A% $B}" $B);};B12(){ v[0]=;[[ "$a" ]]&&v[0]="$a (UID ${a[1]}) is using ${a[2]}${p[$1]}";};B13(){ v[0]=$((v[0]/v[$1]));};B14(){ v[$2]=`eval "sed -En '${s[$3]}'"<<<"${v[$1]}"`;};B15(){ v[$2]=`eval "awk '${s[$3]}'"<<<"${v[$1]}"`;};B16(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B17(){ v[0]=`paste -d: <(echo "${v[$1]}") <(echo "${v[$2]}")|awk -F: '{printf("'"${f[$3]}"'",$1,$2)}'`;};B18(){ unset a v[0] ind;((v[1]==0))||{ v[0]=No;false;};};B19(){ v[0]="${a[++ind]}";};B20(){ v[0]=`grep -Fv "${v[$1]}"<<<"${v[0]}"`;};C0(){ echo $'\n'"${v[0]}";};C1(){ [[ "${v[0]}" ]]&&printf "${f[$1]}" "${l[$2]}" "${v[0]}";};C2(){ v[0]=`echo ${v[0]}`;[[ "${v[0]}" != 0 ]]&&C1 0 $1;};C3(){ v[0]=`sed -E "${s[0]}"<<<"${v[0]}"`&&C1 1 $1;};C4(){ [[ "${a[*]}" ]]&&printf "${f[$1]}" "${l[$2]}" "${a[@]}";};A0;{ B18;C2 27;B18&&! B07&&C2 28;A1 15 37 25;C2 8;A1 0 $N1 1;C0;A3 0 $((N1+1)) 2;C2 0;B00;B01 10;C2 1;A1 0 $((N1+2)) 3;C3 2;A1 0 $((N1+3)) 4;C3 3;A3 0 $((N1+4)) 5;B02 11;C2 4;B00;C2 5;for i in 0 1 2;do A1 0 $((N1+5+i)) 6;C3 $((N3+i));done;A1 1 10 7;C3 9;A1 1 11 8;C3 10;A2 2 12 9;C2 11;A1 3 13 10;C2 12;A1 4 19 11;B15 0 0 54;C3 13;A2 5 14 12;B05 12;C3 14;A2 6 36 13;B01 13;C2 15;A2 7 37 14;B02 15;C2 16;A3 8 15 15;B03 4 16;B06 1 3;C4 3 17&&{ A3 9 16 16;B11;B12 17;C2 18;};A2 10 38 17;B02 18;C2 19;B07&&{ A2 11 17 17;B05 19;B09;B11;B04 2 19;B12 20;C2 20;};A3 12 39 15;B11;B04 2 21;B12 22;C2 21;A1 13 40 18;B08 4;B14 4 0 19;A5 14 6 52 0;B08 5;A1 17 41 20;B20 5;C3 22;B14 4 6 21;A5 14 7 52 6;B08 7;B14 4 0 22;A5 14 6 52 0;B08 8;B16 7 8;B07&&{ A2 19 26 23;B20 7;C3 23;};A2 18 26 23;B20 7;C3 24;A1 4 20 21;B20 6;B08 9;A6 14 7 53 9;B08 10;B17 9 10 4;C3 25;A1 4 21 24;C3 26;B14 4 12 26;B14 4 13 27;A1 4 22 29;B20 12;B08 14;A6 14 6 53 14;B08 15;B17 14 15 4;B14 0 0 30;C3 29;A1 4 23 27;B20 13;C3 30;A1 24 24 32;C3 31;A1 23 18 28;B08 16;A2 16 25 33;B20 16;B14 0 0 34;B08 21;A8 47 21&&C0;B07&&{ A1 21 0 32;C3 43;};for i in 0 1;do A2 14 $((1+i)) 48;C3 $((44+i));done;A1 14 3 49;C3 46;A2 4 4 50;C2 47;A1 4 5 32;C3 48;A2 0 $((N1+8)) 51;C2 32;A1 4 8 55;C3 6;A2 22 9 56;C3 7;B07&&{ A1 36 42 32;C3 41;};A2 20 42 32;C3 42;A1 25 37 32;C3 33;A1 26 28 35;C2 34;A1 27 29 36;C3 35;A2 28 30 37;B08 17;A1 29 31 38;B10 17;B14 0 18 41;A2 27 32 39&&{ B08 19;A2 29 33 40;B08 20;B17 19 20 5;};C2 36;A2 29 34 42 18;C3 37;A2 32 37 43;B01 25;C2 38;A4 33 35 44 17;for i in 0 1;do B13 11;B02 $((31+i));C2 $((N4+i));B19;done;B07&&for i in 0 1;do A4 34 $((N2+i)) 45;B11;B04 3 $((31+i));B12 14;C2 $((N4+2+i));done;B07&&{ A2 35 43 46;C2 39;};A9;C2 40;} 2>/dev/null|pbcopy;exit 2>&-  
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    8. If you see an error message in the Terminal window such as "syntax error," enter
    exec bash
    and press return. Then paste the script again.
    9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report the results. No harm will be done.
    11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At or near the top of the results, there will be a line that begins with "System Version." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • All agentless monitored servers showing same percent memory used

    I have 13 servers that are managed agentless via a proxy agent on the gateway server. I do this as when I had them set up to use the agent, the agent was consuming too much CPU on the servers. So, all appears to be fine, it is pulling in the percent CPU
    usage and such, and recognizes the OS version and what not. The issue I have, is I set up a dashboard with a performance widget to track the percent memory used. All of my agentless monitored servers show the same percentage, and the percentage is also much
    higher than what I see on the actual servers. So, it appears that there may be some form of roll up or something on the agentless servers, or it's taking the highest from the group, or I'm not drilling into the right counter or something. I have two widgets,
    one that is performance and one that is performance object. The performance one grabs the object "Memory", counter of "PercentMemoryUsed", with no performance instance selected (although I have also tried "all"). The performance
    object widget selects the same performance counter (Memory / PercentMemoryUsed /) and again have also tried "all" there as well. This allows the performance widget to graph/show the last value and maximum value, while the performance object shows
    me the average sorted from highest to lowest. I have another server that is agent managed in the same list, that shows what appears to be accurate information...and there is also a performance counter for cpu usage that appears to have accurate data for all
    of the above (agent and agentless). So, why am I seeing this issue with my agentless servers?
    mpleaf

    This is a link on what is officially possible in SCOM 2012 with agentless monitoring:
    http://technet.microsoft.com/en-us/library/hh212910.aspx
    You may use snmp to capture memory:
    http://www.oidview.com/mibs/311/md-311-1.html
    Using custom script of WMI model to obtain required utilization
    memory usage:
    http://forum.sysinternals.com/ram-memory-usage-how_topic21061.html

  • The amount of memory used for data is a lot larger than the saved file size why is this and can I get the memory usage down without splitting up the file?

    I end up having to take a lot of high sample rate data for relativily long periods of time. When I save the data it is usually over 100 MB. When I load the data for post-processing though the amount of memory used is excessively higher than the file size. This causes my computer to crash because 1.5 GB is not enough. Is there a way to stop this from happening withoput splitting up the file into smaller files.

    LabVIEW can efficiently handle large files, far beyond 100Mb, provided that care is taken in the coding of the loading/processing routines. Here are several suggestions:
    1) Check out the resources National Instruments has put together (NI Developer Zone > Development Library > Measurement and Automation Software > LabVIEW > Development System > Optimizing Applications > Managing Memory), specifically the article entitled "Managing Large Data Sets in LabVIEW".
    2) Load and process the data in chunks if possible.
    3) Avoid sending the data to front panel indicators, using local/global variables for data storage, or changing data types unless absolutely necessary.
    4) If using LabVIEW 7.1, use the "show buffer" tool to determine when LabVIEW is creating extra
    copies of data in memory.

  • Understanding Solaris 10 memory use

    Hi - does anyone know of a decent, easy to understand guide on understanding the above? I have a T4-1 Solaris 10 DB2 server with "top" installed that shows around 4G of free memory out of 64G real. But vmstat shows around 30G of free memory. The only thing running on the server is a single non-global zone that has memory capped at 32G - so I'm trying to figure out why "top" is showing so much used memory? I use Cacti to graph memory usage and this has crept up over a month or so. Swap used as far as top / Cacti is concerned has remained at 11G pretty much since the server was last rebooted.
    vmstat:
    kthr memory page disk faults cpu
    r b w swap free re mf pi po fr de sr s4 s5 s6 s7 in sy cs us sy id
    0 0 0 86960112 32143992 26 74 0 0 0 0 0 -0 23 13 -0 1448 939 1179 0 0 100
    So free is ~30G
    top:
    Memory: 64G real, 3197M free, 11G swap in use, 55G swap free
    Any help would be appreciated, thanks - Julian.

       In general, I tend to be as confused at the array of different values you get from memory statistics as anybody. Clearly, different tools are most likely measuring different things with respect to memory usage and the values aren't necessarily comparable. It is often hard for those of us in the field to determine what these tools are actually measure. However, what you're describing as top's free memory value sounds like the size of the free list. Years ago I remember reading something about this. Let me tray to explain it - hopefully, someone more knowledgeable than I can correct it if I get it wrong.
       To put it simply, empty memory is a waste - you might as well have something loaded in case you need it later. So when you load something into memory, you don't throw it away until you know you need the space for something else. However, you have to have be able to grab memory quickly, so you plan ahead and keep a list of memory pages you can reuse at a moment's notice. The "free memory" size if the size of this list - the memory which is free to be reused at a moment's notice.
       It works like this. Initially, the free list is everything the OS isn't using. As the system runs, the memory get used and the free list gets smaller and smaller. Eventually, it reaches a high water mark which causes the kernel to run an internal task to look for more memory which can be freed if needed. This process works until it adds enough memory to the free list to reach a low water mark. So, at boot time you have a lot of free memory which slowly gets consumed. Once it reaches a certain point, the kernel maintains free memory between the high and low water marks. This sounds like what you describe. The memory use creeps up and then stays high.

  • Shared memory (System V-style) - High usage of phys memory and page outs

    Hi!
    I get a much higher usage of physical memory when I use shared memory than I would expect. Please, I would really need someone to confirm my conclusions, so that I can revise my ignorance in this subject.
    In my experiments I create a shared memory segment of 200 MB and I have 7 processes attaching to it. I have a ws of 1 GB.
    I expect to see what I see when I attach to the shared memory segment in terms of virtual size, i.e. SIZE in prstat. After attaching (mapping it) to the process all 7 processes are about ~203 MB each and this makes sense. RSS, in prstat, is about 3 MB for each process and this is ok to me too.
    It is what I see when each of the 7 processes start to write a simple string like 'Hello!' in parallel to each page in their shared memory segment that I get surprised. I run out of memory on my ws after a while and the system starts to wildly page out physical memory to disk so that the next 'Hello!' can be written to the next page in the shared memory segment. It seems that each page written to in the shared memory chunk is mapped into each process private address space. This means that the shared memory is not physically shared, just virtually shared. Is this correct?
    Can memory be physically shared, so that my 7 processes only use 200 MB? ISM? DISM?
    I create a shared memory segment in a C-program with the following calls:
    shmid = shmget(key, SHM_SIZE, 0644 | IPC_CREAT)
    data = shmat(shmid, (void *)0, 0);Thanks in advance
    /Sune

    Your problem seemed reasonable. What were you doing wrong?
    Darren

  • What causes memory use of my program increase? (Write to Spreadshee​t? Running in LV environmen​t? External dlls? Waveform graphs?)

    Hi 
      I have attached a plot for the discussion here..
      I am monitoring the memory usage by my VI thru calling a window's dll to keep checking that (Many thanks to Matt). 
      I saw raising slopes and flat (wow! First time I catch this, that's what I am expecting)
      I am thinking where could there be a reason for memory growing up!
    What I did:-
    1. Mostly use queues (all limited # of elements) for parameters delivery between loops and between subVIs
    2. I close Obtained queue ref. every time I finish with it (only leaving a few keeping alive so they won't be killed)
    3. For all arrays I initialized with a fixed size array constant and do all jobs with Replace subset, Index Array and that In-place block.
    Above are measures I intended to use to save memory.
      However for a few points I think there might cause a memory grows, and I wish that someone can share with me your experience or give me an answer...
    1. Write to spread file:-- I keep using this to log data, events into harddisk, in my use I always append new logs/data to the existing file, however I keep doing it all the time throughout the run-time.
    2. Running my program in LV.exe -- I havn't compiled it yet. However when I was taking the plot's data, my PC is left with no one using it.
    3. There is a couple of external dlls running -- however it sounds to me from other's view point, external dll's resource doesn't count into Labview.exe. Since I am monitoring Labview's memory use, that couldn't be a source of the raising I see from this plot, right?
    4. Waveform graphs -- I am not sure whether this can be a problem. Everytime I feed data into a waveform control, I initialized a constant array and then replace elements into it, I don't think my data source is casuing any problem.
      Can someone comment on my above descriptions of my program?
    Raymond

    vgbraymond wrote:
    1. Write to spread file:-- I keep using this to log data, events into harddisk, in my use I always append new logs/data to the existing file, however I keep doing it all the time throughout the run-time.
    Write to spreadsheet file is a high level VI that opens and closes the file with every call. I would recommend to open the file once at the start of the programs, then append using lowlevel functions. Close the file after the program is done.
    Have you done any profiling to see which subVIs shows the bulk of the memory use?
    You might also turn off debugging to see if it makes a difference. Don't open the front panel of subVIs (and avoid functions that force the front panel to be in memory) unless they need to show something important to the user.
    It would really help if we could see some actual code. Can you strip it down to the essentials that still show the problem?
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for