Unix and Linux Discussions Tagged with performance |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
59,548 |
Web Development |
|
|
|
3 |
4,750 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
16,955 |
Windows & DOS: Issues & Discussions |
|
|
|
17 |
19,348 |
Shell Programming and Scripting |
|
|
|
14 |
16,261 |
What is on Your Mind? |
|
|
|
6 |
12,789 |
Shell Programming and Scripting |
|
|
|
8 |
20,145 |
AIX |
|
|
|
5 |
7,235 |
AIX |
|
|
|
5 |
2,742 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
4,270 |
Shell Programming and Scripting |
|
|
|
11 |
10,882 |
Solaris |
|
|
|
11 |
7,275 |
AIX |
|
|
|
12 |
3,812 |
Shell Programming and Scripting |
|
|
|
1 |
3,782 |
Shell Programming and Scripting |
|
|
|
3 |
12,684 |
Virtualization and Cloud Computing |
|
|
|
182 |
206,367 |
SuSE |
|
|
|
13 |
5,553 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
5,136 |
OS X (Apple) |
|
|
|
7 |
6,848 |
Shell Programming and Scripting |
|
|
|
0 |
4,110 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
3,796 |
AIX |
|
|
|
2 |
6,484 |
High Performance Computing |
|
|
|
6 |
14,616 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
8,103 |
AIX |
|
|
|
6 |
9,544 |
AIX |
|
|
|
5 |
14,636 |
AIX |
|
|
|
7 |
8,597 |
AIX |
|
|
|
1 |
5,074 |
AIX |
|
|
|
7 |
5,086 |
Shell Programming and Scripting |
|
|
|
1 |
17,536 |
Tips and Tutorials |
|
|
|
7 |
17,039 |
AIX |
|
|
|
2 |
10,962 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
14,254 |
AIX |
|
|
|
14 |
6,256 |
Programming |
|
|
|
3 |
4,093 |
UNIX and Linux Applications |
|
|
|
0 |
5,294 |
Solaris |
|
|
|
1 |
4,960 |
Solaris |
|
|
|
1 |
2,843 |
Shell Programming and Scripting |
|
|
|
9 |
4,957 |
Solaris |
|
|
|
7 |
6,869 |
Solaris |
PMPRINTVALUE(3) Library Functions Manual PMPRINTVALUE(3)
NAME
pmPrintValue - print a performance metric value
C SYNOPSIS
#include <stdio.h>
#include <pcp/pmapi.h>
void pmPrintValue(FILE *f, int valfmt, int type, const pmValue *val, int minwidth);
cc ... -lpcp
DESCRIPTION
The value of a single performance metric (as identified by val) is printed on the standard I/O stream identified by f.
The value of the performance metric is interpreted according to the format of val as defined by valfmt (from a pmValueSet within a pmResult
structure; see pmFetch(3)) and the generic description of the metrics type passed in via type.
The value for type is typically extracted from a pmDesc structure, following a call to pmLookupDesc(3) for a particular performance metric.
The output will be optionally padded to be at least minwidth characters wide.
pmPrintValue is most useful for displaying values of performance metrics from pmFetch(3) (which returns a set of valfmt and val pairs for
each requested metric), based upon the metrics type as returned from pmLookupDesc(3).
SEE ALSO
PMAPI(3), pmAtomStr(3), pmConvScale(3), pmExtractValue(3), pmFetch(3), pmLookupDesc(3), pmTypeStr(3) and pmUnitsStr(3).
Performance Co-Pilot PCP PMPRINTVALUE(3)