Mds process shoots up CPU and Memory

I upgraded to OS X Mavericks about a month ago and ever since, have had to disable Spotlight due to shooting CPU and Memory. The only way to get my Mac to a usable state is to add Macintosh HD to Spotlight privacy list to prevent indexing. The moment I do that, CPU and Memory get to normal.
Here is what Memory/CPU looks when I am doing nothing on my Mac and all apps are closed:
mds
1.76 GB
6
195
349
root
100.2
42.25
0 bytes
0 bytes
0
0
No
No
0 bytes
0 bytes
0 bytes
64 bit
No
Yes
0 bytes
0 bytes
0 bytes
kernel_task
598.3 MB
93
0
0
root
1.7
17.61
0 bytes
0 bytes
0
0
No
No
0 bytes
0 bytes
0 bytes
64 bit
No
No
0 bytes
0 bytes
0 bytes
com.apple.IconServicesAgent
116.1 MB
2
65
214
RockingVegan
0.0
0.80
0 bytes
0 bytes
0
0
No
No
0 bytes
0 bytes
0 bytes
64 bit
Yes
Yes
0 bytes
0 bytes
0 bytes
Finder
85.5 MB
6
296
165
RockingVegan
0.0
5.99
0 bytes
0 bytes
0
0
No
No
0 bytes
0 bytes
0 bytes
64 bit
Yes
No
0 bytes
0 bytes
0 bytes
WindowServer
57.0 MB
5
297
112
_windowserver
0.7
9.27
0 bytes
0 bytes
0
0
No
No
0 bytes
0 bytes
0 bytes
64 bit
No
No
0 bytes
0 bytes
0 bytes
CVMCompiler
48.3 MB
2
38
233
RockingVegan
0.0
5.06
0 bytes
0 bytes
0
0
No
No
0 bytes
0 bytes
0 bytes
64 bit
No
Yes
0 bytes
0 bytes
0 bytes
mds_stores
34.9 MB
3
60
248
root
0.0
7.16
0 bytes
0 bytes
0
0
No
No
0 bytes
0 bytes
0 bytes
64 bit
No
Yes
0 bytes
0 bytes
0 bytes
mdworker
32.9 MB
4
62
351
RockingVegan
0.0
3.81
0 bytes
0 bytes
0
0
No
No
0 bytes
0 bytes
0 bytes
64 bit
Yes
Yes
0 bytes
0 bytes
0 bytes
mdworker
31.6 MB
4
62
354
RockingVegan
0.0
3.66
0 bytes
0 bytes
0
0
No
No
0 bytes
0 bytes
0 bytes
64 bit
Yes
Yes
0 bytes
0 bytes
0 bytes
mdworker
31.4 MB
4
62
352
RockingVegan
0.0
3.68
0 bytes
0 bytes
0
0
No
No
0 bytes
0 bytes
0 bytes
64 bit
Yes
Yes
0 bytes
0 bytes
0 bytes
mdworker
31.3 MB
4
62
353
RockingVegan
0.0
3.67
0 bytes
0 bytes
0
0
No
No
0 bytes
0 bytes
0 bytes
64 bit
Yes
Yes
0 bytes
0 bytes
0 bytes
mds
100.1
1:07.13
8
1
349
root
2.31 GB
190
0 bytes
0 bytes
0
0
No
No
0 bytes
0 bytes
0 bytes
64 bit
No
Yes
0 bytes
0 bytes
0 bytes
Here is what EtreCheck shows: I cleaned up a bunch of stuff based on other such discussions. I see a bunch of User Launch Agents - I deleted these from /Library/User Agents - and rebooted, but these don't seem t go away from the list.
Hardware Information:
    MacBook Pro (15-inch, Late 2011)
    MacBook Pro - model: MacBookPro8,2
    1 2.4 GHz Intel Core i7 CPU: 4 cores
    8 GB RAM
Video Information:
    Intel HD Graphics 3000 - VRAM: 512 MB
    AMD Radeon HD 6770M - VRAM: 1024 MB
Audio Plug-ins:
    BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
    AirPlay: Version: 1.9 - SDK 10.9
    AppleAVBAudio: Version: 2.0.0 - SDK 10.9
    iSightAudio: Version: 7.7.3 - SDK 10.9
System Software:
    OS X 10.9.1 (13B42) - Uptime: 0 days 0:5:9
Disk Information:
    Hitachi HTS727575A9E362 disk0 : (750.16 GB)
        EFI (disk0s1) <not mounted>: 209.7 MB
        Macintosh HD (disk0s2) /: 749.3 GB (414.88 GB free)
        Recovery HD (disk0s3) <not mounted>: 650 MB
    MATSHITADVD-R   UJ-8A8 
USB Information:
    Apple Inc. BRCM2070 Hub
        Apple Inc. Bluetooth USB Host Controller
    Apple Inc. Apple Internal Keyboard / Trackpad
    Apple Inc. FaceTime HD Camera (Built-in)
    Apple Computer, Inc. IR Receiver
FireWire Information:
Thunderbolt Information:
    Apple Inc. thunderbolt_bus
Kernel Extensions:
Problem System Launch Daemons:
Problem System Launch Agents:
Launch Daemons:
Launch Agents:
User Launch Agents:
    [failed]    com.apple.CSConfigDotMacCert-[redacted]@me.com-SharedServices.Agent.plist
    [loaded]    com.macpaw.CleanMyMac.trashSizeWatcher.plist
    [failed]    com.spotify.webhelper.plist
    [failed]    com.UninstallerTool.plist
    [failed]    com.VolumeWatcherTool.plist
User Login Items:
    None
3rd Party Preference Panes:
    Citrix online plug-in
    Flash Player
    Java
    MusicManager
Internet Plug-ins::
    Flash Player: Version: 11.9.900.170 - SDK 10.6
    AdobePDFViewer: Version: 10.1.2
    eMusicRemote: Version: (null)
    googletalkbrowserplugin: Version: 4.9.1.16010
    SpeedDownload Browser Plugin: Version: 2.1.2
    iPhotoPhotocast: Version: 7.0
    AmazonMP3DownloaderPlugin1017265: Version: AmazonMP3DownloaderPlugin 1.0.17
    RealPlayer Plugin: Version: Unknown
    Veoh Plugin: Version: 3.0
    DirectorShockwave: Version: 12.0.7r148 - SDK 10.6
    QuickTime Plugin: Version: 7.7.3
    PDF Browser Plugin: Version: 2.4.2 - SDK 10.6
    FlashPlayer-10.6: Version: 11.9.900.170 - SDK 10.6
    CitrixICAClientPlugIn: Version: 11.1.0
    AmazonMP3DownloaderPlugin: Version: AmazonMP3DownloaderPlugin 1.0.17
    npgtpo3dautoplugin: Version: 0.1.44.29 - SDK 10.5
    DivXBrowserPlugin: Version: 2.2
    eMusic: Version: Unknown
    Silverlight: Version: 5.1.20913.0 - SDK 10.6
    Default Browser: Version: 537 - SDK 10.9
    Flip4Mac WMV Plugin: Version: 2.4.4.2
    o1dbrowserplugin: Version: 4.9.1.16010
    SharePointBrowserPlugin: Version: 14.3.9 - SDK 10.6
    JavaAppletPlugin: Version: Java 7 Update 45
User Internet Plug-ins::
    Move-Media-Player: Version: npmnqmp 071706000001
    iGetterBundle: Version: 2.8.5
    OctoshapeWeb: Version: 1.0
Bad Fonts:
    None
Old applications:
    Keynote:    Version: 5.3 - SDK 10.5
        /Applications/iWork '09/Keynote.app
    Microsoft Alerts Daemon:    Version: 14.3.9 - SDK 10.5
        /Applications/Microsoft Office 2011/Office/Microsoft Alerts Daemon.app
    Microsoft Chart Converter:    Version: 14.3.9 - SDK 10.5
        /Applications/Microsoft Office 2011/Office/Microsoft Chart Converter.app
    Microsoft Clip Gallery:    Version: 14.3.9 - SDK 10.5
        /Applications/Microsoft Office 2011/Office/Microsoft Clip Gallery.app
    Microsoft Communicator:    Version: 13.1.3 - SDK 10.5
        /Applications/Microsoft Communicator.app
    Microsoft Database Daemon:    Version: 14.3.9 - SDK 10.5
        /Applications/Microsoft Office 2011/Office/Microsoft Database Daemon.app
    Microsoft Database Utility:    Version: 14.3.9 - SDK 10.5
        /Applications/Microsoft Office 2011/Office/Microsoft Database Utility.app
    Microsoft Document Connection:    Version: 14.3.9 - SDK 10.5
        /Applications/Microsoft Office 2011/Microsoft Document Connection.app
    Microsoft Excel:    Version: 14.3.9 - SDK 10.5
        /Applications/Microsoft Office 2011/Microsoft Excel.app
    Microsoft Graph:    Version: 14.3.9 - SDK 10.5
        /Applications/Microsoft Office 2011/Office/Microsoft Graph.app
    Microsoft Language Register:    Version: 14.3.9 - SDK 10.5
        /Applications/Microsoft Office 2011/Additional Tools/Microsoft Language Register/Microsoft Language Register.app
    Microsoft Office Reminders:    Version: 14.3.9 - SDK 10.5
        /Applications/Microsoft Office 2011/Office/Microsoft Office Reminders.app
    Microsoft Office Setup Assistant:    Version: 14.2.0 - SDK 10.5
        /Applications/Microsoft Office 2011/Office/Microsoft Office Setup Assistant.app
    Microsoft Outlook:    Version: 14.3.9 - SDK 10.5
        /Applications/Microsoft Office 2011/Microsoft Outlook.app
    Microsoft PowerPoint:    Version: 14.3.9 - SDK 10.5
        /Applications/Microsoft Office 2011/Microsoft PowerPoint.app
    Microsoft Upload Center:    Version: 14.3.9 - SDK 10.5
        /Applications/Microsoft Office 2011/Office/Microsoft Upload Center.app
    Microsoft Word:    Version: 14.3.9 - SDK 10.5
        /Applications/Microsoft Office 2011/Microsoft Word.app
    Music Manager:    Version: 1.0 - SDK 10.5
        /Applications/MusicManager.app
    My Day:    Version: 14.3.9 - SDK 10.5
        /Applications/Microsoft Office 2011/Office/My Day.app
    Numbers:    Version: 2.3 - SDK 10.5
        /Applications/iWork '09/Numbers.app
    Open XML for Excel:    Version: 14.3.9 - SDK 10.5
        /Applications/Microsoft Office 2011/Office/Open XML for Excel.app
    Pages:    Version: 4.3 - SDK 10.5
        /Applications/iWork '09/Pages.app
    Solver:    Version: 1.0 - SDK 10.5
        /Applications/Microsoft Office 2011/Office/Add-Ins/Solver.app
    SyncServicesAgent:    Version: 14.3.9 - SDK 10.5
        /Applications/Microsoft Office 2011/Office/SyncServicesAgent.app
Time Machine:
    Mobile backups: OFF
    Auto backup: YES
    Volumes being backed up:
        Macintosh HD: Disk size: 697.84 GB Disk used: 311.45 GB
    Destinations:
        Time Machine Backups [Local] (Last used)
        Total size: 931.19 GB
        Total number of backups: 14
        Oldest backup: 2012-06-30 03:15:51 +0000
        Last backup: 2013-12-18 22:18:59 +0000
        Size of backup disk: Too small
            Backup size 931.19 GB < (Disk used 311.45 GB X 3)
    Time Machine details may not be accurate.
    All volumes being backed up may not be listed.
Top Processes by CPU:
      100%    mds
        4%    WindowServer
        2%    Activity Monitor
        1%    EtreCheck
        0%    sysmond
Top Processes by Memory:
    4.40 GB    mds
    115 MB    Finder
    115 MB    com.apple.IconServicesAgent
    66 MB    mds_stores
    57 MB    WindowServer
Virtual Memory Statistics:
    14 MB    Free RAM
    2.79 GB    Active RAM
    2.78 GB    Inactive RAM
    1.18 GB    Wired RAM
    274 MB    Page-ins
    104 KB    Page-outs

Step 1:
Loaded extrinsic user agents:
com.growl.GrowlLauncher
com.stellar.VolumeWatcher
com.stellar.UninstallerTool
com.spotify.webhelper
com.macpaw.CleanMyMac.trashSizeWatcher
Safari extensions:
DivXHTML5
Searchme
Restricted user files: 53
Extrinsic loadable bundles:
/System/Library/Extensions/2.2.0/Belcarra.USBLAN_netpart.kext  (com.Belcarra.iokit.USBLAN_netpart)
/System/Library/Extensions/2.2.0/Belcarra.USBLAN_usbpart.kext  (com.Belcarra.iokit.USBLAN_usbpart)
/System/Library/Extensions/2.2.0/RemoteControl.USBLAN_usbpart.kext  (com.RemoteControl.USBLAN.usbpart)
/System/Library/Extensions/3.1.1/Belcarra.USBLAN_netpart.kext  (com.Belcarra.iokit.USBLAN_netpart)
/System/Library/Extensions/3.1.1/Belcarra.USBLAN_usbpart.kext  (com.Belcarra.iokit.USBLAN_usbpart)
/System/Library/Extensions/3.1.1/RemoteControl.USBLAN_usbpart.kext  (com.RemoteControl.USBLAN.usbpart)
/System/Library/Extensions/Belcarra.USBLAN_netpart.kext  (com.Belcarra.iokit.USBLAN_netpart)
/System/Library/Extensions/Belcarra.USBLAN_usbpart.kext  (com.Belcarra.iokit.USBLAN_usbpart)
/System/Library/Extensions/daspi.kext  (com.makemkv.kext.daspi)
/System/Library/Extensions/iavkfs.kext  (com.pctools.iantivirus.kfs)
/System/Library/Extensions/RemoteControl.USBLAN_usbpart.kext  (com.RemoteControl.USBLAN.usbpart)
Library/Address Book Plug-Ins/SkypeABDialer.bundle  (com.skype.skypeabdialer)
Library/Address Book Plug-Ins/SkypeABSMS.bundle  (com.skype.skypeabsms)
Library/Address Book Plug-Ins/YMsgrCallABPlugin.bundle  (com.yahoo.YMsgrCallABPlugin)
Library/Address Book Plug-Ins/YMsgrMsnABPlugin.bundle  (com.yahoo.YMsgrMsnABPlugin)
Library/Address Book Plug-Ins/YMsgrSmsABPlugin.bundle  (com.yahoo.YMsgrSmsABPlugin)
Library/Address Book Plug-Ins/YMsgrYimABPlugin.bundle  (com.yahoo.YMsgrYimABPlugin)
Library/Internet Plug-Ins/iGetterBundle.plugin  (com.presenta.iGetterBundle)
Library/Internet Plug-Ins/Move-Media-Player.plugin  (com.movenetworks.movemediaplayer.plugin)
Library/Internet Plug-Ins/OctoshapeWeb.plugin  (com.octoshape.browserplugin)
Library/PreferencePanes/MusicManager.prefPane  (com.google.musicmanager.pref)
Library/Services/ToastIt.service  (com.roxio.ToastItService)
/Library/Audio/MIDI Drivers/EmagicUSBMIDIDriver.plugin  (info.emagic.driver.unitor)
/Library/Internet Plug-Ins/Accel ViewTIFF.bundle  (com.acordex.AccelViewTIFF)
/Library/Internet Plug-Ins/AdobePDFViewer.plugin  (com.adobe.acrobat.pdfviewer)
/Library/Internet Plug-Ins/AmazonMP3DownloaderPlugin.plugin  (com.AmazonMP3DownloaderPluginLib.Amazon MP3 Downloader Plugin)
/Library/Internet Plug-Ins/AmazonMP3DownloaderPlugin1017265.plugin  (com.AmazonMP3DownloaderPluginLib.Amazon MP3 Downloader Plugin)
/Library/Internet Plug-Ins/CitrixICAClientPlugIn.plugin  (com.citrix.citrixicaclientplugIn)
/Library/Internet Plug-Ins/DirectorShockwave.plugin  (com.adobe.director_12_0.shockwave.pluginshim)
/Library/Internet Plug-Ins/DivXBrowserPlugin.plugin  (com.divx.DivXBrowserPlugin)
/Library/Internet Plug-Ins/eMusicRemote.plugin  (com.emusic.plugins.emp.mac)
/Library/Internet Plug-Ins/Flash Player.plugin  (com.macromedia.Flash Player.plugin)
/Library/Internet Plug-Ins/Flip4Mac WMV Plugin.plugin  (net.telestream.wmv.plugin)
/Library/Internet Plug-Ins/googletalkbrowserplugin.plugin  (com.google.googletalkbrowserplugin)
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin  (com.oracle.java.JavaAppletPlugin)
/Library/Internet Plug-Ins/npContributeMac.bundle  (com.adobe.npContributeMacBundle)
/Library/Internet Plug-Ins/npgtpo3dautoplugin.plugin  (com.google.o3d)
/Library/Internet Plug-Ins/o1dbrowserplugin.plugin  (com.google.o1dbrowserplugin)
/Library/Internet Plug-Ins/PDF Browser Plugin.plugin  (com.schubert-it.internet-plugin.pdf)
/Library/Internet Plug-Ins/SharePointBrowserPlugin.plugin  (com.microsoft.sharepoint.browserplugin)
/Library/Internet Plug-Ins/SharePointWebKitPlugin.webplugin  (com.microsoft.sharepoint.webkitplugin)
/Library/Internet Plug-Ins/Silverlight.plugin  (com.microsoft.SilverlightPlugin)
/Library/Internet Plug-Ins/SpeedDownload Browser Plugin.plugin  (com.yazsoft.browserplugin)
/Library/Internet Plug-Ins/Veoh Plugin.plugin  (com.veoh.plugin)
/Library/Internet Plug-Ins/Veoh Plugin.webplugin  (com.veoh.webplugin)
/Library/PreferencePanes/Citrix online plug-in.prefPane  (com.citrix.StandAlone)
/Library/PreferencePanes/Flash Player.prefPane  (com.adobe.flashplayerpreferences)
/Library/PreferencePanes/JavaControlPanel.prefPane  (com.oracle.java.JavaControlPanel)
/Library/QuickTime/SoundboothScoreCodec.component  (com.adobe.SoundboothScoreAudioCodec)
/Library/ScriptingAdditions/Adobe Unit Types.osax  (No bundle ID)
/Library/ScriptingAdditions/TotalFinder.osax  (com.binaryage.totalfinder.injector)
Unsigned shared libraries:
/usr/lib/libesets.4.dylib
/usr/lib/libesets_as.4.dylib
/usr/lib/libsup.dylib
/usr/local/lib/libavcodec.52.108.0.dylib
/usr/local/lib/libavcore.0.16.1.dylib
/usr/local/lib/libavdevice.52.2.3.dylib
/usr/local/lib/libavfilter.1.74.0.dylib
/usr/local/lib/libavformat.52.93.0.dylib
/usr/local/lib/libavutil.50.36.0.dylib
/usr/local/lib/libfuse_ino64.2.dylib
/usr/local/lib/libmp3lame.0.dylib
/usr/local/lib/libntfs-3g.80.dylib
/usr/local/lib/libntfs.9.0.0.dylib
/usr/local/lib/libswscale.0.12.0.dylib
/usr/local/lib/libublio.1.dylib
Library/LaunchAgents:
com.UninstallerTool.plist
com.VolumeWatcherTool.plist
[email protected]t
com.macpaw.CleanMyMac.trashSizeWatcher.plist
com.spotify.webhelper.plist
/Library/PrivilegedHelperTools:
com.microsoft.office.licensing.helper
net.sourceforge.MonolingualHelper
Library/Fonts:
Gentium
GentiumAlt
TLWHM0NT.TTF
encodings.dir
fonts.dir
fonts.list
fonts.scale

Similar Messages

  • SNMP OID for CPU and Memory Utilization on a MDS 9509

    Does anyone know what the OIDs are for CPU and Memory utilization on a MDS 9509?
    Thanks

    CISCO-SYSTEM-EXT-MIB.my is a good place to start and you can determine the OID from the MIB.
    Once you feel as though you are on the right track, have a look at:
    http://www.oidview.com/mibs/9/CISCO-SYSTEM-EXT-MIB.html
    I gather that what you need is:
    1.3.6.1.4.1.9.9.305.1.1.1
    and
    1.3.6.1.4.1.9.9.305.1.1.2
    Enjoy.
    Stephen

  • 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

  • How to kill Forms Runaway Process using 95% CPU and running for 2 hours.

    We had a situation at E-Business Suite customer (using Oracle VM server) where some of Form processes were not being cleared by form timeout settings automatically.
    Also when user exits the form session from front end, the linux form process (PID) and DB session did not exit properly, so they got hung.
    They were spiking CPU and memory usage and causing e-business suite to perform slowely and ultimately causing VM host to reboot the production VM guest (running on Linux).
    We could see the form processes (PIDs) using almost 100% cpu with "top" command and running for a long time.
    Also we verified those Form Sessions did not exist in the application itself.
    ie. Using from Grid Control -> OAM-> Site Map -> Monitoring (tab) -> "Form Sessions".
    It means that we could safely kill that form process from Linux using "kill -9 <PID>" command.
    But that required a continuous monitoring and manual DBA intervention as customer is 24x7 customer.
    So, I wrote a shell script to do the following;
    •     Cron job runs every half an hour 7 days a week which calls this shell script.
    •     Shell script runs and tries to find "top two" f60webmx processes (form sessions) using over 95% cpu with 2 minutes interval.
    •     If no process is found or CPU% is less than 95%, it exits and does nothing.
    •     If top process is found, it searches for its DB session using apps login (with hidden apps password file - /home/applmgr/.pwd).
    a.     If DB session is NOT found (which means form process is hung), it kills the process from unix and emails results to <[email protected]>
    b.     If DB session is found, it waits for 2 hours so that form process times automatically via form session timeout setting.
    It also emails the SQL to check the DB session for that form process.
    c.     If DB session is found and it does not timeout after 2 hours,
    it kills the process from unix (which in turn kills the DB session). Output is emailed.
    This are the files required for this;
    1. Cron job which calls the shell script looks like this;
    # Kill form runaway process, using over 95% cpu having no DB session or DB session for > 2hrs
    00,30 * * * * /home/applmgr/forms_runaway.sh 2>&1
    2. SQL that this script calls is /home/applmgr/frm_runaway.sql and looks like;
    set head off
    set verify off
    set feedback off
    set pagesize 0
    define form_client_PID = &1
    select count(*) from v$session s , v$process p, FND_FORM_SESSIONS_V f where S.AUDSID=f.audsid and p.addr=s.paddr and s.process='&form_client_PID';
    3. Actual shell script is /home/applmgr/forms_runaway.sh and looks like;
    # Author : Amandeep Singh
    # Description : Kills runaway form processes using more than 95% cpu
    # and Form Session with no DB session or DB session > 2hrs
    # Dated : 11-April-2012
    #!/bin/bash
    . /home/applmgr/.bash_profile
    PWD=`cat ~/.pwd`
    export PWD
    echo "`date`">/tmp/runaway_forms.log
    echo "----------------------------------">>/tmp/runaway_forms.log
    VAR1=`top -b -u applmgr -n 1|grep f60webmx|grep -v sh|grep -v awk|grep -v top|sort -nrk9|head -2|sed 's/^[ \t]*//;s/[ \t]*$//'| awk '{ if ($9 > 95 && $12 = "f60webmx") print $1 " "$9 " "$11 " "$12; }'`
    PID1=`echo $VAR1|awk '{print $1}'`
    CPU1=`echo $VAR1|awk '{print $2}'`
    TIME1=`echo $VAR1|awk '{print $3}'`
    PROG1=`echo $VAR1|awk '{print $4}'`
    PID_1=`echo $VAR1|awk '{print $5}'`
    CPU_1=`echo $VAR1|awk '{print $6}'`
    TIME_1=`echo $VAR1|awk '{print $7}'`
    PROG_1=`echo $VAR1|awk '{print $8}'`
    echo "PID1="$PID1", CPU%="$CPU1", Running Time="$TIME1", Program="$PROG1>>/tmp/runaway_forms.log
    echo "PID_1="$PID_1", CPU%="$CPU_1", Running Time="$TIME_1", Program="$PROG_1>>/tmp/runaway_forms.log
    echo " ">>/tmp/runaway_forms.log
    sleep 120
    echo "`date`">>/tmp/runaway_forms.log
    echo "----------------------------------">>/tmp/runaway_forms.log
    VAR2=`top -b -u applmgr -n 1|grep f60webmx|grep -v sh|grep -v awk|grep -v top|sort -nrk9|head -2|sed 's/^[ \t]*//;s/[ \t]*$//'| awk '{ if ($9 > 95 && $12 = "f60webmx") print $1 " "$9 " "$11 " "$12; }'`
    PID2=`echo $VAR2|awk '{print $1}'`
    CPU2=`echo $VAR2|awk '{print $2}'`
    TIME2=`echo $VAR2|awk '{print $3}'`
    PROG2=`echo $VAR2|awk '{print $4}'`
    PID_2=`echo $VAR2|awk '{print $5}'`
    CPU_2=`echo $VAR2|awk '{print $6}'`
    TIME_2=`echo $VAR2|awk '{print $7}'`
    PROG_2=`echo $VAR2|awk '{print $8}'`
    HRS=`echo $TIME1|cut -d: -f1`
    exprHRS=`expr "$HRS"`
    echo "PID2="$PID2", CPU%="$CPU2", Running Time="$TIME2", Program="$PROG2>>/tmp/runaway_forms.log
    echo "PID_2="$PID_2", CPU%="$CPU_2", Running Time="$TIME_2", Program="$PROG_2>>/tmp/runaway_forms.log
    echo " ">>/tmp/runaway_forms.log
    # If PID1 or PID2 is NULL
    if [ -z ${PID1} ] || [ -z ${PID2} ]
    then
    echo "no top processes found. Either PID is NULL OR CPU% is less than 95%. Exiting...">>/tmp/runaway_forms.log
    elif
    # If PID1 is equal to PID2 or PID1=PID_2 or PID_1=PID2 or PID_1=PID_2
    [ ${PID1} -eq ${PID2} ] || [ ${PID1} -eq ${PID_2} ] || [ ${PID_1} -eq ${PID2} ] || [ ${PID_1} -eq ${PID_2} ];
    then
    DB_SESSION=`$ORACLE_HOME/bin/sqlplus -S apps/$PWD @/home/applmgr/frm_runaway.sql $PID1 << EOF
    EOF`
    echo " ">>/tmp/runaway_forms.log
    echo "DB_SESSION ="$DB_SESSION >>/tmp/runaway_forms.log
    # if no DB session found for PID
    if [ $DB_SESSION -eq 0 ] then
    echo " ">>/tmp/runaway_forms.log
    echo "Killed Following Runaway Forms Process:">>/tmp/runaway_forms.log
    echo "-------------------------------------------------------------------">>/tmp/runaway_forms.log
    echo "PID="$PID1", CPU%="$CPU1", Running Time="$TIME1", Program="$PROG1>>/tmp/runaway_forms.log
    kill -9 $PID1
    #Email the output
    mailx -s "Killed: `hostname -a` Runaway Form Processes" [email protected] </tmp/runaway_forms.log
    cat /tmp/runaway_forms.log
    else
    # If DB session exists for PID
    if [ ${exprHRS} -gt 120 ]; then
    echo $DB_SESSION "of Database sessions exist for this forms process-PID="$PID1". But its running for more than 2 hours. ">>/tmp/runaway_forms.log
    echo "Process running time is "$exprHRS" minutes.">>/tmp/runaway_forms.log
    echo "Killed Following Runaway Forms Process:">>/tmp/runaway_forms.log
    echo "-------------------------------------------------------------------">>/tmp/runaway_forms.log
    echo "PID="$PID1", CPU%="$CPU1", Running Time="$TIME1", Program="$PROG1>>/tmp/runaway_forms.log
    kill -9 $PID1
    #Email the output
    mailx -s "`hostname -a`: Runaway Form Processes" [email protected] </tmp/runaway_forms.log
    cat /tmp/runaway_forms.log
    else
    echo "Process running time is "$exprHRS" minutes.">>/tmp/runaway_forms.log
    echo $DB_SESSION "of Database sessions exist for PID="$PID1" and is less than 2 hours old. Not killing...">>/tmp/runaway_forms.log
    echo "For more details on this PID, run following SQL query;">>/tmp/runaway_forms.log
    echo "-----------------------------------------------------------------------">>/tmp/runaway_forms.log
    echo "set pages 9999 lines 150">>/tmp/runaway_forms.log
    echo "select f.user_form_name, f.user_name, p.spid DB_OS_ID , s.process client_os_id,, s.audsid, f.PROCESS_SPID Forms_SPID,">>/tmp/runaway_forms.log
    echo "to_char(s.logon_time,'DD-Mon-YY hh:mi:ss'), s.seconds_in_wait">>/tmp/runaway_forms.log
    echo "from v\$session s , v\$process p, FND_FORM_SESSIONS_V f">>/tmp/runaway_forms.log
    echo "where S.AUDSID=f.audsid and p.addr=s.paddr and s.process='"$PID1"' order by p.spid;">>/tmp/runaway_forms.log
    mailx -s "`hostname -a`: Runaway Form Processes" [email protected] </tmp/runaway_forms.log
    cat /tmp/runaway_forms.log
    fi
    fi
    else
    #if PID1 and PID2 are not equal or CPU% is less than 95%.
    echo "No unique CPU hogging form processes found. Exiting...">>/tmp/runaway_forms.log
    cat /tmp/runaway_forms.log
    fi
    If you have the same problem with some other unix and DB processes, the script can be easily modified and used.
    But use this with thorough testing first (by commenting out <kill -9 $PID1> lines.
    Good luck.
    Edited by: R12_AppsDBA on 19/04/2012 13:10

    Thanks for sharing the script!
    Hussein

  • What are the minimum CPU and Memory requirements for R12 Vision instance?

    We are in the process of trying to figure out what the minimum hardware requirements are for installing the R12 Vision instance. This Vision instance would only have 5 or less concurrent users. We may have to order a new server and we are wondering what the minimum CPU and memory would be? Oracle Support will not give us this information.
    We aleady know how much disk space it will need.
    Dan

    Hi,
    See these links.
    A Primer on Hardware Sizing for Oracle E-Business Suite
    http://blogs.oracle.com/stevenChan/2010/08/ebs_sizing_primer.html
    What Are the Minimum Desktop Requirements for EBS?
    http://blogs.oracle.com/stevenChan/2010/09/ebs_pc_clients.html
    Also, please see old threads for similar discussion.
    Hardware Requirements
    http://forums.oracle.com/forums/search.jspa?threadID=&q=Hardware+Requirements&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Benchmark
    http://forums.oracle.com/forums/search.jspa?threadID=&q=Benchmark&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • 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?

  • PowerShell: limitation of CPU and memory resourses used by cmdlet

    Hello Collegues.
    Tell me please, there is a way to limit of CPU and memory resourses used by cmdlet.
    For example, tell to cmdlet do not use more then 5% of total CPU resourses, or do not use more then 1 core, or do not use more then 512mb of memory?
    Thanks.

    jrv,
    hello.
    Can you please give me direction to dig - some link, maybe?
    Thanks.

  • Resource estimation/Sizing (i.e CPU and Memory) for Oracle database servers

    Hi,
    I have came across one of the requirement of Oracle database server sizing in terms of CPU and Memory requirement. Has anybody metalink notes or white paper to have basic estimation or calculation for resources (i.e CPU and RAM) on based of database size, number of concurrent connections/sessions and/or number of transactions.
    I have searched lot on metalink but failed to have such, will be great help if anybody has idea on this. I'm damn sure it has to be, because to start with implementation of IT infrastructure one has to do estimation of resources aligned with IT budget.
    Thanks in advance.
    Mehul.

    You could start the other way around, if you already have a server is it sufficient for the database you want to run on it? Is there sufficient memory? Is it solely a database server (not shared)? How fast are the disks - SAN/RAID/local disk? Does it have the networking capacity (100mbps, gigabit)? How many CPUs, will there be intensive SQL? How does Oracle licensing fit into it? What type of application that will run on the database - OLTP or OLAP?
    If you don't know if there is sufficient memory/CPU then profile the application based on what everyone expects, again, start with OLTP or OLAP and work your way down to the types of queries/jobs that will be run, number of concurrent users and what performance you expect/require. For an OLAP application you may want the fastest disks possible, multiple CPUs and a large SGA and PGA (2-4GB PGA?), pay a little extra for parallel server and partitioning in license fees.
    This is just the start of an investigation, then you can work out what fits into your budget.
    Edited by: Stellios on Sep 26, 2008 4:53 PM

  • Local Director SNMP for CPU and Memory

    Is there any way to get the CPU and memory utilization from a Local Director using SNMP? When I do an SNMP walk, I don't see any objects for CPU and memory.
    Thank you

    There's a "Show cpu " commmand availabe. Type help or '?' for a list of available commands.

  • 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

  • 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

  • OID for CPU and MEMORY utilization for wrv4400n

    Hi,
    Can any one please tell me the OID for CPU and MEMORY utilization for wrv4400n?
    Thanks
    Vipin

    CISCO-SYSTEM-EXT-MIB.my is a good place to start and you can determine the OID from the MIB.
    Once you feel as though you are on the right track, have a look at:
    http://www.oidview.com/mibs/9/CISCO-SYSTEM-EXT-MIB.html
    I gather that what you need is:
    1.3.6.1.4.1.9.9.305.1.1.1
    and
    1.3.6.1.4.1.9.9.305.1.1.2
    Enjoy.
    Stephen

  • 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

  • CPU and Memory Utilisation Report from GROUP in OEM

    Hi,
    I am trying to generate History Average CPU and Memory Utilization from Charts in GROUP, but am getting following error..
    Servlet error: Internal Error has occured. Check the log file for details.
    or Is there any alternate to generate Histoty of Average CPU and Memory Util;ization Report.
    Please help me on this.....
    Thanks in Advance

    Bouns the oms and check

  • How to get cpu and memory information by Java?

    I'm trying to write a java program to get the CPU and memory information and statistic of a desktop computer. Is it possible to capture this kind of information by Java, if yes, which classes are used?
    Thanks a lot.

    You can get memory info about the VM and not about the OS.
    These things are inherently OS-dependent. Chances are bad there is a (pure) Java solution for this.

Maybe you are looking for

  • Error while trying to remove an object with dsrm command

    hello, i get an error while trying to delete an object computer with the command line tool, DSRM. i get this view: actually, it's a one of hundreds of commands, that help cleaning the active directory of the obsolete objects. it is saying : "Access D

  • One order with multiple lines in OM is creating multiple invoices

    Application: Oracle 11i (11.5.3) Modules implemented: GL, OM, AR, AP, PO and CM Business Requirement: Our client would like to create Order consisting of multiple lines in Order Management. The Orders created in OM with multiple lines could be booked

  • Standard Business Content Reports

    Hello, We are on the latest SAP BI version and we also have the BO - Cystal and Xcelsius. My question is when I try to look for standard business content, I couldn't find any. Am I missing something here, please giude me through. Thanks, Ravi.

  • Iphone 4 screen is dark

    My son has an Iphone 4 white 8 gig.  All of the sudden he has a black screen.  How do we fix? 

  • Service for vendor creation

    Hi! Is there a service to create a vendor in SAP and if so, can somebody provide me the definition of it since I do not have access to an ESR. Is there a possibility to access an ESR via SDN? Thanks, Konrad