<?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 Re: Memory Usage by User. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364914#M346571</link>
    <description>Hi Experts,&lt;BR /&gt;&lt;BR /&gt;Do you think this command gives exact or very close to actual memory used by the user.&lt;BR /&gt;&lt;BR /&gt;Because when i check the same on glance it is totally different.&lt;BR /&gt;&lt;BR /&gt;with this command i sam 42.067 mb used by one user.&lt;BR /&gt;&lt;BR /&gt;and it more than 500 mb on glance by the same user.&lt;BR /&gt;&lt;BR /&gt;Any hints where i am going wrong.</description>
    <pubDate>Wed, 25 Feb 2009 08:39:04 GMT</pubDate>
    <dc:creator>Barakati</dc:creator>
    <dc:date>2009-02-25T08:39:04Z</dc:date>
    <item>
      <title>Memory Usage by User.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364901#M346558</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;Could anybody show me how to find memory and cpu usage by each user and porcess.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Tue, 24 Feb 2009 08:00:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364901#M346558</guid>
      <dc:creator>Barakati</dc:creator>
      <dc:date>2009-02-24T08:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage by User.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364902#M346559</link>
      <description>Version: HP_UX 11.31&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Feb 2009 08:01:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364902#M346559</guid>
      <dc:creator>Barakati</dc:creator>
      <dc:date>2009-02-24T08:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage by User.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364903#M346560</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can see the cumulative usage of memory and cpu systemwise and userwise by using top, sar, glance. &lt;BR /&gt;&lt;BR /&gt;If you want to know the memory usage per process you can use the too1 kmeminfo.</description>
      <pubDate>Tue, 24 Feb 2009 08:29:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364903#M346560</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-02-24T08:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage by User.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364904#M346561</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;use glance /kmeminfo.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Asif Sharif</description>
      <pubDate>Tue, 24 Feb 2009 08:55:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364904#M346561</guid>
      <dc:creator>Asif Sharif</dc:creator>
      <dc:date>2009-02-24T08:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage by User.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364905#M346562</link>
      <description>'top' shows the process specific breakup of cpu%, mem (RES) etc.&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Feb 2009 09:01:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364905#M346562</guid>
      <dc:creator>Venkatesh BL</dc:creator>
      <dc:date>2009-02-24T09:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage by User.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364906#M346563</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;glance will give all such information.&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Feb 2009 09:24:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364906#M346563</guid>
      <dc:creator>Sani</dc:creator>
      <dc:date>2009-02-24T09:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage by User.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364907#M346564</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;You can run Glance, will show memory and CPU usage by each user.&lt;BR /&gt;(more info man glance)&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson</description>
      <pubDate>Tue, 24 Feb 2009 09:40:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364907#M346564</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-02-24T09:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage by User.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364908#M346565</link>
      <description>ps -e -o ruser,pid,vsz=Kbytes --sort user|grep &lt;USERNAME&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Tue, 24 Feb 2009 09:53:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364908#M346565</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2009-02-24T09:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage by User.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364909#M346566</link>
      <description>The above would be just an approximation of usage and hence called virtual size, to get the right usage use tools like Glance Plus.</description>
      <pubDate>Tue, 24 Feb 2009 09:54:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364909#M346566</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2009-02-24T09:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage by User.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364910#M346567</link>
      <description>Actually i am trying to get total memory used by all processes owned by each user.&lt;BR /&gt;&lt;BR /&gt;With glance i could see only a subset of process owned by each process.&lt;BR /&gt;&lt;BR /&gt;On my HP_UX server memory is 98% used on an avg as seen by glance. I would like to know i) what user consumes how much memory.&lt;BR /&gt;&lt;BR /&gt;Could you please clarify.&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Feb 2009 12:17:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364910#M346567</guid>
      <dc:creator>Barakati</dc:creator>
      <dc:date>2009-02-24T12:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage by User.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364911#M346568</link>
      <description>UNIX95= ps -e -o vsz=Kbytes -o pid,args=Command-Line | sort -rnk1</description>
      <pubDate>Tue, 24 Feb 2009 23:14:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364911#M346568</guid>
      <dc:creator>Humberto Gámez Rábago</dc:creator>
      <dc:date>2009-02-24T23:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage by User.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364912#M346569</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I read one website stating..&lt;BR /&gt;For Example, &lt;BR /&gt;&lt;BR /&gt;  # UNIX95= ps -eo vsz,ruser,pid,args | sort -rn | more&lt;BR /&gt;26332 ids       1685 ./idsagent -a&lt;BR /&gt;   5296 root      2178 /usr/sbin/stm/uut/bin/tools/monitor/fpl_em&lt;BR /&gt;   4760 root      2713 /opt/perf/bin/rep_server -t SCOPE /var/opt/perf/datafiles/loggl&lt;BR /&gt;   4068 root      1487 /opt/perf/bin/scopeux&lt;BR /&gt;   4052 root      1243 /opt/dce/sbin/rpcd&lt;BR /&gt;   3364 root      2715 /opt/perf/bin/alarmgen -svr 2714 -t alarmgen /var/opt/perf/data&lt;BR /&gt;   3180 root      1465 /opt/perf/bin/midaemon&lt;BR /&gt;   3148 root      1495 /usr/sbin/swagentd -r&lt;BR /&gt;&lt;BR /&gt; And then look at the 1st column in the output to see the amount of memory used by this process for data/text and stack. This value is in pages, so multiply by 4096 to determine the size in bytes.  Anytime you see that the size (SZ) is a four-digit number, that's relatively large, so it's one to watch over time and to see if it continues to grow, and therefore may have a memory leak. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then i tried this.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#UNIX95= ps -eo vsz,ruser,pid,args | sort -rn  | awk '{ val +=$1} END {print (val*4096)/(1024*1024*1024)}'&lt;BR /&gt;144.494&lt;BR /&gt;&lt;BR /&gt;Do you think this value is in GB.&lt;BR /&gt;Is that means currently my machine using 144.494 GB? i do not think. I am trying to get the complete usage on my memory by all users. then by each users.&lt;BR /&gt;Is that possible using above command.&lt;BR /&gt;&lt;BR /&gt;Please clarify.&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Feb 2009 04:55:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364912#M346569</guid>
      <dc:creator>Barakati</dc:creator>
      <dc:date>2009-02-25T04:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage by User.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364913#M346570</link>
      <description>Thanks all i get it.&lt;BR /&gt;&lt;BR /&gt;i did not concentrated on "vsz".&lt;BR /&gt;UNIX95= ps -eo ruser,pid,args,vsz=Kbytes |grep applmgr | awk '{ val +=$4} END {print (val)/(1024*1024)}'&lt;BR /&gt;&lt;BR /&gt;will give me memory used by user "applmgr" in GB.&lt;BR /&gt;&lt;BR /&gt;But if it is actual. How can i get actual using commands like this?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Feb 2009 05:32:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364913#M346570</guid>
      <dc:creator>Barakati</dc:creator>
      <dc:date>2009-02-25T05:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage by User.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364914#M346571</link>
      <description>Hi Experts,&lt;BR /&gt;&lt;BR /&gt;Do you think this command gives exact or very close to actual memory used by the user.&lt;BR /&gt;&lt;BR /&gt;Because when i check the same on glance it is totally different.&lt;BR /&gt;&lt;BR /&gt;with this command i sam 42.067 mb used by one user.&lt;BR /&gt;&lt;BR /&gt;and it more than 500 mb on glance by the same user.&lt;BR /&gt;&lt;BR /&gt;Any hints where i am going wrong.</description>
      <pubDate>Wed, 25 Feb 2009 08:39:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364914#M346571</guid>
      <dc:creator>Barakati</dc:creator>
      <dc:date>2009-02-25T08:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Usage by User.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364915#M346572</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you can use the HP tool kmeminfo to get the memory usage by user process and Kernel.&lt;BR /&gt;&lt;BR /&gt;for CPU usage, please check&lt;BR /&gt;# top -d5 s10&lt;BR /&gt;# sar -Mu 2 10&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Feb 2009 09:54:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-by-user/m-p/4364915#M346572</guid>
      <dc:creator>Sandeep Verma</dc:creator>
      <dc:date>2009-02-25T09:54:36Z</dc:date>
    </item>
  </channel>
</rss>

