#!/bin/sh # # Recipe to recreate the interpmark archive # # Final archive is # section-a # # section-b # # section-c # # [nothing] # # section-d # # section-a contains metrics from this matrix # semantics { counter, discrete, instant } x # type { 32-bit, 64-bit } x # instances { singular, indom } x # sample intervals { 500msec, 2sec, 10sec (once or 2sec for discrete) } # for a total time of 35 seconds # # metric semantics type indom sample # disk.dev.read counter U64 60.1 500msec # disk.dev.write counter U64 60.1 2sec # disk.dev.total counter U64 60.1 10sec # disk.all.read counter U64 NULL 500msec # disk.all.write counter U64 NULL 2sec # disk.all.total counter U64 NULL 10sec # disk.dev.read_bytes counter U32 60.1 500msec # disk.dev.write_bytes counter U32 60.1 2sec # disk.dev.total_bytes counter U32 60.1 10sec # disk.all.read_bytes counter U32 NULL 500msec # disk.all.write_bytes counter U32 NULL 2sec # disk.all.total_bytes counter U32 NULL 10sec # # filesys.used instant U64 60.5 500msec # sample.longlong.bin instant 64 29.2 2sec # filesys.free instant U64 60.5 10sec # sample.longlong.one instant 64 NULL 500msec # swap.length instant U64 NULL 2sec # mem.util.kernelStack instant U64 NULL 10sec # filesys.usedfiles instant U32 60.5 500msec # swapdev.free instant U32 60.6 2sec # pmcd.buf.alloc instant 32 2.5 10sec # sample.control instant 32 NULL 500msec # kernel.all.uptime instant U32 NULL 2sec # network.tcpconn.close instant U32 NULL 10sec # # filesys.capacity discrete U64 60.5 2sec # tmpfs.capacity discrete U64 60.18 once # # mem.physmem discrete U64 NULL 2sec # # filesys.capacity discrete U32 60.5 2sec # hinv.cpu.cache discrete U32 60.0 once # filesys.maxfiles discrete U32 60.5 once # hinv.physmem discrete U32 NULL 2sec # hinv.pagesize discrete U32 NULL once # hinv.ncpu discrete U32 NULL once # # section-b and section-d are the same as section-a (same pmlogger config) # # section-c contains only one sample for the 500msec sampling data # tmp=/var/tmp/$$ trap "rm -f $tmp.*; exit 0" 0 1 2 3 15 cat >$tmp.conf <$tmp.conf.c <