<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to find out which process consuming the memory? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-process-consuming-the-memory/m-p/2735993#M66529</link>
    <description>Hi, experts,&lt;BR /&gt;&lt;BR /&gt;   the free memory is near zero !&lt;BR /&gt;   How to find out which process consuming the &lt;BR /&gt;memory on n4000(11.0), just like ps -o pmem on dec box.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;SUnny&lt;BR /&gt;</description>
    <pubDate>Mon, 03 Jun 2002 00:31:57 GMT</pubDate>
    <dc:creator>faust2004</dc:creator>
    <dc:date>2002-06-03T00:31:57Z</dc:date>
    <item>
      <title>How to find out which process consuming the memory?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-process-consuming-the-memory/m-p/2735993#M66529</link>
      <description>Hi, experts,&lt;BR /&gt;&lt;BR /&gt;   the free memory is near zero !&lt;BR /&gt;   How to find out which process consuming the &lt;BR /&gt;memory on n4000(11.0), just like ps -o pmem on dec box.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;SUnny&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Jun 2002 00:31:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-process-consuming-the-memory/m-p/2735993#M66529</guid>
      <dc:creator>faust2004</dc:creator>
      <dc:date>2002-06-03T00:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out which process consuming the memory?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-process-consuming-the-memory/m-p/2735994#M66530</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;The following (thanks to Bill Hassell) uses the POSIX (UNIX95) options of the 'ps' command to assist in this tracking, and ranking the 'ps' output in descending kilobyte core size. A space character follows the 'UNIX95' variable declaration and the 'ps' command begins without any interceding delimiter. This sets UNIX95 only for the one command line. &lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -e -o "user,vsz,pid,ppid,args" | sort -rnk2 | more &lt;BR /&gt;&lt;BR /&gt;Do a search on memory usage - there are hundreds of threads regarding this, including the quote above from JRF&lt;BR /&gt;&lt;BR /&gt;Hope this helps , &lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Mon, 03 Jun 2002 00:53:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-process-consuming-the-memory/m-p/2735994#M66530</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-06-03T00:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out which process consuming the memory?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-process-consuming-the-memory/m-p/2735995#M66531</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try this:&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -eo 'vsz args' | sort -nr | more&lt;BR /&gt;&lt;BR /&gt;What is you buffer cache size? If it is over 300Mb this could a problem with no free memory being available.&lt;BR /&gt;&lt;BR /&gt;# vmstat -n (check for pageouts)&lt;BR /&gt;# swapinfo -tm (check swap usage)&lt;BR /&gt;&lt;BR /&gt;Use glance to view the online monitor&lt;BR /&gt;&lt;BR /&gt;Michael</description>
      <pubDate>Mon, 03 Jun 2002 00:56:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-process-consuming-the-memory/m-p/2735995#M66531</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-06-03T00:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out which process consuming the memory?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-process-consuming-the-memory/m-p/2735996#M66532</link>
      <description>Steven, thanks a lot,&lt;BR /&gt;   &lt;BR /&gt;    what is the connection of  the vsize memory and physical memory?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Sunny&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Jun 2002 01:15:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-process-consuming-the-memory/m-p/2735996#M66532</guid>
      <dc:creator>faust2004</dc:creator>
      <dc:date>2002-06-03T01:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out which process consuming the memory?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-process-consuming-the-memory/m-p/2735997#M66533</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;RSZ = Resident set size &lt;BR /&gt;VSZ = Virtual set size &lt;BR /&gt;&lt;BR /&gt;RSZ is a subset of VSZ - the portion of the processes memory which is 'resident' &lt;BR /&gt;in physical memory (ie not paged out). VSZ is the total size, including resident &lt;BR /&gt;and non-resident pages. &lt;BR /&gt;&lt;BR /&gt;These values are totals, obtained by adding up the memory utilisation of the &lt;BR /&gt;processes various memory segments (of which there can be lots). &lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Mon, 03 Jun 2002 01:23:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-process-consuming-the-memory/m-p/2735997#M66533</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-06-03T01:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out which process consuming the memory?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-process-consuming-the-memory/m-p/2735998#M66534</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Here's is a script to calculate free memory&lt;BR /&gt;&lt;BR /&gt;Have attached a doc which goes further into memory management&lt;BR /&gt;&lt;BR /&gt;Who is your top user ?&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;&lt;BR /&gt;let x=$(grep -i physical: /var/adm/syslog/syslog.log|head -1|awk '{print $7}')/1048 &lt;BR /&gt;let z=$(vmstat|tail -1|awk '{print $5}')*4096;let z=$z/1000000 &lt;BR /&gt;let free=100000/$x*$z &lt;BR /&gt;let free=$free/1000 &lt;BR /&gt;let free=100-$free &lt;BR /&gt;echo "$x Mb physical memory \n$z Mb memory free \n$free % used" &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Steve&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Jun 2002 01:31:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-process-consuming-the-memory/m-p/2735998#M66534</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-06-03T01:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out which process consuming the memory?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-process-consuming-the-memory/m-p/2735999#M66535</link>
      <description>How to find out buffer cache and res size of memory?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Sunny</description>
      <pubDate>Mon, 03 Jun 2002 02:19:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-process-consuming-the-memory/m-p/2735999#M66535</guid>
      <dc:creator>faust2004</dc:creator>
      <dc:date>2002-06-03T02:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out which process consuming the memory?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-process-consuming-the-memory/m-p/2736000#M66536</link>
      <description>Hi Sunny,&lt;BR /&gt;&lt;BR /&gt;If you have glance installed it is really easy&lt;BR /&gt;as it reports a number of items and shows the&lt;BR /&gt;actual usage on the screen.&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;# /opt/perf/bin/glance&lt;BR /&gt;F5 next keys&lt;BR /&gt;F3 SysTables&lt;BR /&gt;Page Down - This will show you the minimum&lt;BR /&gt;the maximum and current usage. The below &lt;BR /&gt;will extract the current levels from the&lt;BR /&gt;kernel. Don't forget that these values are percentages.&lt;BR /&gt;&lt;BR /&gt;# kmtune -q dbc_min_pct&lt;BR /&gt;Parameter             Current Dyn Planned                    Module     Version&lt;BR /&gt;===============================================================================&lt;BR /&gt;dbc_min_pct                 2  -  2                          &lt;BR /&gt;&lt;BR /&gt;# kmtune -q dbc_max_pct&lt;BR /&gt;Parameter             Current Dyn Planned                    Module     Version&lt;BR /&gt;===============================================================================&lt;BR /&gt;dbc_max_pct                 7  -  7                          &lt;BR /&gt;&lt;BR /&gt;# kmtune -q dbc_min_pct&lt;BR /&gt;Parameter             Current Dyn Planned                    Module     Version&lt;BR /&gt;===============================================================================&lt;BR /&gt;dbc_min_pct                 2  -  2&lt;BR /&gt;&lt;BR /&gt;Here is an explanation further on RSZ/VSZ&lt;BR /&gt;&lt;BR /&gt;RSZ = Resident set size &lt;BR /&gt;VSZ = Virtual set size &lt;BR /&gt;&lt;BR /&gt;RSZ is a subset of VSZ - the portion of the processes memory which is 'resident' in physical memory (ie not paged out). VSZ is the total size, including resident and non-resident pages. &lt;BR /&gt;&lt;BR /&gt;These values are totals, obtained by adding up the memory utilisation of the processes various memory segments (of which there can be lots). Its not uncommon for glance and ps to report slightly different results. For more detail get glance to give you a memory report for that process - you will then see a list of all the processes memory segments. &lt;BR /&gt;&lt;BR /&gt;There is also a white paper on your unix system that also provides some valuable information.&lt;BR /&gt;&lt;BR /&gt;/usr/share/doc/mem_mgt.txt&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;~Michael~&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Jun 2002 02:59:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-process-consuming-the-memory/m-p/2736000#M66536</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-06-03T02:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out which process consuming the memory?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-process-consuming-the-memory/m-p/2736001#M66537</link>
      <description>I found the serveral startup and shutdown &lt;BR /&gt;oracle server comsuming too much share memory.&lt;BR /&gt;I have to reboot the server to release them&lt;BR /&gt;. it is possable to found out which share memory is used now by oracle background process?&lt;BR /&gt;  gz97a:/ys# ipcs -mob&lt;BR /&gt;IPC status from /dev/kmem as of Mon Jun  3 13:44:34 2002&lt;BR /&gt;T      ID     KEY        MODE        OWNER     GROUP NATTCH  SEGSZ&lt;BR /&gt;Shared Memory:&lt;BR /&gt;m       0 0x411c1887 --rw-rw-rw-      root      root      0    348&lt;BR /&gt;m       1 0x4e0c0002 --rw-rw-rw-      root      root      2  31040&lt;BR /&gt;m       2 0x412062b0 --rw-rw-rw-      root      root      2   8192&lt;BR /&gt;m     515 0x00000000 D-rw-r-----    oracle  oinstall      4 3148218368&lt;BR /&gt;m       4 0x06347849 --rw-rw-rw-      root       sys      0  77384&lt;BR /&gt;m    9733 0x00000000 D-rw-r-----    oracle  oinstall      5 3148218368&lt;BR /&gt;m       6 0xd51fb72c --rw-r-----    oracle  oinstall    799 3148218368&lt;BR /&gt;m    6663 0x0c6629c9 --rw-r-----      root       sys      2 13031736&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sunny&lt;BR /&gt;Thanks&lt;BR /&gt;   &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Jun 2002 04:42:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-process-consuming-the-memory/m-p/2736001#M66537</guid>
      <dc:creator>faust2004</dc:creator>
      <dc:date>2002-06-03T04:42:26Z</dc:date>
    </item>
  </channel>
</rss>

