1 / 21

Performance Tools

Performance Tools. Version B.02 H4262S Module 2 Slides. HP-UX Performance Tools. HP-UX Performance Tools. Objective: Identify the various performance tools available on HP-UX. Demonstrate their mechanics. Discuss their features. Compare and contrast the differences between these tools.

akio
Download Presentation

Performance Tools

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Performance Tools Version B.02 H4262S Module 2 Slides

  2. HP-UX Performance Tools

  3. HP-UX Performance Tools Objective: • Identify the various performance tools available on HP-UX. • Demonstrate their mechanics. • Discuss their features. • Compare and contrast the differences between these tools. acctcom bdf/df diskinfo dmesg fsadm glance/gpm HP-PAK ioscan iostat ipcs/ipcrm lanadmin LVM mount NetMetrix netstat nfsstat ndd nice PerfView ping PRM/WLM ps renice rtprio sar scsictl serialize setprivgrp size swapinfo sysdef timex/time top tunefs vmstat w/uptime

  4. Sources of Tools • Standard tools • Tools found on UNIX systems, including HP-UX • Tools frequently found on other UNIX systems • HP-UX-specific tools • Tools found only on HP-UX • Optional tools • Tools licensed and sold separately(Generally available only on HP-UX)

  5. Types of Tools Data Collection Performance Network Monitoring Run-Time Monitoring System Configuration and Utilization Application Profiling and Monitoring Performance Administration

  6. Criteria for Comparing the Tools • Source of data • Scope • Additional cost versus no cost • Intrusiveness • Accuracy • Ease of use • Portability • Metrics available • Data collection and storage • Permissions required

  7. Data Sources Kernel Instrumentation Kernel Memory Trace Buffers /dev/kmem Shared midaemon Memory iostat sar Segment ps vmstat Measurement scopeux Interface Library Logfiles Socket glance extract pv utility

  8. Performance Monitoring Tools (Standard UNIX) Global Metrics Process Details Alarming Capability iostat Yes No No ps No Yes No sar Yes No No time No Some No timex Some Some No top Yes Some No uptime,w Some Some No vmstat Yes No No

  9. Global Metrics Process Details Alarming Capability Performance Monitoring Tools(HP Specific) glance Yes Yes Yes gpm Yes Yes Yes monitor (9.x) Yes Yes No

  10. Data Collection Performance Tools (Standard UNIX) Global Metrics Process Details Alarming Capability acctcom Some Some No sar Yes No No

  11. Data Collection Performance Tools(HP-Specific) Global Metrics Process Details Alarming Capability MeasureWare Yes Yes Yes PerfView Yes Yes Yes Data Source Integ User Definable User Definable User Definable

  12. Network Performance Tools (Standard UNIX) Resource Super User Access Required netstat Various LAN Statistics No nfsstat Network File Sharing Statistics No ping Test Network Connectivity and Packet No Round-Trip Response Time

  13. Network Performance Tools(HP-Specific) Resource Super User Access Required Layer 2 Networking Statistics and Yes lanadmin NIC Reset LAN Hardware and Software Status No lanscan nettune (10.X) Change Kernel Networking Parameters Yes Change Kernel Networking Parameters Yes Change Kernel Networking Parameters ndd (11.X) Collects network performance data Yes NetMetrix using RMON LAN probes

  14. Performance Administrative Tools (Standard UNIX) Resource Super User Access Required List Semaphores, Message Queues, and No ipcs Shared Memory Segments Destroy Semaphores, Message Queues, Yes ipcrm and Shared Memory Segments Setting Process Priorities Yes nice Modifying Process Priorities Yes renice

  15. Resource Super User Access Required List system privileged groups getprivgrp No Allocate special system privileges setprivgrp Yes Set real time process priority (HP) rtprio Privileged Access Set POSIX real time process priority rtsched Privileged Access Set parameters on SCSI devices scsictl Yes Mark a program to run serially serialize Privileged Access Online JFS management tool fsadm Yes Display JFS extent attributes getext No Sets/changes JFS extent attributes setext Yes Create a file system newfs Yes Change a file system’s attributes tunefs Yes Process Resource Manager PRM Yes Web Quality of Service WebQoS Yes Performance Administrative Tools(HP-Specific)

  16. System Configuration and Utilization Information (Standard UNIX) Resource Portability Local and remote mounted file system space Some bdf Mounted file systems Yes df Local and remote file system mounts Yes mount

  17. System Configuration and Utilization Information (HP-Specific) Resource Portability Size and model of local disk drives No diskinfo I/O tree and memory details Some dmesg I/O tree and addressing No ioscan Local volume group contents/attributes No vgdisplay Local physical volume contents/attributes No pvdisplay Local logical volume contents/attributes No lvdisplay Swap space utilization No swapinfo Sizes and values of kernel tables and parms Some sysdef Query, set, or reset system parameters Some kmtune

  18. Application Profiling and Monitoring Tools (Standard UNIX) Resource Super User Access Required Application Profiler No prof Enhanced Application Profiler No gprof Define and measure response time of transactions for an application No arm

  19. Application Profiling and Monitoring Tools (HP-Specific) Super User Access Required Description Program utilization and measurement analysis No puma ttd cxperf Tracks how much time is spent between specific lines of code in a program No cxperf is an interactive runtime performance analyzer for programs compiled with C, C++ and Fortran 90 compilers No

  20. Different categories of performance tools Standard UNIX tools versus HP-specific tools Separately purchasable tools Kernel register-based tools versus midaemon-based Tools Summary

  21. Lab Before we continue with a more focused discussion of glanceand gpm, lets spend some time exploring the generic UNIX and HP-UX-specific tools discussed so far. As you answer the following questions, try to categorize each tool as to its type and scope.

More Related