How to use glance to analyze



Hi,
I want to use glance for finding out memory usage of my server
application. I did run glance with the pid of my app, and could see the
application and some stats... What I dont understand is how do I
interpret the memory data .. It shows as follows -

GlancePlus C.04.50.00 18:11:19 hpux1 ia64
Current Avg
High-----------------------------------------------------------------------------------------------------------------------------CPU
Util S SU U
| 43% 39% 51%Disk Util F

FV |100% 100% 100%Mem Util S
SU UB B | 77%
77% 77%Swap Util U UR R
| 21% 21%
21%-----------------------------------------------------------------------------------------------------------------------------
PROCESS LIST
Users= 5
User CPU Util Cum Disk
Thd
Process Name PID PPID Pri Name ( 100% max) CPU IO Rate
RSS Cnt
--------------------------------------------------------------------------------
ssd 531 530 168 root 5.6/ 8.4 19.1 9.4/12.0
39.2mb 29
syslogd 556 1 148 root 0.4/ 0.4 1.0 51.6/64.6
592kb 1
vxfsd 47 0 138 root 0.0/ 0.0 0.1 99.4/ 114
1.9mb 29
cimserver 1229 1 154 root 0.0/ 0.1 0.2 0.0/ 0.0
26.6mb 4


My application is ssd, I dont know what is RSS ? and sometime I see the
memory utilization achiviing 100% also, what does it mean ? Can
somebody provide any help ? Also I have seen the memory display of
glance by pressing 'm' which is something like this -

GlancePlus C.04.50.00 18:13:06 hpux1 ia64
Current Avg
High-----------------------------------------------------------------------------------------------------------------------------CPU
Util S SU U
| 40% 42% 51%Disk Util F

FV |100% 100% 100%Mem Util S
SU UB B | 78%
77% 78%Swap Util U UR R
| 21% 21%
21%-----------------------------------------------------------------------------------------------------------------------------
MEMORY REPORT
Users= 5
Event Current Cumulative Current Rate Cum Rate High
Rate
--------------------------------------------------------------------------------
Page Faults 28527 1897254 6339.3 5690.6 7971.8
Page In 13981 939148 3106.8 2816.8 3974.0
Page Out 0 0 0.0 0.0 0.0
KB Paged In 0kb 0kb 0.0 0.0 0.0
KB Paged Out 0kb 0kb 0.0 0.0 0.0
Reactivations 0 0 0.0 0.0 0.0
Deactivations 0 0 0.0 0.0 0.0
KB Deactivated 0kb 0kb 0.0 0.0 0.0
VM Reads 0 0 0.0 0.0 0.0
VM Writes 7 443 1.5 1.3 1.7

Total VM : 341mb Sys Mem : 337mb User Mem: 223mb Phys Mem:
1013mb
Active VM: 236mb Buf Cache: 226mb Free Mem: 227mb


----------------
I have again no idea, how to interpret this data .. How can I figure
out if my app is using high memory or is there some leak etc ????

I have even looked at my particular pid's data which is even more
confusing .. it looks like this -

Resources PID: 531, ssd PPID: 530 euid: 0 User: root
--------------------------------------------------------------------------------
CPU Usage (util): 10.3 Log Reads : 5539 Wait Reason : SLEEP
User/Nice/RT CPU: 6.9 Log Writes: 482 Total RSS/VSS : 43.2mb/
51.6mb
System CPU : 3.2 Phy Reads : 0 Traps / Vfaults: 164/
1754
Interrupt CPU : 0.0 Phy Writes: 67 Faults Mem/Disk: 1720/
0
Cont Switch CPU : 0.0 FS Reads : 0 Deactivations : 0
Scheduler : HPUX FS Writes : 67 Forks & Vforks : 0
Priority : 168 VM Reads : 0 Signals Recd : 0
Nice Value : 20 VM Writes : 0 Mesg Sent/Recd : 200/
455
Dispatches : 2810 Sys Reads : 0 Other Log Rd/Wt: 3380/
434
Forced CSwitch : 1021 Sys Writes: 0 Other Phy Rd/Wt: 0/
0
VoluntaryCSwitch: 1783 Raw Reads : 0 Proc Start Time
Running CPU : 0 Raw Writes: 0 Mon Aug 21 16:55:38
2006
CPU Switches : 0 Bytes Xfer: 776kb :
Argv1: start
Cmd : /usr/local/solidcore/s3/bin/ssd start

---------------------------------------------------
Can I figure out something related to memory from the above output ???

I cannot run gpm, coz I dont have X access. Please HELP !!!! What I
want is very basic layman's infomation on glance, so that just by
seeing the screen I can figure out whats going on.

Sorry for the longer mail.
Thanks a lot !

.



Relevant Pages

  • Re: How to findout the memory used by a process in HPUX
    ... > Sorry I cannot find a copy of dmon to download for test, ... I advice to use kmeminfo and/or glance. ... Glance is a nice tool and you can see all memory details. ...
    (comp.sys.hp.hpux)
  • Re: Memory confusion
    ... Glance is the best tool, as it gives the most complete information. ... which regions to report as part of the size and how to count shared memory ... The amount of RAM in use, or resident set size,. ...
    (comp.sys.hp.hpux)
  • [HPADM] RE: RE: Collecting System Statistics
    ... I forgot to mention for memory, is there any other HP tool other than ... 'glance' but not all HP servers esp those dev't machines. ... Subject: RE: Collecting System Statistics ... diff platforms (HP-UX, AIX, any flavour of Linux). ...
    (HP-UX-Admin)
  • Re: High Memory Utilization on HP-UX 11.11 compared to 11.00
    ... abhishek wrote: ... You might want to look at it under Glance, and see which memory ... If you do not already have Glance installed on the systems, ... chatr/ldd on the application and the libs to see if there are changes ...
    (comp.sys.hp.hpux)
  • Re: RH9 Poor performance, stability
    ... whether it's the memory or something else. ... >> Does 128 MB ram make that much difference? ... Why is it so much cleaner than under Linux? ... apmd (pid 572) is running... ...
    (comp.os.linux.setup)