Unix and Linux Discussions Tagged with performance |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
59,555 |
Web Development |
|
|
|
3 |
4,751 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
16,957 |
Windows & DOS: Issues & Discussions |
|
|
|
17 |
19,348 |
Shell Programming and Scripting |
|
|
|
14 |
16,263 |
What is on Your Mind? |
|
|
|
6 |
12,789 |
Shell Programming and Scripting |
|
|
|
8 |
20,149 |
AIX |
|
|
|
5 |
7,236 |
AIX |
|
|
|
5 |
2,743 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
4,270 |
Shell Programming and Scripting |
|
|
|
11 |
10,882 |
Solaris |
|
|
|
11 |
7,276 |
AIX |
|
|
|
12 |
3,812 |
Shell Programming and Scripting |
|
|
|
1 |
3,782 |
Shell Programming and Scripting |
|
|
|
3 |
12,686 |
Virtualization and Cloud Computing |
|
|
|
182 |
206,403 |
SuSE |
|
|
|
13 |
5,554 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
5,138 |
OS X (Apple) |
|
|
|
7 |
6,848 |
Shell Programming and Scripting |
|
|
|
0 |
4,112 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
3,796 |
AIX |
|
|
|
2 |
6,486 |
High Performance Computing |
|
|
|
6 |
14,617 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
8,103 |
AIX |
|
|
|
6 |
9,545 |
AIX |
|
|
|
5 |
14,636 |
AIX |
|
|
|
7 |
8,598 |
AIX |
|
|
|
1 |
5,075 |
AIX |
|
|
|
7 |
5,086 |
Shell Programming and Scripting |
|
|
|
1 |
17,537 |
Tips and Tutorials |
|
|
|
7 |
17,040 |
AIX |
|
|
|
2 |
10,962 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
14,254 |
AIX |
|
|
|
14 |
6,259 |
Programming |
|
|
|
3 |
4,093 |
UNIX and Linux Applications |
|
|
|
0 |
5,294 |
Solaris |
|
|
|
1 |
4,962 |
Solaris |
|
|
|
1 |
2,843 |
Shell Programming and Scripting |
|
|
|
9 |
4,958 |
Solaris |
|
|
|
7 |
6,870 |
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)