Unix and Linux Discussions Tagged with performance |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
60,017 |
Web Development |
|
|
|
3 |
4,888 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
17,195 |
Windows & DOS: Issues & Discussions |
|
|
|
17 |
19,404 |
Shell Programming and Scripting |
|
|
|
14 |
16,539 |
What is on Your Mind? |
|
|
|
6 |
12,836 |
Shell Programming and Scripting |
|
|
|
8 |
20,312 |
AIX |
|
|
|
5 |
7,358 |
AIX |
|
|
|
5 |
2,819 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
4,295 |
Shell Programming and Scripting |
|
|
|
11 |
11,054 |
Solaris |
|
|
|
11 |
7,402 |
AIX |
|
|
|
12 |
3,816 |
Shell Programming and Scripting |
|
|
|
1 |
3,792 |
Shell Programming and Scripting |
|
|
|
3 |
12,865 |
Virtualization and Cloud Computing |
|
|
|
182 |
210,976 |
SuSE |
|
|
|
13 |
5,720 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
5,235 |
OS X (Apple) |
|
|
|
7 |
6,873 |
Shell Programming and Scripting |
|
|
|
0 |
4,214 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
3,865 |
AIX |
|
|
|
2 |
6,648 |
High Performance Computing |
|
|
|
6 |
14,639 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
8,172 |
AIX |
|
|
|
6 |
9,604 |
AIX |
|
|
|
5 |
14,689 |
AIX |
|
|
|
7 |
8,708 |
AIX |
|
|
|
1 |
5,110 |
AIX |
|
|
|
7 |
5,105 |
Shell Programming and Scripting |
|
|
|
1 |
17,753 |
Tips and Tutorials |
|
|
|
7 |
17,089 |
AIX |
|
|
|
2 |
10,970 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
14,315 |
AIX |
|
|
|
14 |
6,386 |
Programming |
|
|
|
3 |
4,224 |
UNIX and Linux Applications |
|
|
|
0 |
5,335 |
Solaris |
|
|
|
1 |
5,044 |
Solaris |
|
|
|
1 |
2,848 |
Shell Programming and Scripting |
|
|
|
9 |
5,000 |
Solaris |
|
|
|
7 |
6,909 |
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)