Man page - pmie2col(1)
Packages contas this manual
- pmlogger_daily(1)
- pmdatrace(1)
- pmfind_check(1)
- pcp.env(5)
- pmdabcc(1)
- pmlogredact(1)
- pmlogctl(1)
- pmdamemcache(1)
- pmdaslurm(1)
- pmlogpaste(1)
- mpvis(1)
- pmlogextract(1)
- pmdazimbra(1)
- pmdalio(1)
- pmiestatus(1)
- pmdashping(1)
- pmdasnmp(1)
- pmdaunbound(1)
- pcp-kube-pods(1)
- pmdapodman(1)
- pmdanamed(1)
- pmdiff(1)
- pmdanews(1)
- pmdalibvirt(1)
- osvis(1)
- pcp-dstat(5)
- pmlogdump(1)
- pmdafreebsd(1)
- pmdaroomtemp(1)
- webpingvis(1)
- pmdagluster(1)
- pmdaamdgpu(1)
- pmiectl(1)
- pcp-ss(1)
- dbprobe(1)
- pmdaopenvswitch(1)
- pmdacisco(1)
- pmdaperfevent(1)
- pmdamssql(1)
- pmprobe(1)
- pmevent(1)
- pmie2col(1)
- pcp-dstat(1)
- pmdadocker(1)
- pmlock(1)
- pmdamysql(1)
- pmdawindows(1)
- perfevent.conf(5)
- pmlogconf(1)
- pmgenmap(1)
- pmval(1)
- pmlogsize(1)
- pmdaweblog(1)
- pmstore(1)
- perfalloc(1)
- pmdanfsclient(1)
- pmdalustre(1)
- pcp-lvmcache(1)
- pcp-netstat(1)
- pmdaoracle(1)
- pmlogger_daily_report(1)
- pcp-meminfo(1)
- pmdabpftrace(1)
- pmdaapache(1)
- pcp-summary(1)
- pcp-xsos(1)
- pmlogcheck(1)
- pmdagpsd(1)
- pmdaopenmetrics(1)
- pmjson(1)
- pmlogbasename(1)
- mkaf(1)
- pmdads389log(1)
- clustervis(1)
- pcp2openmetrics(1)
- nfsvis(1)
- genpmda(1)
- pmdanetbsd(1)
- pmdarsyslog(1)
- pmdadm(1)
- pmlc(1)
- pmdaxfs(1)
- pmlogger_merge(1)
- pmlogsummary(1)
- pmdalmsensors(1)
- pmlogmv(1)
- pmdacifs(1)
- pmhostname(1)
- pmdatxmon(1)
- pmdaactivemq(1)
- pmdamounts(1)
- pmdabash(1)
- pmdanetfilter(1)
- pmlogreduce(1)
- indomcachectl(1)
- dstat(1)
- pmdagfs2(1)
- pmdbg(1)
- pmview(5)
- pmdakvm(1)
- pmdanutcracker(1)
- pmdasimple(1)
- pmlogger_rewrite(1)
- pmdapostgresql(1)
- pmdabpf(1)
- pmdabind2(1)
- pmdaelasticsearch(1)
- pmdahaproxy(1)
- pcp-vmstat(1)
- pmview(1)
- pmcpp(1)
- telnet-probe(1)
- pmdadarwin(1)
- pmdaresctrl(1)
- dbpmda(1)
- pminfo(1)
- pmie(1)
- pmnsmerge(1)
- pmdumplog(1)
- pmrep.conf(5)
- labels.conf(5)
- pmdadenki(1)
- pmdaredis(1)
- pcp-shping(1)
- pmdasockets(1)
- pcp-verify(1)
- dkvis(1)
- weblogvis(1)
- pmpython(1)
- pmseries(1)
- pmfind(1)
- pcp-geolocate(1)
- pcp-iostat(1)
- pmsearch(1)
- pmdasmart(1)
- pmdagpfs(1)
- pmlogcompress(1)
- pmdapdns(1)
- runaspcp(1)
- pmerr(1)
- pmdadbping(1)
- pmdapipe(1)
- pcp-python(1)
- chkhelp(1)
- pmdammv(1)
- pmdaaix(1)
- pmwebd(1)
- pmdasummary(1)
- pmcd_wait(1)
- pmdamongodb(1)
- pmrepconf(1)
- pcp-ipcs(1)
- pmdasample(1)
- pmnsadd(1)
- pmdads389(1)
- pmdauwsgi(1)
- pmdanginx(1)
- pcp-reboot-init(1)
- pmdasolaris(1)
- pmiostat(1)
- pmdasendmail(1)
- pmdanetcheck(1)
- pmsocks(1)
- pmgetopt(1)
- pmdasamba(1)
- pcp-mpstat(1)
- pcp-htop(5)
- pcp-collectl(1)
- pmloglabel(1)
- pmafm(1)
- pmstat(1)
- pmie_daily(1)
- pmdajbd2(1)
- pcp-htop(1)
- pmpause(1)
- pmdatrivial(1)
- pcp.conf(5)
- pmdahacluster(1)
- webvis(1)
- pmdamic(1)
- genload(1)
- pmdabonding(1)
- pmcd(1)
- pmconfig(1)
- pmie_check(1)
- pcp-numastat(1)
- pmnsdel(1)
- pmlogrewrite(1)
- pmlogger(1)
- txrecord(1)
- pmdafarm(1)
- pmmgr(1)
- pmdapostfix(1)
- pmproxy(1)
- pmlogger_check(1)
- pmsleep(1)
- pmdarabbitmq(1)
- pmtrace(1)
- pmdazfs(1)
- pmdaroot(1)
- pcp-buddyinfo(1)
- pmrep(1)
- pcp-uptime(1)
- pmieconf(5)
- pcp-atop(1)
- pcp2csv(1)
- pmdamailq(1)
- pcp-atoprc(5)
- pmdate(1)
- pmdazswap(1)
- pcp-free(1)
- pmieconf(1)
- pcp-tapestat(1)
- pmdaproc(1)
- pmsignal(1)
- pmlogger.control(5)
- pmdalogger(1)
- newhelp(1)
- pcp-check(1)
- pmdaoverhead(1)
- pmdalustrecomm(1)
- find-filter(1)
- pcp-ps(1)
- pmclient(1)
- pcp-pidstat(1)
- pcp-slabinfo(1)
- pmpost(1)
- pmdanvidia(1)
- pcp-dmcache(1)
- pmclient_fg(1)
- pcp-zoneinfo(1)
- pmdalinux(1)
- pcp-atopsar(1)
- pmdajson(1)
- pcp(1)
- pmie_dump_stats(1)
apt-get install pcp
Manual
| PMIE2COL(1) | General Commands Manual | PMIE2COL(1) |
NAME
pmie2col - convert pmie output to multi-column format
SYNOPSIS
pmie2col [-?] [-d delimiter] [-p precision] [-w width]
DESCRIPTION
pmie2col is a simple tool that converts output from pmie(1) into regular column format. Each column is 7 characters wide (by default, may be changed with the -w option) with a single space between columns. That single space can be substituted with an alternate delimiter using the -d option (this is useful for importing the data into a spreadsheet, for example).
The precision of the tabulated values from pmie can be specified with the -p option (default is 2 decimal places). This option can and will override any width setting in order to present the requested precision.
The pmie(1) configuration must follow these rules:
- (1)
- Each pmie(1) expression is of the form ``NAME = expr;''. NAME will be used as the column heading, and must contain no white space, although special characters can be escaped by enclosing NAME in single quotes.
- (2)
- The ``expr'' must be a valid pmie(1) expression that produces a singular value.
In addition, pmie(1) must be run with the -v command line option.
It is also possible to use the -e command line to pmie(1) and output lines will be prefixed by a timestamp.
OPTIONS
The available command line options are:
- -d char, --delimiter=char
- Use char as output delimiter.
- -p N, --precision=N
- Use n as output floating point precision.
- -w N, --width=N
- Use n as output column width.
- -?, --help
- Display usage message and exit.
EXAMPLES
Given this pmie(1) configuration file (config):
loadav = kernel.all.load #'1 minute'; '%usr' = kernel.all.cpu.user; '%sys' = kernel.all.cpu.sys; '%wio' = kernel.all.cpu.wait.total; '%idle' = kernel.all.cpu.idle; 'max-iops' = max_inst(disk.dev.total);
Then this command pipeline:
$ pmie -v -t 5 <config | pmie2col -w 8
Produces output like this:
loadav %usr %sys %wio %idle max-iops
0.21 ? ? ? ? ?
0.36 0.49 0.03 0.18 0.29 25.40
0.49 0.41 0.10 0.36 0.13 51.00
0.69 0.49 0.10 0.05 0.37 43.20
0.71 0.39 0.08 0.04 0.49 14.00
0.83 0.63 0.15 0.00 0.21 32.30
1.09 0.60 0.02 0.10 0.27 47.00
0.92 0.01 0.00 0.00 0.99 2.40
PCP ENVIRONMENT
Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configuration file, as described in pcp.conf(5).
SEE ALSO
PCPIntro(1) and pmie(1).
| PCP | Performance Co-Pilot |