Presentation is loading. Please wait.

Presentation is loading. Please wait.

Page 1 © 2001 Hewlett-Packard Company Tools for Measuring System and Application Performance Introduction GlancePlus Introduction Glance Motif Glance Character.

Similar presentations


Presentation on theme: "Page 1 © 2001 Hewlett-Packard Company Tools for Measuring System and Application Performance Introduction GlancePlus Introduction Glance Motif Glance Character."— Presentation transcript:

1 Page 1 © 2001 Hewlett-Packard Company Tools for Measuring System and Application Performance Introduction GlancePlus Introduction Glance Motif Glance Character Mode Glance Command-line Xverbosegc HPjmeter and –Xeprof Other Tools gdb

2 Page 2 © 2001 Hewlett-Packard Company GlancePlus Character Mode /opt/perf/bin/glance

3 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 3 Glance Character Mode CPU utilization System time and user time System call rates sched_yield, read, write Memory regions Java Heap and C Heap Page sizes used for each region allocated (mmap) Sizes of thread stacks

4 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 4 Glance Character Mode Network activity rates Thread activity Thread ID is “lwp_id” shown in Java stack trace and HPjmeter Sort by CPU usage to see busiest threads Files Total number of files open Socket activity on each socket! System System table usage

5 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 5 Glance Character Mode Invocation /opt/perf/bin/glance Starts a character mode version in window Commands typed directly in window Command summary: ? Can use function keys to navigate Powerful printing interface Ideal for collecting snapshots of the state of –Machine –Operating System –Process

6 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 6 Glance Character Mode ? – List All Commands h - Online Help q - exit (or e) A - Application List g - Process List d - Disk Report P - PRM Group List a - CPU By Processor i - IO By File SystemY - Global System Calls c - CPU Report u - IO By Disk F - Process Open Files m - Memory Report v - IO By Logical Volume M - Process Memory Regions t - System Tables N - NFS Global Activity R - Process Resources w - Swap Space n - NFS By System W - Process Wait States B - Global Waits l - Network By Interface L - Process System Calls Z - Global Threads D - DCE Global G - Process Threads K - DCE Process List I - Thread Resource T - Trans Tracker y - Renice Process J - Thread Wait H - Alarm History s - Select Process S - Select Disk/NFS/Appl/Trans/Thread GlancePlus Control Key Menu ? - Commands Menu b - Page Backward (or -) < - Display Previous Screen ! - Invoke Shell f - Page Forward (or +,space) > - Display Next Logical Scr h - Online Help q - exit (or e ) z - Reset Statistics to Zero p - Print Toggle r - Refresh Screen (or ^L) - Update Current Screen j - Adjust Interval o - Threshold Screen Options

7 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 7 Glance Character Mode Commands for Java: Machine gProcess List aCPU By Processor cCPU Report mMemory Report tSystem Tables wSwap Space

8 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 8 Glance Character Mode Commands for Java: Process sSelect Process FOpen Files MMemory Regions RResources WWait States LSystem Calls GThreads SSelect Thread

9 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 9 Glance Character Mode Commands for Java: Environment fPage Forward (or +,space) b Page Backward (or -) <Display Previous Screen jAdjust Interval qexit (or e) pPrint – single page or continuous – to file or printer

10 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 10 Glance Character Mode g – Process List

11 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 11 Glance Character Mode g – Process List Thread Count

12 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 12 Glance Character Mode g – Process List Resident Set Size

13 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 13 Glance Character Mode g – Process List CPU Usage

14 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 14 Glance Character Mode a – CPU By Processor

15 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 15 Glance Character Mode t – System Tables (1)

16 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 16 Glance Character Mode t – System Tables (1) Interesting values: ninode Shared Memory Machine Model OS Version Physical Memory Number of CPUs Network Interfaces Number of Swap Areas

17 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 17 Glance Character Mode t – System Tables (2)

18 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 18 Glance Character Mode t – System Tables (2) Interesting values: nproc nfile nflocks

19 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 19 Glance Character Mode w – Swap Space

20 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 20 Glance Character Mode w – Swap Space Device Memory

21 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 21 Glance Character Mode s – Select Process

22 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 22 Glance Character Mode s – Select Process Type PID Number

23 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 23 Glance Character Mode Displays Process Resources

24 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 24 Glance Character Mode M – Process Memory Regions

25 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 25 Glance Character Mode M – Process Memory Regions

26 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 26 Glance Character Mode M – Process Memory Regions Data == C Heap Text == Executable Other == Java Heap Shared Libraries Thread Stacks Stack == For 1 st Thread

27 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 27 Glance Character Mode L – Process System Calls

28 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 28 Glance Character Mode L – Process System Calls HIGH ksleep() kwakeup() CALL RATES

29 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 29 Glance Character Mode L – Process System Calls HIGH sched_yield() CALL RATE

30 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 30 Glance Character Mode L – Process System Calls

31 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 31 Glance Character Mode G – Process Threads CPU Usage Thread Id

32 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 32 Glance Character Mode S – Select Thread Type TID Number

33 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 33 Glance Character Mode Thread Resources

34 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 34 Glance Character Mode Thread Resources

35 Tools for Measuring Performance © 2001 Hewlett-Packard Company Page 35 Glance Character Mode Summary Ideal tool for: Low bandwidth connections Printing information for remote problem diagnosis –Important machine configuration information –Important OS configuration information –OS resource usage –Process list and resource consumption summary Analysis of individual thread behavior


Download ppt "Page 1 © 2001 Hewlett-Packard Company Tools for Measuring System and Application Performance Introduction GlancePlus Introduction Glance Motif Glance Character."

Similar presentations


Ads by Google