VM Server's Total Memory in VM Manager

Hey all:
Here's the particulars, VM Server (2.2.1) cluster with 3 Dell R710's, each VM Server has 72GB physical Memory installed and 8 cpu's. VM Manager is running as VM Guest. In the VM Manager Front End, VM Server 1 in VM Pool1 is showing total Memory as being 49GB. I would have expected it to be 72GB minus the 548M(default VMServer install). So for kicks and giggles, I checked VM Server 2, same thing. I then changed VM Server 2 in VM Pool1 to allocate 2048M(in /etc/grub.conf) of physical memory to dom-0 and rebooted. Then checked VM Manager and it still shows the same. I checked to make sure the hypervisor is running in 64 bit mode and it is.
Question is, why doesnt VM Manager show VM Server 1 having 71.5GB of available memory, and, VM Server 2 having 70G of available memory? Is there a memory limitation?
TIA,
Pete's
Edited by: user627554 on Jun 2, 2011 8:17 PM

xm info with hostname info scrubbed, see below.
TIA,
Pete's
release : 2.6.18-128.2.1.4.25.el5xen
version : #1 SMP Tue Mar 23 12:43:27 EDT 2010
machine : i686
nr_cpus : 8
nr_nodes : 1
cores_per_socket : 4
threads_per_core : 2
cpu_mhz : 2660
hw_caps : bfebfbff:28100800:00000000:00000340:009ce3bd:00000000:00000001:00000000
virt_caps :
total_memory : 49142
free_memory : 5035
node_to_cpu : node0:0-7
node_to_memory : node0:5035
xen_major : 3
xen_minor : 4
xen_extra : .0
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p
xen_scheduler : credit
xen_pagesize : 4096
platform_params : virt_start=0xfcc00000
xen_changeset : unavailable
cc_compiler : gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)
cc_compile_by : mockbuild
cc_compile_domain : (none)
cc_compile_date : Wed Mar 24 16:00:43 EDT 2010
xend_config_format : 4

Similar Messages

  • Sql server is using memory more then there max memory setting?

    Hi All,
    today i have faced the different issue..........
    we have one SQl server 2008 prod server... it have memory issue actually  total server memory is 8GB and we have allocated the 6 GB to SQL server,we checked the server no open trans and dont have running jobs also,one database is using the memory high(no
    open trans)... but Sql server has used 6.5 GB (6 GB) and total server used memory is reached to 7.89 GB.
    Please tell me how to find the most costly query in particular database wise and sql server internally behavior ?
    how to troubleshot the  above issue?
    please post the your valuable answers ASAP...
    Thanks,
    RAM

    Please refer to what Olaf said briefly.Buffer pool in SQL server only caters to memory requests which requires pages <8 KB . Almost all requests are satisfies by buffer pool and generally request for memory is small and so buffer pool satisfies the requests.
    However there are some direct memory allocation by windows API which is done by windows for requests which  requires memory greater than 8 KB. This memory wont come from buffer pool and this would be counted in memory utilized by SQL server. SQL
    CLR,XML, linked Server, all takes memory outside buffer pool in SQL Server 2008. This behavior changed in 2012 so my statement only applies to SQL server 2005/2008 and 2008 R2.
    I would run below to check SQL server memory utilization.
    select
    (physical_memory_in_use_kb/1024)Memory_usedby_Sqlserver_MB,
    (locked_page_allocations_kb/1024 )Locked_pages_used_Sqlserver_MB,
    (total_virtual_address_space_kb/1024 )Total_VAS_in_MB,
    process_physical_memory_low,
    process_virtual_memory_low
    from sys. dm_os_process_memory
    I am sure you must be using some features mentioned above.You were worried that even though there is no query running on SQL server it has still holded up the memory. This is default behavior and this is how memory management in SQL Server works. It will
    not release memory untill SQLOS asks it to do so which is told by windows OS thorugh some flag that it is facing memory pressure.
    Please read below for more details on memory. There is section to test whether system is facing memory crunch please read that as well.
    http://social.technet.microsoft.com/wiki/contents/articles/22316.sql-server-memory-and-troubleshooting.aspx
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Get total memory used by my .SWF?

    Hi -
    Is there any way to dynamically get the total memory used by
    my .SWF as movieclips are loaded, removed, animations happen, etc?
    Thanks

    if that is the case, then what's the relevane of PGA_AGGREGATE_TARGET parameter :-( , is it only for automatic PGA management not as an upper limit?
    if oracle discards that value then do we ever need to tune this parameter ?(Note: We are talking from a 10g perspective!)
    Without setting PGA_AGGREGATE_TARGET you have to manually set sort_area_size and some additional settings. With automatic PGA management oracle also controls the sort area size automatically. You need to adjust this size if your total pga gets too small for your connections (e.g. because they doubled).
    From what i have observed (i may be total wrong here) the UGA is NOT limited. In a dedicated server environment the uga is a sub-heap of the pga. If you store large pl/sql tables there your uga will grow... even beyond your set pga_aggregate_target size.
    Ronny Egner
    My Blog: http://blog.ronnyegner-consulting.de

  • Memory gates checking failed because the free memory is less than 5% of total memory

    ·         Business
    Goal: Achieve a stable environment
    ·         Repro
    Steps: n/a
    ·         Expected
    Results: I expect the MSCRM Async services to use a relatively static amount of RAM
    ·         Actual
    Results: Over the weekend, the memory hit critical mass and CRM failed
    ·         Environment:
     Windows Server 2008, SQL Server 2008, CRM 2013 On Premise - both on the same box, Email Router is installed on the same box. We have not yet applied either of the two new UR for 2013.
    I'm currently experiencing a memory leak in our production environment. I will fill out the details shortly.
    Here's the error:
    Log Name:      Application
    Source:        System.ServiceModel 4.0.0.0
    Date:          4/20/2014 11:39:14 PM
    Event ID:      3
    Task Category: WebHost
    Level:         Error
    Keywords:      Classic
    User:          NETWORK SERVICE
    Computer:      server.domain.com
    Description:
    WebHost failed to process a request.
    Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/58366981
    Exception: System.ServiceModel.ServiceActivationException: The service '/VisualWorkplace/XRMServices/2011/Organization.svc' cannot be activated due to an exception during compilation. 
    The exception message is:Memory gates checking failed because the free memory (1240145920 bytes) is less than
    5% of total memory.  As a result, the service will not be available for incoming requests.  To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config
    element.. ---> System.InsufficientMemoryException: Memory gates checking failed because the free memory (1240145920 bytes) is less than 5% of total memory.  As a result, the service will not be available for incoming requests.  To resolve
    this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.
       at System.ServiceModel.Activation.ServiceMemoryGates.Check(Int32 minFreeMemoryPercentage, Boolean throwOnLowMemory, UInt64& availableMemoryBytes)
       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CheckMemoryCloseIdleServices(EventTraceActivity eventTraceActivity)
       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
    We just recently increased the available memory from 8GB to 24GB to help ensure that there is enough memory. This error never happened on CRM v4. According to the resource monitor, SQL is only reserving 20.7GB of RAM and there is 694MB of RAM in Standby.
    The main Async service is using 660MB and the maintenance Async service is using 265MB.
    To resolve the issue temporarily, I restarted both Async services this morning. Shortly after everything came back, they were holding fairly steady around 350MB and 200MB. It's been six hours since then.
    The last time I spoke with Microsoft about a similar problem, they suggested increasing the amount of RAM.

    It became more and more of a problem. It was impacting the users in a more subtle way at first. You couldn't configure the CRM for Outlook client. After a while, they couldn't use CRM in Outlook at all and users reporting not being able to complete phone
    call activities. I opened a ticket with MS and they suggested the same as Wilson Lou did. The organization error had nothing to do with the creep on the async services usage of RAM. It was indeed caused by SQL stealing all of the memory. Limiting the max usage
    to 24GB RAM has resolved that error. 
    My Async processes are still using a LOT of RAM, but now that I have more than enough RAM, it doesn't seem to be a problem anymore. They are currently using about 700MB RAM each.
    Also, I have upgraded to SP1, UR2.
    Eric Hula - CRM Administrator

  • Total memory calculation

    Search over internet and get one calculation on memory request:
    Total Memory =
    Dataserver Executable Size (in bytes) +
    Static Overhead of 1 Mb +
    User Connections x 40,960 bytes +
    Open Databases x 644 bytes +
    Locks x 32 bytes +
    Devices x 45,056 bytes
    Procedure Cache +
    Data Cache
    don't understand this in detail.
    Dataserver Executable Size (in bytes) +   ----how to get this ???
    Static Overhead of 1 Mb +                   ---how to calc this???
    User Connections x 40,960 bytes +     ---can get this from server param: number of user connections
    Open Databases x 644 bytes +           ---can get this from server param: number of worker processes
    Locks x 32 bytes +                            -----can get this from server param: number of locks???
    Devices x 45,056 bytes +                   ----number of devices???
    Procedure Cache +                            ---20% of data cache???
    Data Cache                                       --- decided by app???

    Hi Kent,
    > Dataserver Executable Size (in bytes) +   ----how to get this ???
    > Static Overhead of 1 Mb +                   ---how to calc this???
    Why do you need the exact size of the dataserver executable. This size will change which every new version of the binaries that you would use.
    The best way to check the size of the memory requirements for ASE is to set up the 'max memory' variable. This setting will set the upper limit for the memory allocation in ASE.
    The easiest way to check what is the current memory usage by running
    sp_configure 'total logical memory'
    More details are here:
    How much memory to configure
    All the other parameters are also set by sp_configure.
    When you add some memory to some functionality, the remaining memory from (max memory - total logical memory) will decrease.
    > Locks x 32 bytes +                            -----can get this from server param: number of locks???
    correct
    >Devices x 45,056 bytes +                   ----number of devices???
    correct
    > Procedure Cache +                            ---20% of data cache???
    incorrect
    The procedure cache is set up by 2k page size
    sp_configure 'procedure cache size'
    > Data Cache                                       --- decided by app???
    This is the sum of all your data cache:
    sp_cacheconfig will give you a summary
    HTH,
    Adam

  • How to find out total memory used by each database ?

    I have two databases in one unix server.
    1) I need to know total memory used by each database.
    2) secondly, I want to know the detail used in each database.
    thanks

    For a database using dedicated shared servers, we can say total memory = 1 * SGA + sum (PGA) for all dedicated server processes (this excludes the size of the Oracle binary)
    For SGA, see
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#sthref401
    or
    ipcs -mob | grep <oracle account> gives the SGA sizes for the 2 databases.
    for PGA,
    see PGA_USED_MEM column http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/dynviews_2022.htm#sthref3837
    it's difficult to rely on Unix top/ps command because some Unix will add the shared memory to each dedicated server connection, some not.

  • When production server is totaled

    I am testing a backup plan that only uses flash recovery area to hold all the backups for all my datafile, archivlelog etc....since this is for a small database, there are only about 4-5 archivelog files generated each day and we don't want to spend money to set up expensive media management layer for it to put backup into tape....System is backing up all the files each night.
    Now, If I know network traffic is not an issue here, in order for me to be able to recover to PIT when the server is totaled, I mean no access to it at all. I am thinking the following two choices:
    1, Set up the whole FRA in a network mapped driver over another machine.
    2. Set up the FRA in the same server as target database, and an extra location on another server for archivelog files....
    Can someone tell me if there are any pros and cons for these two setups? Or there are better ways to do it?
    My goal is to be able to recover PIT without using tapes.
    Thanks in advance for any inputs and suggestions.
    Ying

    or you can move the backupset after backup completion to another server with a script. and then move it back in case you need it and run catalog recovery area.

  • Exact total memory of RHEL machine

    I have a query that how to find the exact total memory of a RHEL machine. For eg.
    1) On 1 server –
    free –m
    is showing 19056 which gives 18.6 GB. But, I was told that the RAM on this system is 19 GB.
    2) On 2nd server-
    free –m
    is showing 16050 which gives 15.67 GB. But, I was told that the RAM on this system is 16 GB which is common knowledge in our organization.
    I hope I have been able to explain the query of finding the exact memory on a RHEL machine.
    Requesting a reply to my query.
    Regards

    Thanks for your answer. Physical ram minus a few reserved bits and the kernel binary code could possibly explain why 18.6 GB shows instead of 19 GB as in my post but this has to be a confirmed thing, like if it can be shown how much space these reserved bits and kernel binary code are occupying. I did,
    dmidecode -t 5,6,16,17
    on my machine but it does not seem helpful in understanding as the output is very long.
    Regards

  • Edge server consuming more memory

    Hi
    We are using flash media server 3.0.1 to do online streaming for more than 1 year. Sometime (once in 2-3 months) edge server consumes more memory. It will be utilizing more than 80% of swap memory.
    I am new to flash and unable to figure out, why this is happening.
    FMS is running on unix box.
    Please any body help me to know why this is happening.
    Thanks in advance,
    Bhaskar

    Hello,
    8 Gb is the strict minimum for solman itself, but your OS needs also at least 2Gb and maybe your DB is running on the same host and consume few Gb also...
    Thus I would say the minimum RAM should be 12 Gb (8 for solman, 2 for Db 2 for OS)
    Regards
    Extract from SAP Solution Manager 7.1 Sizing Guide

  • Server goes totally jammed

    Hi
    I'm running OS X Server 10.4.9 on a Mac Pro as a standalone server. Services enabled are: AFP, FTP, Firewall & Windows. The server also runs Retrospect Workgroup -backup server.
    The problem is that occasionally - every two days, sometimes even a couple of times a day - the server goes totally jammed up: existing network connections slow down a lot or disconnect, new logins aren't possible because the server
    can't be found. You can't even login using ssh.
    Local login doesn't work either - when waking up the computer from screen saver, you wont even get the login window and the screen refreshes about 1frame / 10 sec. Hard drives are then working like crazy, when there shouldn't be anything particularily heavy going on.
    So the only solution is to boot it using the power switch.
    The situation is totally unbearable. Haven't found anything obvious reason from the logs. Anyone with any idea?
    Mac OS X (10.4.9)

    Hi: I’m not criticising it just seems curious as why only that?
    Umm... Isn't that just normal? The server has a
    public ip, and it's being accessed remotely by our
    employees.
    If you are going to be using your server as a gateway/router then it makes sense. NAT, DHCP & DNS and possibly VPN would have be to enabled. If everything sits behind a router based firewall then there is not much point. Judging by what you say: is remote access via command line and ssh or by VPN? If its via VPN then obviously its not your server handling it. Routers that support VPN connections will have Firewall/NAT built in and these will be active.
    Again why the Firewall on the server as it does not seem to be doing anything?
    BTW - Server logs show these kind of login attempts
    every now and then:
    DirectoryService[76]: Failed Authentication
    return is being delayed due to over five recent auth
    failures for username: admin
    Something to be worried about? There's no signs that
    someone would have succeeded with those...
    Absolutely. This could indicate a dictionary attack or possibly a failed login attempt locally. If you are the Server Administrator and you know your user base does not have command line knowledge then I would be suspicious. When you install OSX Server Remote Login is enabled by default. This allows for ssh connections to be made by administrators who wish to administer the server remotely and by the command line. Unless you have an absolute requirement to do this you should disable it. System Preferences > Sharing > Remote Login.
    By default Root User is not enabled on OSX Client. It is on OSX Server. Again unless you have an absolute requirement to have this enabled, disable it. If you need to enable Root User for a specific purpose then you can re-enable it for that purpose, disabling it when you are done. /Applications/Utilities/Net Info Manager. Click the lock and authenticate, Security Menu > Disable Root User. Inspect your router and make sure that Port 22/23 are not open. Some Routers open these to allow for Remote Management.
    I’m not an expert on this, but as I understand it hackers know this and use dictionary attacks (a brute force method that assumes that admin is the user name and tries numerous passwords until it hits on the right one) to gain access to your server. Again I am not an expert at this but what they do when they get there – generally – is leave something like a timed script that sends spam in one huge chunk. The Server reacts by allocating as much system resources and CPU time as it can to deal with the traffic, this can appear as if the Server has been jammed causing disconnects and unstable access.
    Launch terminal and issue the top command. This will list all active processes running. Look at for amavisd or clamav and see what CPU usage is for these processes when the slow down occurs. This would be an indication that your server has been hacked and is being used to send spam. You can stop these processes by issuing sudo kill PID, where PID is the Process ID number. Alternatively if you are not comfortable with the command line you can use Activity Monitor in /Applications/Utilities folder. It’s the GUI for top.
    Don’t worry and don’t panic, if you follow these basic security procedures you will be OK even if it turns out to be not a dictionary attack, these are still good best practice methods to employ.
    One further question for you: have you had to reset the password for the Server Administrator account lately?
    Hope this helps – Tony

  • How to connect to lined server in SSMS in SSIS connection manager

    Hi,
    In SSMS (Server name is sqlssisdw1), I have one (SQL Server)linked server name sql4. in that linked server there is DB called rptdb
    Now using SSIS I want to use tables in that DB rptdb.
    So for this I want to create Connection manager, but for this when I select 'New OLEDB connection' and in that in 'Server Name' when I wrote 'sql4' it is not giving me list of DB. I also tried giving sqlssisdw1 in server name and see if I can see this
    rptdb but I can't.
    Can you please tell me how can I connect to lined server in SSMS in SSIS connection manager? Thank you.
    Vicky

    Hi ,
      if you are already having access and login credentials to the remote server which is configured in sql4 , you pretty much directly connect to that server from the connection manager instead of going through a linked server. If you still want to connect
    through the linked server , you need to establish the connection for SQL Server sqlssisdw1 and then
    use a 4 part name query to access the rptdb tables as like below
    SELECT * FROM SQL4.rptdb.<schemaname>.Tablename
    Best Regards Sorna

  • HP Officejet Pro X576dw MFP (CN598A) Total memory question

    Hello,
    We bought a HP Officejet Pro X576dw MFP (CN598A), and we noticed something weird on the printer's web settings page.
    The specification on the hp website states that this printer comes with:
    - Memory, standard 768 MB (Not expandable)
    - Memory, maximum 768 MB
    But on the printer's web settings page, it shows the following:
    - Total Memory (KB) 415685
    - Available Memory (KB) 415199
    That's only like 405 MB of the memory installed.
    Does it mean that the OS of printer is taking about 363MB of memory or did we get a printer with a wrong memoery card installed?
    Can anyone with the same printer check the total memory information?
    Thanks.

    Good day,
    To get your issue more exposure, I would suggest posting it in the commercial forums since your product is a commercial product. You can do this at Commercial Forums.
    Enjoy your day!
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Calculating total memory in oracle RAC environment

    I have to calculate total memry in RAC environment.
    For shared and buffer pool I execute show sga.
    For UGA and PGA I execute statement that have two different values.
    This is my two different methot for calculating total memory in oracle RAC environment.
    Why I have very different value in this 2 statements on pga values?
    first stat
    with vs as
    select 'PGA: ' pid
    ,iid
    ,session_pga_memory + session_uga_memory bytes
    from (select inst_id iid
    ,(select ss.value
    from gv$sesstat ss
    where ss.sid = s.sid
    and ss.inst_id = s.inst_id
    and ss.statistic# = 20) session_pga_memory
    ,(select ss.value
    from gv$sesstat ss
    where ss.sid = s.sid
    and ss.inst_id = s.inst_id
    and ss.statistic# = 15) session_uga_memory
    from gv$session s)
    union all
    select 'SGA: ' || name pid
    ,s.inst_id iid
    ,value bytes
    from gv$sga s
    select distinct iid, pid, sum(bytes) over (partition by iid, pid) bytes from vs
    IID PID BYTES
    1 PGA: 196764792 <=====
    1 SGA: Database Buffers 318767104
    1 SGA: Fixed Size 733688
    1 SGA: Redo Buffers 811008
    1 SGA: Variable Size 335544320
    2 PGA: 77159560 <=====
    2 SGA: Database Buffers 318767104
    2 SGA: Fixed Size 733688
    2 SGA: Redo Buffers 811008
    2 SGA: Variable Size 335544320
    second stat
    with vs as
    select 'PGA: ' pid
    ,p.inst_id iid
    ,p.pga_alloc_mem bytes
    from gv$session s
    ,gv$sesstat pcur
    ,gv$process p
    where pcur.statistic# in ( 20 -- = session pga memory
    ,15 -- = session uga memory
    and s.paddr = p.addr
    and pcur.sid = s.sid
    and pcur.INST_ID = s.INST_ID
    and pcur.INST_ID = p.INST_ID
    union all
    select 'SGA: ' || name pid
    ,s.inst_id iid
    ,value bytes
    from gv$sga s
    select distinct iid, pid, sum(bytes) over (partition by iid, pid) bytes from vs
    IID PID BYTES
    1 PGA: 342558636 <=====
    1 SGA: Database Buffers 318767104
    1 SGA: Fixed Size 733688
    1 SGA: Redo Buffers 811008
    1 SGA: Variable Size 335544320
    2 PGA: 186091416 <=====
    2 SGA: Database Buffers 318767104
    2 SGA: Fixed Size 733688
    2 SGA: Redo Buffers 811008
    2 SGA: Variable Size 335544320

    I'm sorry but it is not clear to me.
    - From v$session (1th stmt) I have
    nearly 196MB of PGA mem on instance 1
    and
    nearly 77MB of PGA mem on instance 2
    - From v$process (2th stmt) I have
    nearly 342MB of PGA mem on instance 1
    and
    nearly 186MB of PGA mem on instance 2
    then...
    342+186 - 196+77 = nearly 255MB of memory allocated by oracle processes but free?
    if I want calculate the total thing of the amount of the allocated memory from Oracle...It is more correct 2th statement that query v$process...it is true?

  • Integrating WebSphere Portal Server with Sun Java System Access Manager

    Hi All,
    Is it possible to Integrate WebSphere Portal Server with Sun java System Access Manager?. If so plz send me any doc or web site link for the same.
    Thanks in Advance
    Rgds,
    Lessly J

    Rushi-Reliance wrote:
    Kindly let us know how to proceed further as we are waiiting some reply from your team.As I already advised in your previous posting (http://forums.sun.com/thread.jspa?threadID=5359095), you are best off re-installing solaris from scratch and installing Communication Suite 6 update 1 if you cannot get Access Manager 7.1 configured.
    Regards
    Shane.

  • Working out the total memory consumed by a process

    Hi,
    I am writing a general snapshot utility that provides session statistics. The code is as follows:
    set pagesize 9999
    set linesize 140
    set heading off
    select SUBSTR(name,1,8) || ' sessions as on '||TO_CHAR(CURRENT_DATE, 'MON DD YYYY HH:MI AM') from v$database;
    set heading on
    column spid heading "OS PID" format a6
    column process format a13 heading "Client ProcID"
    column username  format a10
    column sid       format 999
    column serial#   format 99999
    column STATUS    format a3 HEADING 'ACT'
    column last      format 9,999.99
    column TotGets   format 999,999,999,999 HEADING 'Logical I/O'
    column phyRds    format 999,999 HEADING 'Physical I/O'
    column total_memory format 999,999 HEADING 'MEM/KB'
    SELECT
              substr(a.username,1,8) "lOGIN"
            , substr(a.sid,1,5) || '/'||substr(a.serial#,1,5) AS "SID/serial#"
            , TO_CHAR(a.logon_time, 'DD/MM HH:MI') "LOGGED IN SINCE"
            , substr(a.machine,1,10) HOST
            , substr(p.username,1,8)||'/'||substr(p.spid,1,5) "OS PID"
            , substr(a.osuser,1,8)||'/'||substr(a.process,1,5) "Client PID"
            , substr(a.program,1,15) PROGRAM
            --,ROUND((CURRENT_DATE-a.logon_time)*24) AS "Logged/Hours"
                    select round(sum(ss.value)/1024) from v$sesstat ss, v$statname sn
                    where ss.sid = a.sid and
                            sn.statistic# = ss.statistic# and
                            sn.name in ('session pga memory','session uga memory')
              ) AS total_memory
            , (b.block_gets + b.consistent_gets) TotGets
            , b.physical_reads phyRds
            , decode(a.status, 'ACTIVE', 'Y','INACTIVE', 'N') STATUS
            , CASE WHEN a.sid in (select sid from v$mystat where rownum = 1) THEN '<-- YOU' ELSE ' ' END "INFO"
    FROM
             v$process p
            ,v$session a
            ,v$sess_io b
    WHERE
    a.paddr = p.addr
    AND p.background IS NULL
    --AND  a.sid NOT IN (select sid from v$mystat where rownum = 1)
    AND a.sid = b.sid
    AND a.username is not null
    --AND (a.last_call_et < 3600 or a.status = 'ACTIVE')
    --AND CURRENT_DATE - logon_time > 0
    --AND a.sid NOT IN ( select sid from v$mystat where rownum=1)  -- exclude me
    --AND (b.block_gets + b.consistent_gets) > 0
    ORDER BY a.username;
    exitIn above I am trying to display a row per process so I have to cut the width of the columns. However, for the total memory consumed I assumed that it is the sum of values from v$sessstat as follows:
                    select round(sum(ss.value)/1024) from v$sesstat ss, v$statname sn
                    where ss.sid = a.sid and
                            sn.statistic# = ss.statistic# and
                            sn.name in ('session pga memory','session uga memory')
              ) AS total_memoryI have looked around and I think many refer to the sum of 'session pga memory' + ''session uga memory' as something workable.
    I therefore appreciate any comments on that and also anything that I can improve in this piece of code.
    Regards,
    Mich

    I don't know why this thread appears with the Aug 19 2001. This issue was posted Sept 9 2004.

Maybe you are looking for

  • Installing from Tiger to Snow Leopard using only external monitor?

    Backstory: I currently have a mac book pro which i procured from a friend after he dropped it and broke the screen. He promptly went to the apple store and bought a new one and had them swap the hard drives. After hearing this I told him he could mos

  • Customer Advance Payment - Distribution to customer and risk deposit accoun

    Dear Sir, We have one scenario where we receive advance payment from the customer and want to show 90% to customer account and 10% to a GL account for Risk Deposit. How we can achieve this using Terms of payment or any other concept other than adding

  • How to install JUnit plug-in in Eclipse

    i use eclipse 3.11 and i've downloaded eclipse-test-framework-3.1.1 and eclipse-Automated-Tests-3.1.1 two zip file. i've read the instruction, but still could not figure out how to install. my eclipse was independently installed in d drive. my questi

  • Two Ethernet cards at one time

    Hello all I have a problem someone may be able to help me with. I wish to use LabVIEW to communicate down an Ethernet card to a test unit no problem so far ) however I want to connect up to our LAN using Ethernet and the I.T. boys say we can't have a

  • Want to delete bb id

    I want to delete the bbid without passwort