Operating System - HP-UX
1757087 Members
1944 Online
108858 Solutions
New Discussion юеВ

something about the use of memory

 
SOLVED
Go to solution
wtiancai
Frequent Advisor

something about the use of memory

use the command

top > /tmp/top.tx

&d@ &a0y0C J RSystem: bea8 &a54CFri Aug 24 10:34:41 2007
BLoad averages: 0.34, 0.34, 0.42
B74 processes: 68 sleeping, 6 running
BCpu states:
BCPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
B 0 0.57 5.9% 0.0% 3.0% 91.1% 0.0% 0.0% 0.0% 0.0%
B 1 0.21 7.0% 0.0% 4.0% 89.0% 0.0% 0.0% 0.0% 0.0%
B 2 0.33 9.0% 0.0% 2.0% 89.0% 0.0% 0.0% 0.0% 0.0%
B 3 0.25 21.0% 0.0% 6.0% 73.0% 0.0% 0.0% 0.0% 0.0%
B--- ---- ----- ----- ----- ----- ----- ----- ----- -----
Bavg 0.34 10.0% 0.0% 4.0% 86.0% 0.0% 0.0% 0.0% 0.0%
B BMemory: 1439496K (1412676K) real, 1693104K (1647964K) virtual, 3275496K free Page# 1/8
B BCPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
B 2 ? 13267 root 152 20 1658M 1385M run 232:18 110.86 110.67 java


====================
Question:
1.How about my hp-unix system running status
2.why free memory large than real size

B BMemory: 1439496K (1412676K) real, 1693104K (1647964K) virtual, 3275496K free Page# 1/8
7 REPLIES 7
Dennis Handly
Acclaimed Contributor

Re: something about the use of memory

You'll get a cleaner output with -f filename.
free may be talking about virtual memory?
Don Morris_1
Honored Contributor
Solution

Re: something about the use of memory

No, free is physical memory (at least physical memory available to user space) available.

It is larger than the real portion because real is how much physical memory is in use by User space (not the total physical memory on the entire box). There's nothing odd about that -- this box just has a bunch of RAM hanging around.

As far as Question (1) [Running status]... I don't really know what you're asking. It is running, doesn't seem to be doing all that much (so either you've got bottlenecks beyond belief in your workload or just aren't running much of anything). What in particular are you wondering about it?
whiteknight
Honored Contributor

Re: something about the use of memory

Wtianchai,

Try to use Glance -> memory report to see your current status of your memory usage.

wk
Problem never ends, you must know how to fix it
wtiancai
Frequent Advisor

Re: something about the use of memory

thanks all


==
1.
i want to see the use of the memory,and the system is healthy?
whiteknight
Honored Contributor

Re: something about the use of memory

wtiancai,

please assign points to close this thread

WK
Problem never ends, you must know how to fix it
Steven E. Protter
Exalted Contributor

Re: something about the use of memory

Shalom,

When a system is "not" healthy users have a way of letting you know. Usually it begin's with a whiney voice and uses the word "slow"

http://www.hpux.ws/system.perf.sh

A good way to check for performance after or before a complaint.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
wtiancai
Frequent Advisor

Re: something about the use of memory

tks