List of Examples

| Table of Contents | List of Figures | List of Examples | List of Tables | List of Procedures |

Example 2-1. Simple PMDA as a DSO
Example 2-2. Simple PMDA as a Daemon
Example 2-3. _pmID_int Structure
Example 2-4. pmdaMetric Structure
Example 2-5. Trivial PMDA
Example 2-6. Effect of Semantics on a Metric
Example 2-7. pmdaInstid Structure
Example 2-8. pmdaIndom Structure
Example 2-9. _pmInDom_int Structure
Example 2-10. Simple PMDA
Example 2-11. pmns File for the Simple PMDA
Example 2-12. Alternate pmns File for the Simple PMDA
Example 2-13. Help Text for the Simple PMDA
Example 2-14. Setting Values
Example 2-15. Request Handing Callbacks in the Trivial PMDA
Example 2-16. Request Handing Callbacks in the Simple PMDA
Example 2-17. simple.numfetch Metric
Example 2-18. simple.color Metric
Example 2-19. simple.time Metric
Example 2-20. simple.now Metric
Example 2-21. simple_store in the Simple PMDA
Example 2-22. simple.color and PM_ERR_INST Errors
Example 2-23. PM_ERR_PMID Errors
Example 2-24. -EACCES and PM_ERR_PMID Errors
Example 2-25. pmdaInterface Structure
Example 2-26. pmdaExt Stucture
Example 2-27. Initialization in the Trivial PMDA
Example 2-28. Initialization in the Simple PMDA
Example 2-29. main in the Simple PMDA
Example 2-30. simple.numfetch in the Simple PMDA
Example 2-31. Install Script for the Trivial PMDA
Example 2-32. Changing Variable Assignments
Example 3-1. Metrics Sharing the Same Instance Domain
Example 3-2. pmDesc Structure
Example 3-3. pmUnits and pmDesc Structures
Example 3-4. pmValueBlock and pmValue Structures
Example 3-5. pmValueBlock Structure
Example 3-6. pmValueSet Structure
Example 3-7. pmResult Structure
Example 3-8. Dumping Values in Temporal Sequence
Example 3-9. Replaying Interpolated Metrics
Example 3-10. PMAPI Metrics Services
Example 3-11. pmRecordHost Structure
Example 3-12. pmLogLabel Structure
Example 3-13. pmAtomValue Structure
Example 3-14. Using pmPrintValue to Print Values
Example 3-15. pmMetricSpec Structure
Example 3-16. C Code Produced by pmgenmap Input
Example 3-17. Initializing Metric Specifications
Example 3-18. Iterative Processing
Example 3-19. Adding a Metric
Example 3-20. PMAPI Error Handling
Example 4-1. Rolling-Window Sampling Technique