[HPADM] SUMMARY: Memory Usage

From: Dave T. (davidlt77_at_hotmail.com)
Date: 02/23/05

  • Next message: Johnson, Craig E: "[HPADM] Unix/NIS Group Question"
    To: hpux-admin@dutchworks.nl
    Date: Wed, 23 Feb 2005 09:10:02 -0500
    
    

    I received two responses, both of which were informative, and I've posted
    them below. Thanks Bill and Martin!

    =========================================================
    From Bill Hassell:

    That's a fairly good set of commands. There are some minor memory
    items that are not visible to normal Unix commands (memory mapped
    files, shared libraries, shared text files) and of course the buffer
    cache which everyone uses. For a true picture of memory usage, you'll
    need Glance.

    =========================================================
    From Martin Lodahl:

    >Would it be safe to say that to view memory usage by user, execute the
    >following:
    >
    >UNIX95= ps -e -o ruser,pid,vsz=Kbytes

    With the proviso that it's a very approximate indicator, yes. The ps(1)
    command ignores altogether the kernel and shared objects, but overstates
    text memory. Text pages are the program's executable code, which we
    certainly hope won't change, so if different processes call for the same
    pages, new memory isn't assigned; the new process just points at the
    pages already in memory. The ps(1) command makes it look like it's
    making new copies every time.

    >...and to view shared memory usage, such as for Oracle processes, using the
    >following:
    >
    >ipcs -bmop

    There again, the answer is "sort of." It will show shared memory
    segments, but it won't differentiate between 32-bit and 64-bit, which
    occupy different maps, and it won't show the other shared objects (like
    memory-mapped files and I/O addresses) that contend for the same map
    space. You can trust what it tells you, but it's pretty far from the
    whole story.

    =========================================================

    ----Original Message Follows----
    From: "Dave T." <davidlt77@hotmail.com>
    To: hpux-admin@dutchworks.nl
    Subject: [HPADM] Memory Usage
    Date: Mon, 21 Feb 2005 16:23:22 -0500

    Would it be safe to say that to view memory usage by user, execute the
    following:

    UNIX95= ps -e -o ruser,pid,vsz=Kbytes

    ...and to view shared memory usage, such as for Oracle processes, using the
    following:

    ipcs -bmop

    --
                 ---> Please post QUESTIONS and SUMMARIES only!! <---
            To subscribe/unsubscribe to this list, contact 
    majordomo@dutchworks.nl
           Name: hpux-admin@dutchworks.nl     Owner: 
    owner-hpux-admin@dutchworks.nl
    Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse 
    only)
                http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & 
    search)
    --
                 ---> Please post QUESTIONS and SUMMARIES only!! <---
            To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
           Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
     
     Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
                http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)
    

  • Next message: Johnson, Craig E: "[HPADM] Unix/NIS Group Question"

    Relevant Pages

    • Re: Cant free the memory after unloading the userform
      ... You should use those commands in place of the one that you have. ... horrible hanging about in memory afterwards. ... Set myform = New YourFormName ... Unload myform ...
      (microsoft.public.word.vba.general)
    • hal!KfLowerIrql change data in system memory for SCSI miniport dri
      ... I'm trying to write a driver to present a ram disk. ... the data transfers and DMA operations are between the array and system memory. ... 'format disk' process, a error occurred and the 'format disk' can not finish ... So I use WinDbg to step to the location, it's 4 WRITE commands followed ...
      (microsoft.public.development.device.drivers)
    • Re: HP49g+ suited to my needs? Seeking advice
      ... devote to learning to use it.... ... functions, with hard to remember commands for doing things, and no easy menu ... for jogging one's memory... ... there are reasonably decent documents for learning how to do much ...
      (comp.sys.hp48)
    • Re: Ada.Command_Line and wildcards
      ... expect to read in their entire input into memory at once before ... DoS to the attacker. ... It uses a fixed size buffer to read commands from the ...
      (comp.lang.ada)
    • Re: Simplicity has a future
      ... not what memory is used on disk drive controllers. ... sends the commands to spin them back up again. ... did not happen to have ECC, then a memory bit error could corrupt ...
      (comp.lang.c)