3 # Check that Global clause is detected
6 echo "QA output created by $seq"
8 status
=0 # success is the default!
10 trap "_cleanup_qt; exit \$status" 0 1 2 3 15
13 which pmchart
>/dev
/null
2>&1 || _notrun
"pmchart not installed"
15 # real QA test starts here
17 cat <<End-of-File | pmchart -Dappl2 -C -c - 2>&1 | _filter_views
19 Version 1.1 host dynamic
25 Chart Title "Memory Usage" Style stacking
27 Optional-Plot Color #f8ff00 Host * Metric mem.util.kernel
28 Optional-Plot Color #00ffff Host * Metric mem.util.fs_ctl
29 Optional-Plot Color #ff0000 Host * Metric mem.util.fs_dirty
30 Optional-Plot Color #fe00ff Host * Metric mem.util.fs_clean
31 Optional-Plot Color #0000fd Host * Metric mem.util.user
34 Plot Color #00ff00 Host * Metric mem.util.free
37 Optional-Plot Color #fefe32 Host * Metric mem.util.mapped
38 Optional-Plot Color #fe68ad Host * Metric mem.util.bufmem
39 Optional-Plot Color #00f1ea Host * Metric mem.util.pageTables
40 Optional-Plot Color #e873e4 Host * Metric mem.util.slab
41 Optional-Plot Color #327ffe Host * Metric mem.util.cached
42 Optional-Plot Color #007f00 Host * Metric mem.util.other
44 Chart Title "Dirty Buffers" Style stacking
45 Optional-Plot Color #fe3732 Host * Metric mem.util.dirty
46 Optional-Plot Color #ff8900 Host * Metric mem.util.writeback
47 Optional-Plot Color #008900 Host * Metric mem.util.cache_clean