How to find private and virtual memory for a process in solaris 2.6

Could somebody please help me with the commands that I can use to find the private and virtual mem. usage by a process ?
Pls contact me on [email protected]
Thankyou.

Try /usr/proc/bin/pmap .
-Prajeesh

Similar Messages

  • How to check actual allocated and used memory for java process in solaris?

    Hi,
    I'm testing performance for java application on solaris 10. And I would like to know how to measure actual memory allocated and used for java process.
    I'm setting -Xms512m -Xmx512m for my java process and I use prstat command to monitor it's memory. But I found that when I run prstat to check, in SIZE column is more than I setting (found 644).
    So I'm don't know the actual memory that java process used. (In this case,is it mean the process use memory (644) more than setting (512)?)
    Thank you.

    With Xms/Xmx you specify the Java heap size. On top of that comes the permanent generation (default max size 64m) and the C part of the process (the JVM itself with all its libraries and data).
    With "ps -e -o pid,vsz,rss,args" you get the virtual and set resident size of your processes.
    Nick.

  • High Resident and Virtual memory for DBWR

    Hello All
    on 64 bit RHEL5 with physical memory of 98gb.
    I see in OEM db console for 11gR2 database that dbwr processes is consuming 21gb of Resident and Virtual memory.
    There are 3 dbwr processes (all using 21g) running and i see swapping happens even there is not much load on database .
    Is it normal for dbwr to allocate such high memory ?
    other memory config
    sga_max_size big integer 60G
    sga_target big integer 39808M
    pga_aggregate_target big integer 10G

    That is an excellent document.
    The one thing you have to remember when looking at memory usage of Oracle processes, is they all attach to the same set of shared memory so your values will look high. For example if you assume your sid is XE and run the following command you can get something like this.
    ps -eo pid,pmem,pcpu,rss,vsz,args | grep -i XE
    29259 0.3 0.0 15004 869972 xe_j000_XE
    29305 0.0 0.0 792 6560 grep -i XE
    30927 0.2 0.0 10500 870080 xe_pmon_XE
    30929 0.2 0.0 8520 869464 xe_psp0_XE
    30931 1.4 0.0 58692 869464 xe_mman_XE
    30933 5.9 0.0 241388 894124 xe_dbw0_XE
    30935 0.3 0.0 14188 885016 xe_lgwr_XE
    30937 0.5 0.0 21372 869984 xe_ckpt_XE
    30939 2.8 0.0 114928 871024 xe_smon_XE
    30941 0.3 0.0 14420 869464 xe_reco_XE
    30943 1.3 0.0 55860 871060 xe_cjq0_XE
    30945 1.3 0.0 56168 872216 xe_mmon_XE
    30947 0.3 0.0 12360 869464 xe_mmnl_XE
    30949 0.6 0.0 28260 870348 xe_d000_XE
    30951 6.2 0.0 253720 875060 xe_s000_XE
    30953 5.6 0.0 227984 875020 xe_s001_XE
    30955 5.8 0.0 239556 875068 xe_s002_XE
    30957 5.0 0.0 204960 875056 xe_s003_XE
    30959 4.2 0.0 174516 875080 xe_s004_XE
    30961 5.7 0.0 232812 875028 xe_s005_XE
    30963 4.4 0.0 179788 875004 xe_s006_XE
    30965 3.2 0.0 132100 874988 xe_s007_XE
    30967 2.5 0.0 101676 874980 xe_s008_XE
    30969 2.0 0.0 82304 874976 xe_s009_XE
    30973 0.4 0.0 19980 885016 xe_arc0_XE
    30975 0.4 0.0 19936 885016 xe_arc1_XE
    30979 0.2 0.0 9672 869464 xe_qmnc_XE
    30985 0.2 0.0 10932 869460 xe_q000_XE
    30987 0.2 0.0 9004 869460 xe_q001_XE
    Notice how my virtual size is all close to 875Mb for each process more than available with ram and swap space. That is because they all attach to my SGA thus the OS reports the SGA in it's memory listing.
    Edited by: user652447 on Apr 11, 2011 9:56 AM

  • How to find datasource and standard cube for given R/3 table

    Hi All,
    Can anyone help me that how to find a datsource, standard cube and Standard BI reports for given R/3 table.
    For example if am having the table names "EKKO (Header)
    EKPO (Line item)
    EKET (Schedule Lines)
    EKBE (PO History)
    EKKN (Account Assignment/WBS)
    EKAN/EKPA (Partner Info)" for all these tables how can i find the standard datasource and standard Cube.
    Please help in this. I will assign the points.
    Regards,
    Shanthi

    https://wiki.sdn.sap.com/wiki/display/BI/BWSDMMFIDATASOURCES
    MM
    Data Sources Tables
    Purchasing
    2LIS_02_SCL EKKO, EKBE, T001, T001W, EKET, EKPA.
    2LIS_02_HDR EKKO, EKBE, T001, EKPA.
    2LIS_02_ITM EKKO, EKBE, T001, T001W, EKPO, TMCLVBW, T027C, ESSR, T147K, T147
    2LIS_02_SCN EKET, EKES, EKPO.
    2LIS_02_CGR EKBE, EKES, EKPO.
    2LIS_02_SGR EKET, EKBE, KKPO
    Inventory
    2LIS_03_BX stock tables, MCHA, MARA, T001, T001W, CALCULATED FROM MBEW, EBEW, QBEW.
    2LIS_03_BF MSEG, MBEW, MKPF.
    2LIS_03_UM BKPF, MBEW, QBEW, EBEW, BSEG.
    MM  
    Purchasing   Datasources
    ODS  
    0PUR_O01  2LIS_02_ITM, 2LIS_02_SGR, 2LIS_02_CGR, 2LIS_02_SCN.
    0PUR_O02  2LIS_02_HDR, 0PUR_O01
    0PUR_DS03  2LIS_02_SCL and 2LIS_02_SGR.
    CUBE  
    0PUR_C10  2LIS_02_SCL and 2LIS_02_SGR.
    0PUR_C07 
    0PUR_C08 
    0PUR_C09  0PUR_O02, 80PUR_O01, 2LIS_02_HDR
    0SRV_C01  2LIS_02_S174
    0PUR_C04  2LIS_02_S011, 2LIS_02_SCL, 2LIS_02_ITM, 2LIS_02_HDR
    0PUR_C01  2LIS_02_S012, 2LIS_02_ITM, 2LIS_02_SCL
    0PUR_C02  2LIS_02_S013
    0PUR_C05  0MM_PUR_VE_01
    0PUR_C06  0MM_PUR_VE_02
    0PUR_C03  2LIS_02_S015
    Inventory Management  
    CUBE  
    0IC_C03  2LIS_03_BX, 2LIS_03_BF, 2LIS_03_UM
    0IC_C02  2LIS_03_S195, 2LIS_03_S197
    0IC_C01  2LIS_03_S196, 2LIS_03_S198
    SD 
    Data sources Tables
    2LIS_11_VAKON VBUK, VBUP, VBAK, VBAP, VBKD, KOMV, T001.
    2LIS_11_VAHDR VBAK, VBUK, T001
    2LIS_11_VAITM VBAP, VBUP, VBAK, VBKD, VBAJP, T001, VBUK, PRPS.
    2LIS_11_VASCL VBAP, VBUP, VBAK, VBEP, VBKD, T001, PRPS
    2LIS_11_VASTH VBUK
    2LIS_11_VASTI VBUP, VBUK
    2LIS_11_V_ITM VBAP, VBAK, VBKD, VBUP, T001, PRPS, VBUK.
    2LIS_11_V_SCL VBUP, VBEP, VBKD, VBAP, VBAK, T001, PRPS.
    2LIS_11_V_SSL VBAP, VBEP, LIPS, WVBEP, VBUP
    2LIS_13_VDKON VBUK, VBRP, KOMV, T001, VBRK.
    FI 
    DATASOURCES Tables
    Cost Center Accounting 
    0CO_OM_CCA_1 COSP, COSS
    0CO_OM_CCA_2 COSP, COSS
    0CO_OM_CCA_3 COSL, COKL.
    0CO_OM_CCA_4 COSR
    0CO_OM_CCA_5 COSB
    0CO_OM_CCA_6 COOMCO
    0CO_OM_CCA_7 BPJA, BPPE.
    0CO_OM_CCA_8 COST, TKA07,COOMCO, CSLA, COST, COKL.
    0CO_OM_CCA_9 COVP (COEP& COBK), COSP, COST, COEJ, COEP, T001.
    0CO_OM_CCA_10 COOI, COSP_VTYPE.
    Product Cost Controlling 
    0CO_PC_PCP_01 KEKO, TCKH3, TCKH8.
    0CO_PC_PCP_02 KEKO, TCKH3.
    0CO_PC_PCP_03 CKIS, T001K, TKA02, KEKO, MARA, MBEW.
    0CO_PC_PCP_04 CKIS, T001K, TKA02, KEKO, MBEW, MARA
    0CO_PC_01 AUFK, AFPO, COSS, COSP, COSB, COSL, COKEY, TKA09, TKV09
    0CO_PC_02 AUFK, AFPO, COSS, COSP, COSB, COSL, COKEY, TKA09, TKV09
    Hope this Helps.

  • Find disk and network IO for each process

    Hi,
    In WMI, i seek the way to get informations we can see in disk and network tab in the resource monitor.
    in find PerfFormattedData_PerfPro_Process but we can only have all IO access not for each type of IO.
    I have to do that in C++ not managed.
    Thanks by advance for all informations you can give to me.
    Regards.

    Hi Ice02 - I believe this question would be better posted in the following MSDN forum:
    https://social.msdn.microsoft.com/Forums/en-US/home?forum=wptkv5&filter=alltypes&sort=lastpostdesc

  • How to find CPU and Memory Utilization

    Hi,
    How to find CPU and Memory Utilization of my application which is
    running in solaris workstation.My application has a management console in which we need to update the cpu and memory periodically.
    (Notr : Usage of JNI is restrcited)
    Thnx and Rgds,
    Mohan

    There is no CPU usage API in Java. You need some JNI code. For memory usage see the Runtime methods:
         * Get information of memory usage: max, total, free and (available/used).
         * <ul>
         * <li>Max is the maximum amount of bytes the application can allocate (see also java options -Xmx). This value is fixed.
         * If the application tries to allocate more memory than Max, an OutOfMemoryError is thrown.
         * <li>Total is the amount of bytes currently allocated from the JVM for the application.
         * This value just increases (and doesn't decrease) up to the value of Max depending on the applications memory
         * requirements.
         * <li>Free is the amount of memory that once was occupied by the application but is given back to the JVM. This value
         * varies between 0 and Total.
         * <li>The used amount of memory is the memory currently allocated by the application. This value is always less or equal
         * to Total.
         * <li>The available amount of memory is the maximum number of bytes that can be allocated by the application (Max - used).
         * </ul>
         * In brief: used <= total <= max
         * <p>
         * The JVM can allocate up to 64MB (be default) system memory for the application. If more is required, the JVM has to be started with the Xmx option
         * (e.g. "java -Xmx128m" for 128 MB). The amount of currently allocated system memory is Total. As the JVM can't give back unallocated memory
         * to the operating system, Total can just increase (up to Max).
         * @return Memory info.
        static public String getMemoryInfo() {
            StringBuilder sb = new StringBuilder();
            sb.append("Used: ");
            sb.append(toMemoryFormat(getUsedMemory()));
            sb.append(", Available: ");
            sb.append(toMemoryFormat(getAvailableMemory()));
            sb.append(" (Max: ");
            sb.append(toMemoryFormat(Runtime.getRuntime().maxMemory()));
            sb.append(", Total: ");
            sb.append(toMemoryFormat(Runtime.getRuntime().totalMemory()));
            sb.append(", Free: ");
            sb.append(toMemoryFormat(Runtime.getRuntime().freeMemory()));
            sb.append(")");
            return sb.toString();
        }//getMemoryInfo()

  • How to find classtype and class for a material.

    Hi,
    How to find classtype and class for a material.
    which table contains this data.
    Thanks
    Kiran

    Hi Kiran,
    Check below sample code. Use this BAPI which will give all info about the class for the material.
      DATA:      l_objectkey_imp    TYPE bapi1003_key-object
                                         VALUE IS INITIAL.
      CONSTANTS: lc_objecttable_imp TYPE bapi1003_key-objecttable
                                         VALUE 'MARA',
                 lc_classtype_imp   TYPE bapi1003_key-classtype
                                         VALUE '001',
                 lc_freight_class   TYPE bapi1003_alloc_list-classnum
                                         VALUE 'FREIGHT_CLASS',
                 lc_e               TYPE bapiret2-type VALUE 'E',
                 lc_p(1)            TYPE c             VALUE 'P',
                 lc_m(1)            TYPE c             VALUE 'M'.
      SORT i_deliverydata BY vbeln posnr matnr.
      CLEAR wa_deliverydata.
      LOOP AT i_deliverydata INTO wa_deliverydata.
        REFRESH: i_alloclist[],
                 i_return[].
        CLEAR:   l_objectkey_imp.
        l_objectkey_imp = wa_deliverydata-matnr.
    *Get classes and characteristics
        CALL FUNCTION 'BAPI_OBJCL_GETCLASSES'
          EXPORTING
            objectkey_imp         = l_objectkey_imp
            objecttable_imp       = lc_objecttable_imp
            classtype_imp         = lc_classtype_imp
    *   READ_VALUATIONS       =
            keydate               = sy-datum
            language              = sy-langu
          TABLES
            alloclist             = i_alloclist
    *   ALLOCVALUESCHAR       =
    *   ALLOCVALUESCURR       =
    *   ALLOCVALUESNUM        =
            return                = i_return
    Thanks,
    Vinod.

  • HT2509 Hello I wonder if anyone knows how to find, download and install a suitable IPA (phonetics) font for the Mac Air? I need to be able to use a pop up window of fonts.

    Hello I wonder if anyone knows how to find, download and install a suitable IPA (phonetics) font for the MacBook  Air? I need to be able to use a pop up window of fonts.

    Unless you've done anything to change it, Google keeps every email that ever passes through their server in your All Mail folder/mailbox/label. Even if you delete stuff, they hold onto it, there. You have to go out of your way to actually delete anything permanently.

  • HT1848 I rented four movies on my mac and then transfered them to my iPad, i then did an update to my iPad, now the rentals are not on my ipad nor my mac. I did not watch them and I was charged for them. How do find them and transfer back on my iPad

    I rented four movies on my mac and then transfered them to my iPad, i then did an update to my iPad, now the rentals are not on my ipad nor my mac. I did not watch them and I was charged for them. How do find them and transfer back on my iPad

    If you moved them to your iPad then they will have been removed from your Mac.  If they are no longer in the iPad's Videos app following the update then you will need to try contacting iTunes support and see if they will let you re-download them : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • HOW TO FIND WF_ITEM_TYPE AND WF_ITEM_KEY FOR PO

    제품 : MFG_PO
    작성날짜 : 2003-05-14
    HOW TO FIND WF_ITEM_TYPE AND WF_ITEM_KEY FOR PO
    ===============================================
    PURPOSE
    This solution is for Oracle Purchasing 11 and higher
    Explanation
    1. Start a SQL*Plus session using the APPS schema.
    2. Run the following script and enter the Purchase Order number that is stuck
    in process when prompted for the PO_NUMBER:
         SELECT WF_ITEM_TYPE, SUBSTR(WF_ITEM_KEY,1,25) "WF_ITEM_KEY"
         FROM PO_HEADERS_ALL
         WHERE AUTHORIZATION_STATUS='IN PROCESS'
         AND SEGMENT1='&PO_NUMBER';
    3. If more than one row is returned, then run the following script and only
    refer to the row that contains the OPERATING_UNIT_NAME that equals the
    operating unit name tied to the responsibility used when the Purchase Order was
    discovered as being stuck in process.
         SELECT SUBSTR(WF_ITEM_TYPE,1,12) "WF_ITEM_TYPE",
         SUBSTR(WF_ITEM_KEY,1,15) "WF_ITEM_KEY",
         SUBSTR(NAME,1,35) "OPERATING_UNIT_NAME"
         FROM PO_HEADERS_ALL PA, HR_ORGANIZATION_UNITS OU
         WHERE PA.ORG_ID=OU.ORGANIZATION_ID
         AND AUTHORIZATION_STATUS='IN PROCESS'
         AND SEGMENT1='&PO_NUMBER';
    Example
    Reference Documents
    -------------------

    Hi Kishore,
    Welcome to SCN!
    to find the sales order from Purchase order , go to SE16, Enter the table name as VBAK and press Enter.
    In BSTNK field of VBAK, Enter the Purchase order number. System will return you corresponding sales order.
    Hope this will help you.
    Regards,
    Nikhil

  • How to keep XML file in memory for specified period ?

    How to keep XML file in memory for specified period or forever, I have 5 applications running on WebSphere I wants to use XML file for all the applications. I mean when one apllication is not using XML file still I wants to keep it in memory ...
    Thanx in advance ,

    Hello,you can create a DocumentManager class,
    here is my solution in the past...
    you can use static Hashtable save the xml's Document,if one application want get
    a appointed Document.first,you can find it from Hashtable,if can't find it ,you
    can create it and put into Hashtable,if the words fail to express the meaning,sorry,my english is limited
    package com.foresee.xfiles.util;
    import java.util.*;
    import org.w3c.dom.*;
    import org.apache.log4j.*;
    import com.foresee.xfiles.common.*;
    import com.foresee.xfiles.server.exception.*;
    import com.foresee.xfiles.util.*;
    * <p>Title: </p>
    * <p>Description: </p>
    * <p>Copyright: Copyright (c) 2002</p>
    * <p>Company: </p>
    * @author unascribed
    * @version 1.0
    public final class DocumentManager {
    private static Category m_log = Category.getInstance(DocumentManager.class.getName());
    static {
    PropertyConfigurator.configure(Configurator.getLCF());
    public DocumentManager() {
    //synchronized
    public static synchronized Document getTransitionDoc(String path) throws SchemaCheckOutException{
    Document m_TransitionDoc;
    m_TransitionDoc = (Document)TransitionDoc.get(path);
    if (m_TransitionDoc == null){
    XmlHelper m_xh = new XmlHelper();
    try{
    m_TransitionDoc = m_xh.getDocument(path);
    }catch (SchemaCheckOutException se){
    m_log.error("������������������������"+path+"����:"+se.getUserMsg());
    throw se;
    TransitionDoc.put(path,m_TransitionDoc);
    return m_TransitionDoc ;
    public static synchronized Document getLogicCheckDoc(String path) throws SchemaCheckOutException{
    Document m_LogicCheckDoc;
    m_LogicCheckDoc = (Document)LogicCheckDoc.get(path);
    if (m_LogicCheckDoc == null){
    XmlHelper m_xh = new XmlHelper();
    try{
    m_LogicCheckDoc = m_xh.getDocument(path);
    }catch (SchemaCheckOutException se){
    m_log.error("������������������������"+path+"����:"+se.getUserMsg());
    throw se;
    LogicCheckDoc.put(path,m_LogicCheckDoc);
    return m_LogicCheckDoc ;
    public static Hashtable TransitionDoc = new Hashtable();
    public static Hashtable LogicCheckDoc = new Hashtable();

  • Getting ms word and more memory for iBook

    I just got a used iBook 10.4. It doesn't have ms word. The problem is, it only has 640 MB capacity and i'm worried that getting word will take up too much space. Are there any tricks to expanding the memory? and does anyone have any idea how much more memory i'll be able to get from a mac store?

    Memory on a Mac is a combination of RAM chips and 'virtual memory' on your hard drive. You need space in both.
    Heat was a problem with some iBooks, but if your's is still running, it's likely OK. Your computer can be fit with 1.12 to 1.5 GB of chip memory, and more disk memory than it needs. If Apple no longer carries your memory type, consider a quality online fix-it shop, or do it yourself. (Buy a book and learn about your Mac.)
    Also, consider the free NeoOffice,
    NeoOffice (look around for PPC variety)
    http://www.macupdate.com/info.php/id/15797/neooffice
    It's a complete office suite; and Microsoft XML format (for Word) was supposed to be called OpenOffice XML format. NeoOffice is a smaller and more reliable version of OpenOffice.org. (Watch for the .org: it's the free one.)
    Bruce

  • Something was hidden in a download and now these double green underlined hyperlinks show up everywhere, and pop ups too whenever I click on ANYTHING. I can't figure out how to find it and get rid of it.

    Something was hidden in a download and now these double green underlined hyperlinks show up everywhere, and pop ups too whenever I click on ANYTHING. I can't figure out how to find it and get rid of it.

    You installed the "DownLite" trojan, perhaps under a different name. Remove it as follows.
    Malware is constantly changing to get around the defenses against it. The instructions in this comment are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.vsearch.agent.plist
    Right-click or control-click the line and select
    Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item named "VSearch" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.vsearch.daemon.plist
    /Library/LaunchDaemons/com.vsearch.helper.plist
    /Library/LaunchDaemons/Jack.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/VSearch
    /Library/PrivilegedHelperTools/Jack
    /System/Library/Frameworks/VSearch.framework
    Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    From the Safari menu bar, select
    Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including any that have the word "Spigot" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    This trojan is distributed on illegal websites that traffic in pirated movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect much worse to happen in the future.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the DownLite developer has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing, has not done so, even though it's aware of the problem. This failure of oversight is inexcusable and has compromised the value of Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • How to find the exact user exit for our requirement?

    Dear Mr. keerthi,
    can you please explain me how to find the exact user exit for our requirement?

    Hi sandip
    There is more than one method in which you can check for user-exits.The following method is used very often.
    <b>How to find the exact user-exit for your requirement.</b>
    1.     You can check the user exists using transaction SE85.
    2.     Repository Information System -> Enhancements -> Customer exits
    3.     You can search the user-exits by package name.
    4.     Double click on each exit name to check the function module exits.
    <b>The procedure to find the package name.</b>
    Execute transaction SE93 
    Enter the tcode of the transaction for which you want to check the user exit.
    Example: if you want to find the user-exit for purchase orders while changing, enter ME22n  and press display.
    You will get to see the package name
    But you need to confirm that the user exit will get triggered at the appropriate event.
    ( example: you might want some validations to be done ON SAVE of a purchase order)
    <b>Checking if the user-exit is getting triggered or not.</b>
    1.     Open the user exit function module (that you have got in step 4) in Tcode SE37.
    2.     Click on where used button. In the pop up that immediately appears choose only programs .
    3.     You will get a list of programs. Double click on the program name.
    4.     You will get the list of location where this function module user exit is used.
    5.     Place session break points at each of these location ( at each CALL FUNCTION statement)
    6.     Now go to your transaction ( say change purchase order tcode:Me22n) and check if the user exit is getting triggered on appropriate event.
    regards,
    Prasad

  • How to find list and cost price in MM module

    Hi
    Can any one help me in how to find List and cost price in MM module for pricing.
    thank you.
    David

    hi Saquib Khan
    Many thanks Saquib Khan for ur reply. Actually iam trying to create a report which displays material number, material description, plant, product hierarchy, cost and list price, based on the selection criteria of a range of materials, plant and also product hierarchy.
    If u want to share any information.It would be much better for me.Like iam learning SAP.
    thanks.

Maybe you are looking for