Sha256: 117f2b056f2d733321ae3f63274b765737edd387aba199f2ac262356995c1d00

Contents?: true

Size: 1.01 KB

Versions: 8

Compression:

Stored size: 1.01 KB

Contents

# beaker-benchmark

A tool for monitoring performance on a puppet infrastructure node while performing some actions.

# Usage
        # Monitor performance on the master while pe-puppetserver is starting up
        test_name('measure_perf_on_puppetserver_start') {
          on(master, 'puppet resource service pe-puppetserver ensure=stopped', true)
          measure_perf_on('start_pe-puppetserver', master) {
            on(master, 'puppet resource service pe-puppetserver ensure=running')
          }
        }

        # Example output:
        Action: measure_perf_on_puppetserver_start_start_pe-puppetserver, Duration: 37.463595
        Avg CPU: 172%, Avg MEM: 1634829, Avg DSK read: 0, Avg DSK Write: 45
        Additional output if include_processes:
          Process pid: 14067, command: '/opt/puppetlabs/server/apps/postgresql/bin/postgres -D /opt/puppetlabs/server/data/postgresql/9.6/data -c log_directory=/var/log/puppetlabs/postgresql'
              Avg CPU: '0', Avg MEM: 48888, Avg DSK read: 0, Avg DSK Write: 48888

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
beaker-benchmark-0.0.8 README.md
beaker-benchmark-0.0.7 README.md
beaker-benchmark-0.0.6 README.md
beaker-benchmark-0.0.5 README.md
beaker-benchmark-0.0.4 README.md
beaker-benchmark-0.0.3 README.md
beaker-benchmark-0.0.2 README.md
beaker-benchmark-0.0.1 README.md