1 # standard PCP QA test output filters
3 # Copyright (c) 1997-2002 Silicon Graphics, Inc. All Rights Reserved.
11 /^active/ { state = 1 }
12 /_pmRead: timeout/ && state == 0 { next }
13 /pduread: timeout/ && state == 0 { next }
14 /assuming PCP 1.x PMDA/ && state == 0 { next }
15 /ok .* INADDR_ANY/ { $2 = "FD" }
16 /ok .*pmcd.socket$/ { $2 = "FD"; $4 = "UNIX_DOMAIN_SOCKET" }
19 -e '/^__pmGetAddrInfo/d' \
20 -e '/:__pmHostEntFree(/d' \
21 -e '/^__pmHostEntGetName/d' \
22 -e 's/[A-Z][a-z][a-z] [A-Z][a-z][a-z] *[0-9][0-9]* [0-9][0-9]:[0-9][0-9]:[0-9][0-9] [0-9][0-9][0-9][0-9]$/DATE/' \
23 -e 's/^\[[A-Z].. [A-Z].. *[0-9][0-9]* ..:..:..]/[DATE]/' \
24 -e '/pcp([0-9][0-9]*)/s//pcp(PID)/' \
25 -e '/pcp\[[0-9][0-9]*]/s//pcp[PID]/' \
26 -e '/pmcd([0-9][0-9]*)/s//pmcd(PID)/' \
27 -e '/^\(Log for pmcd on\) [^ ][^ ]*/s//\1 HOST/' \
28 -e '/^pmcd: PID/s/=.*/= PID/' \
29 -e '/started PMDA/s/=.*/= PID/' \
30 -e 's/ \[0x[0-9a-f]*]//' \
31 -e '/^->/s/->[0-9][0-9]:[0-9][0-9]:[0-9][0-9]/-> /' \
32 -e "s;$PCP_PMCDCONF_PATH;\$PCP_PMCDCONF_PATH;" \
33 -e '/get_scsi_sn:/d' \
34 -e '/refresh_proc_scsi/d' \
35 -e '/Info: CleanupAgent/d' \
36 -e '/using .* kmem interface/d' \
37 -e '/pmcd_wait failed: exit status:/d' \
38 -e 's/: host-based access control/: access control/g' \
39 -e '/^User access list empty: user-based access control turned off$/d' \
40 -e '/^Group access list empty: group-based access control turned off$/d' \
41 -e '/pmcd caught SIG.* from pid=/s/=[0-9][0-9]*/=N/g' \
42 -e '/^linux.*pmda_linux/{
46 s/lib=[^ ]*/lib=[OS]pmda.$DSO_SUFFIX/
47 s/entry=[^ ]*/entry=[OS]_init/
49 -e '/^linux.*pmdalinux/{
53 s/cmd=[^ ]*/lib=[OS]pmda.$DSO_SUFFIX entry=[OS]_init/
55 -e '/^darwin.*pmda_darwin/{
59 s/lib=[^ ]*/lib=[OS]pmda.$DSO_SUFFIX/
60 s/entry=[^ ]*/entry=[OS]_init/
62 -e '/^freebsd.*pmda_freebsd/{
66 s/lib=[^ ]*/lib=[OS]pmda.$DSO_SUFFIX/
67 s/entry=[^ ]*/entry=[OS]_init/
69 -e '/^solaris.*pmda_solaris/{
73 s/lib=[^ ]*/lib=[OS]pmda.$DSO_SUFFIX/
74 s/entry=[^ ]*/entry=[OS]_init/
76 -e "/^pmcd.*pmda_pmcd/s/lib=.*pmda_pmcd.$DSO_SUFFIX/lib=...pmda_pmcd.\$DSO_SUFFIX/" \
77 -e '/Warning:.* linux .* Direct mapping/d' \
78 -e '/NOTICE: using \/proc\/partitions for disk I\/O stats/d' \
79 -e '/NOTICE: using \/proc\/diskstats for disk I\/O stats/d' \
80 -e '/NOTICE: detected slabinfo version/d' \
81 -e '/Warning: xfs metrics are not available/d' \
82 -e '/Warning: cihb_getstats: info+recv init: /d' \
83 -e '/Warning: cihb_getstats: V0 api probe: Not supported/d' \
84 -e '/Warning: cihb_getstats: V0 api probe: Invalid argument/d' \
85 -e '/Warning: cihb_getstats: V[01] api probe: Resource temporarily unavailable/d' \
86 -e '/Warning: cihb_getstats: no stats available in this kernel/d' \
87 -e '/Warning: cihb_getstats: no support for V0 or V1 api/d' \
88 -e '/Warning: common_init: NON-CXFS Kernel: disabling metrics/d' \
89 -e '/Warning: nfsd_init: direct map disabled/d' \
90 -e '/Warning: cxfs_.*: NON-CXFS Kernel: disabling metrics/d' \
91 -e '/Warning: cxfs_.*: NON-CXFS or incompatible Kernel: disabling metrics/d' \
92 -e '/Warning: cxfs_common_init: direct map disabled/d' \
93 -e '/Warning: cxfs_server_init: direct map disabled/d' \
94 -e '/Warning: kmeminit: cannot change to group "sys": Operation not permitted/d' \
95 -e '/Warning: cms_getstats: could not retrieve stats version Not supported/d' \
96 -e '/Warning: cms_getstats: could not retrieve stats version Invalid argument/d' \
97 -e '/Warning: cms_reload: No cms instrumentation in this kernel:/d' \
98 -e '/Error: Cannot open stat device \/hw\/tape/d' \
99 -e '/Note: computed HZ=/d' \
100 -e '/Warning: Symbol address mismatch between System.map/d' \
101 -e '/Warning: mismatch for .* between System.map/d' \
102 -e '/Warning: only reported first .* mismatches between System.map/d' \
103 -e '/Warning: proc.psinfo.wchan_s symbol names may not be accurate!/d' \
104 -e '/Warning: Valid System.map file not found!/d' \
105 -e '/Warning: proc.psinfo.wchan_s symbol names cannot be derived!/d' \
106 -e '/Warning: Addresses will be returned for proc.psinfo.wchan_s instead!/d' \
107 -e '/NOTICE: using ".*" for kernel symbols map/d' \
108 -e '/NOTICE: using kernel 2\.4 or earlier CPU types/d' \
109 -e '/NOTICE: using kernel 2\.6\.0 to 2\.6\.4 CPU types/d' \
110 -e '/NOTICE: using 64 bit CPU time types/d' \
112 -e '/Connected from.*Operations denied/{
120 /^active agent/ { state = 1 }
121 state == 2 && NF == 0 { state = 0 }
122 state == 2 { print base,$0; next }
124 state == 1 && /^=====/ { state = 2; base = NR+1 }' \
125 | LC_COLLATE=POSIX _POSIX2_VERSION=0 sort +0n -1 +2n -3 \
126 | sed -e 's/^[^ ]* //'
131 _filter_pmlogger_log()
134 -e 's/[A-Z][a-z][a-z] [A-Z][a-z][a-z] *[0-9][0-9]* [0-9][0-9]:[0-9][0-9]:[0-9][0-9] [0-9][0-9][0-9][0-9]$/DATE/' \
135 -e 's/[A-Z][a-z][a-z] [A-Z][a-z][a-z] *[0-9][0-9]* [0-9][0-9]:[0-9][0-9]:[0-9][0-9]/DATE/' \
136 -e 's/pmlogger([1-9][0-9]*) Error:/pmlogger(PID) Error:/' \
137 -e '/^pmlogger: Signalled (signal=[1-9][0-9]*).*/d' \
138 -e '/^preprocessor cmd: /d' \
139 -e '/^\(Log for pmlogger on\) [^ ][^ ]*/s//\1 HOST/' \
140 -e '/^Starting logger/s/host ".*/host "HOST"/' \
141 -e '/^Archive basename: /s/:.*/: ARCHIVE/' \
142 -e '/^pmlc request/s/ from .*:/ from HOST:/'
150 -e 's/[A-Z][a-z][a-z] [A-Z][a-z][a-z] *[0-9][0-9]* [0-9][0-9]:[0-9][0-9]:[0-9][0-9] [0-9][0-9][0-9][0-9]/DATE/' \
151 -e 's/[A-Z][a-z][a-z] [A-Z][a-z][a-z] *[0-9][0-9]* [0-9][0-9]:[0-9][0-9]:[0-9][0-9]/TIMESTAMP/' \
152 -e '/^\(Log for pmie on\) [^ ][^ ]*/s//\1 HOST/' \
153 -e 's/^pmie: PID = [0-9][0-9]*, via .*/pmie: PID,HOST/g' \
154 -e 's/^pmie: PID = [0-9][0-9]*, default host = .*/pmie: PID,HOST/g' \
155 -e '/pmie(.*) Info: pmie caught SIGINT or SIGTERM/d' \
156 -e '/pmie([0-9][0-9]*)/s//pmie(PID)/' \
157 -e '/^pmie: /s/- on line/- near line/'
161 fgrep "evaluator exiting" | \
162 sed -e 's/.* Info: evaluator exiting/pmie: note - evaluator exiting/g'
166 egrep -v '^Log finished |^Log for pmie on ' \
167 | $PCP_AWK_PROG '{ if (NF > 0) print }' \
169 -e 's/.*Info: evaluator exiting/pmie: note - evaluator exiting/g' \
170 -e '/^pmie: /s/- on line/- near line/'
178 -e 's/[A-Z][a-z][a-z] [A-Z][a-z][a-z] *[0-9][0-9]* [0-9][0-9]:[0-9][0-9]:[0-9][0-9] [0-9][0-9][0-9][0-9]$/DATE/' \
179 -e 's/[A-Z][a-z][a-z] [A-Z][a-z][a-z] *[0-9][0-9]* [0-9][0-9]:[0-9][0-9]:[0-9][0-9]\.[0-9][0-9][0-9] [0-9][0-9][0-9][0-9]$/DATE/' \
180 -e '/[0-9][0-9]:[0-9][0-9]:[0-9][0-9]/s/[^ ]*/TIMESTAMP/' \
181 -e '/^\(Performance metrics from host\) [^ ][^ ]*/s//\1 HOST/' \
182 -e '/^archive:/s/\( *\).*/\1ARCHIVE/' \
183 -e '/^host:/s/\( *\).*/\1HOST/'
191 -e 's/^[A-Z][a-z][a-z] [A-Z][a-z][a-z] *[0-9][0-9]* [0-9][0-9]:[0-9][0-9]:[0-9][0-9]/DATE/'
194 # some common -D diagnostics
199 -e '/^__pmLogSetTime(/s/[0-9][0-9]:[0-9][0-9]:[0-9][0-9]\.[0-9][0-9][0-9]/TIMESTAMP/g' \
200 -e '/^__pmLogRead:/s/[0-9][0-9]:[0-9][0-9]:[0-9][0-9]\.[0-9][0-9][0-9]/TIMESTAMP/g'
203 # cull the optional PMDA
205 _filter_optional_pmdas()
214 -e '/pmdabonding/d' \
215 -e '/pmdabrocade/d' \
221 -e '/pmda_environ/d' \
222 -e '/pmdaelasticsearch/d' \
223 -e '/pmdaespping/d' \
225 -e '/pmdagluster/d' \
227 -e '/pmdahotproc/d' \
229 -e '/pmdainfiniband/d' \
231 -e '/pmdainfmxping/d' \
237 -e '/pmdalibvirt/d' \
240 -e '/pmdalmsensors/d' \
241 -e '/pmdalockstat/d' \
243 -e '/pmdamaillog/d' \
245 -e '/pmdamemcache/d' \
252 -e '/pmdanetfilter/d' \
253 -e '/pmdanetprobe/d' \
255 -e '/pmdanfsclient/d' \
258 -e '/pmdaperfevent/d' \
261 -e '/pmdaoraping/d' \
266 -e '/pmdaprocess/d' \
268 -e '/pmdarsyslog/d' \
269 -e '/pmdaroomtemp/d' \
271 -e '/pmdasendmail/d' \
273 -e '/pmda_simple/d' \
278 -e '/pmdasummary/d' \
279 -e '/pmdasystemd/d' \
280 -e '/pmdasystemtap/d' \
282 -e '/pmdasybping/d' \
284 -e '/pmdatrivial/d' \
289 -e '/pmdawebping/d' \
297 # cull the optional top-level PMNS entries
311 -e '/^ containers /d' \
313 -e '/^ datatape /d' \
319 -e '/^ elasticsearch /d' \
326 -e '/^ infmxping /d' \
327 -e '/^ informix /d' \
334 -e '/^ lmsensors /d' \
338 -e '/^ memcache /d' \
343 -e '/^ netfilter /d' \
344 -e '/^ netprobe /d' \
346 -e '/^ nfsclient /d' \
350 -e '/^ perfevent /d' \
356 -e '/^ postgresql /d' \
361 -e '/^ sendmail /d' \
370 -e '/^ sysother /d' \
372 -e '/^ systemtap /d' \
385 # handle pmDumpResult() output
390 -e '/pmResult/s/ .* numpmid/ ... numpmid/' \
391 -e '/[0-9][0-9]:[0-9][0-9]:[0-9][0-9]/s/[^ ]*/TIMESTAMP/' \
393 s/\(value.*\) 0x[0-9a-f][0-9a-f]*/\1 HEXNUMBER/
394 s/\(value.*\) -*[0-9][0-9]*\.[0-9][0-9]*e[+-]*[0-9][0-9]*/\1 NUMBER/
395 s/\(value.*\) -*[0-9][0-9]*\.[0-9][0-9]*/\1 NUMBER/
396 s/\(value.*\) -*[0-9][0-9]*\.[0-9][0-9]*/\1 NUMBER/
397 s/\(value.*\) -*[0-9][0-9]*e[+-]*[0-9][0-9]*/\1 NUMBER/
398 s/\(value.*\) -*[0-9][0-9]*/\1 NUMBER/
399 s/\(value.*\) \[.*]/\1 AGGREGATE/
400 s/\(value.*\) ".*"/\1 STRING/
403 s/inst \[[0-9][0-9]* or "dks..."]/inst [DISK]/
404 s;inst \[[0-9][0-9]* or "/dev/[^"]*"];inst [DISK];
409 _filter_cron_scripts()
412 -e 's/cron\.pmcheck/PMLOGGER.CHECK/g' \
413 -e 's/pmlogger_check/PMLOGGER.CHECK/g' \
414 -e 's/pmlogger\.check/PMLOGGER.CHECK/g' \
415 -e 's/cron\.pmdaily/PMLOGGER.DAILY/g' \
416 -e 's/pmlogger_daily/PMLOGGER.DAILY/g' \
417 -e 's/pmlogger\.daily/PMLOGGER.DAILY/g' \
418 -e 's/cron\.logmerge/PMLOGGER.MERGE/g' \
419 -e 's/cron\.pmlogmerge/PMLOGGER.MERGE/g' \
420 -e 's/pmlogger\.merge/PMLOGGER.MERGE/g' \
421 -e 's/pmlogger_merge/PMLOGGER.MERGE/g' \
422 -e 's/cron\.pmsnap/pmsnap/g'
428 -e "s;$PCP_LOG_DIR/pmcd/pmcd.log;\$PCP_LOG_DIR/pmcd.log;" \
429 -e "s;$PCP_LOG_DIR/pmcd.log;\$PCP_LOG_DIR/pmcd.log;" \
430 -e "s;$PCP_RC_DIR/pmcd;\$PCP_RC_DIR/pmcd;" \
431 -e "s;$PCP_RC_DIR/pmlogger;\$PCP_RC_DIR/pmlogger;" \
432 -e "s;$PCP_RC_DIR/pcp;\$PCP_RC_DIR/pmcd;" \
433 -e '/$PCP_RC_DIR\/pmcd/{
436 -e "s;$PCP_BINADM_DIR/pmcd;\$PCP_BINADM_DIR/pmcd;" \
437 -e "s;$PCP_PMCDCONF_PATH;\$PCP_PMCDCONF_PATH;" \
438 -e "s;$PCP_PMLOGGERCONTROL_PATH;\$PCP_PMLOGGERCONTROL_PATH;" \
439 -e "s;$PCP_PMLOGGERCONTROL_PATH.d/local;\$PCP_PMLOGGERCONTROL_PATH;" \
440 -e "s;$PCP_VAR_DIR/;\$PCP_VAR_DIR/;" \
441 -e "s;$PCP_SYSCONF_DIR/;\$PCP_SYSCONF_DIR/;" \
442 -e "s;/usr/etc/pmcd;\$PCP_BINADM_DIR/pmcd;" \
443 -e '/Warning: Forcing PMCD to terminate!/s/PMCD/pmcd/' \
444 -e '/^Starting PCP$/d' \
445 -e 's/^\(Performance Co-Pilot starting .*\.\.\.\) *\(\$PCP_RC_DIR\)/\1\
447 -e '/^Performance Co-Pilot/s/\.\.\. *$/.../' \
448 -e '/^Performance Co-Pilot starting/{
449 s/\.\.\.[. ]*done/.../
450 s/\.\.\.[. ]*failed/.../
451 s/Performance Co-Pilot starting PMCD (logfile is [^)]*) .../Starting pmcd ... /
452 s/Performance Co-Pilot starting archive loggers .../Starting pmlogger ... /
454 -e '/^Starting pmcd/{
455 s/\.\.\. \.\.done/... /
457 -e '/^Starting pmlogger/{
458 s/\.\.\. \.\.done/... /
460 -e '/^Performance Co-Pilot installing/s//Installing/' \
461 -e '/^\.[. ]*done$/d' \
462 -e '/^\.[. ]*failed$/d' \
463 -e '/^Waiting for PMCD/{
465 s/\.\.\.[. ]*done/.../
468 -e '/^Waiting for pmcd/{
469 s/\.\.\.[. ]*done/.../
472 -e 's/^\(Waiting .*\.\.\.\)\(\$PCP_RC_DIR\)/\1\
475 -e '/is not a native service, redirecting to .*chkconfig/d' \
476 -e '/^Executing .*chkconfig pm.* --level=5/d' \
477 -e '/Failed to create avahi client: Daemon not running/s/\[.*] .* running//' \
478 | _filter_init_distro
484 -e '/Stopping pmlogger .../d' \
485 -e '/^Waiting for PMIE/s/PMIE/pmie/' \
486 -e '/^Waiting for pmie/s/\.\.\.[. ]*done/.../' \
487 -e '/^Waiting for PMCD/{
488 s/\.\.\.[. ]*done/.../
492 -e '/^Waiting for pmcd/{
493 s/\.\.\.[. ]*done/.../
496 -e '/Warning: Forcing PMCD to terminate!/s/PMCD/pmcd/' \
497 -e '/^Waiting for pmie/s/\.\.\. *$/.../' \
498 -e '/^Performance Co-Pilot/s/\.\.\. *$/.../' \
499 -e '/^\.[. ]*done$/d' \
500 -e '/is not a native service, redirecting to .*chkconfig/d' \
501 -e '/^Executing .*chkconfig pm.* --level=5/d' \
502 -e "s;$PCP_RC_DIR/pmcd;\$PCP_RC_DIR/pmcd;" \
503 -e "s;$PCP_RC_DIR/pmlogger;\$PCP_RC_DIR/pmlogger;" \
504 | _filter_init_distro
507 _filterall_pcp_start()
511 -e '/rebuilding PMNS/d' \
518 -e '/^Waiting for PMIE/s/PMIE/pmie/' \
519 -e '/^Waiting for pmie process(es) to terminate/d' \
520 -e "s;$PCP_RC_DIR/pmie;\$PCP_RC_DIR/pmie;g" \
521 -e '/(pmie) is disabled/d' \
523 -e '/update-rc.d -f pmie remove/d' \
524 -e '/update-rc.d pmie defaults/d' \
525 -e '/\/sbin\/chkconfig pmie on/d' \
526 -e '/\/usr\/sbin\/sysv-rc-conf pmie on/d' \
527 -e '/update-rc.d -f pmie defaults/d' \
528 -e '/ln -sf \.\.\/init.d\/pmie \/etc\/rc\.d\//d' \
529 -e '/systemctl enable pmie.service/d' \
530 -e "s;$PCP_PMIECONTROL_PATH;\$PCP_PMIECONTROL_PATH;" \
531 -e '/^\.\.*done$/d' \
532 -e "s;/private/tmp;/tmp;g" \
534 | _filter_init_distro
540 -e "s;$PCP_RC_DIR/pmie;\$PCP_RC_DIR/pmie;g" \
541 -e '/^Waiting for PMIE/s/PMIE/pmie/' \
542 -e '/^Waiting for pmie/s/\.\.\.[. ]*done/.../' \
543 -e '/^Waiting for pmie/s/\.\.\. *$/.../' \
544 | _filter_init_distro
547 _filter_pmproxy_start()
550 -e '/^Waiting for pmproxy to terminate/d' \
551 -e "s;$PCP_RC_DIR/pmproxy;\$PCP_RC_DIR/pmproxy;g" \
552 -e '/(pmproxy) is disabled/d' \
554 -e '/update-rc.d -f pmproxy remove/d' \
555 -e '/update-rc.d pmproxy defaults/d' \
556 -e '/\/sbin\/chkconfig pmpmroxy on/d' \
557 -e '/\/usr\/sbin\/sysv-rc-conf pmproxy on/d' \
558 -e '/update-rc.d -f pmproxy defaults/d' \
559 -e '/ln -sf \.\.\/init.d\/pmproxy \/etc\/rc\.d\//d' \
560 -e '/systemctl enable pmproxy.service/d' \
561 -e '/^\.\.*done$/d' \
562 -e "s;/private/tmp;/tmp;g" \
564 | _filter_init_distro
567 _filter_pmproxy_stop()
570 -e "s;$PCP_RC_DIR/pmproxy;\$PCP_RC_DIR/pmproxy;g" \
571 -e '/^Waiting for pmproxy/s/\.\.\.[. ]*done/.../' \
572 -e '/^Waiting for pmproxy/s/\.\.\. *$/.../' \
573 | _filter_init_distro
579 egrep '(^Descriptions)|(^$)' $tmp.tmp
580 $PCP_AWK_PROG <$tmp.tmp '
581 /^Descriptions/ { next }
583 $1 == "PMID:" { printf "%s|",$0; next }
584 $1 == "Data" { printf "%s|",$0; next }
586 | LC_COLLATE=POSIX _POSIX2_VERSION=0 sort -t'(' +1 -2 \
591 _filter_pmda_install()
594 -e 's/.* \(hash table entries\)/ NNN \1/' \
595 -e 's/.* \(non-leaf nodes\)/ NNN \1/' \
596 -e 's/.* \(leaf nodes\)/ NNN \1/' \
597 -e 's/.* \(bytes of symbol table\)/ NNN \1/' \
598 -e '/^Installing .mchart view*/d' \
599 -e '/Terminate PMDA/,/Updating the PMCD/c\
600 Terminate PMDA if already installed ...\
601 [...install files, make output...]\
602 Updating the PMCD control file, and notifying PMCD ...' \
603 -e '/Installing files/,/Updating the Performance Metrics/c\
604 Installing files ...\
605 [...install files, make output...]\
606 Updating the Performance Metrics Name Space (PMNS) ...'
609 _filter_pmda_remove()
611 _filter_pmda_install |
613 -e '/Removing files/d' \
614 -e '/Updating the PMCD control file/c\
615 Updating the PMCD control file, and notifying PMCD ...\
616 [...removing files...]'
619 # Make sure that quotes which span multiple lines get appended onto
620 # the one line, separated by \\n (instead of newlines).
621 # This allows for easier sed processing.
622 # BUG: problem handling a single " which isn't supposed to match,
623 # say in a comment or pattern search
624 # Partial solution: filter out: /"/
628 sed -e 's#/"/#/dbl-quote/#g' |\
630 /"/ { # unfinished quote - start or end
631 n = split($0, arr, /"/)
632 if ( (n % 2) == 0) { # odd number of quotes
633 line[line_num++] = $0
636 for(i=0;i<=line_num;i++){
637 printf("%s\\n", line[i])
652 line[line_num++] = $0
660 # concat lines between inst/value pairs
662 # inst ... value XXXX
667 # inst ... value XXXX\\nYYYYYYY
673 function print_line() {
675 for(i=0;i<line_num-1;i++){
676 printf("%s\\n", line[i])
678 printf("%s", line[line_num-1]);
683 $1 == "inst" && $2 ~ /^\[/ {
685 line[line_num++] = $0
688 # terminate run of inst...value ".... extending over multiple
689 # lines with a line ending in a ", or a line introducing new
691 /"$/ && line_num > 0 {
692 line[line_num++] = $0
696 ( (/proc\./ && /numval/ && /valfmt/) || /^proc\./ ) \
703 line_num>0 { # continuation of value
704 line[line_num++] = $0
714 _filter_torture_api()
717 -e '/Name space load/d' \
718 -e '/PMAPI operations/s/[0-9][0-9]* PMAPI/N PMAPI/' \
720 | _filter_dumpresult \
721 | sed -e '/PM_ID_NULL/{
722 /No values returned!/s//No PMDA, no values [filtered]/
723 /No PMCD agent for domain of request/s//No PMDA, no values [filtered]/
725 -e '/kernel\.all\.pswitch/s/valfmt: [01]/valfmt: 0-or-1/' \
726 -e '/kernel\.all\.cpu/s/valfmt: [01]/valfmt: 0-or-1/' \
727 -e '/^ hostname /d' \
729 -e '/^ services /d' \
742 -e '/^ infiniband /d' \
745 -e '/^ kpreempt /d' \
753 -e '/^ netfilter /d' \
754 -e '/^ nfsclient /d' \
761 -e '/^ roomtemp /d' \
765 -e '/^ softtemp /d' \
768 -e '/^ sysioctl /d' \
781 -e 's/.* \(hash table entries\)/ NNN \1/' \
782 -e 's/.* \(non-leaf nodes\)/ NNN \1/' \
783 -e 's/.* \(leaf nodes\)/ NNN \1/' \
784 -e 's/.* \(bytes of symbol table\)/ NNN \1/' \
785 -e '/Performance Co-Pilot starting/d'
791 -e 's/^host [^ :]*:/host <host>:/'
797 -e 's/^ *[0-9]*\.[0-9][0-9]/<timestamp>/' \
799 -e 's/0x[0-9a-f]*/<addr>/' \
800 -e 's/src=[^ ]*/src=<host>/' \
801 -e '/Tab::updateTimeAxis:/s/used .*/used .../'
807 -e "s,^Load View: $PCP_VAR_DIR,Load View: PCP_VAR_DIR," \
808 -e '/QGtkStyle was unable to detect the current GTK+ theme\./d' \
809 -e '/GConf-WARNING \*\*: Client failed to connect to the D-BUS/d' \
810 -e '/Failed to connect to socket .*dbus.*: Connection refused/d' \