docs: tweak formatting in pmrep(1) archive folio example
[pcp.git] / qa / disk-work
blob4883b0147d77ab50968d09b07681e72ae38a53e0
1 #! /bin/sh
2 # helper script for testing totals for disk metrics
4 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
7 . $PCP_DIR/etc/pcp.conf
9 KILL_PID=
11 cleanup()
13 if [ "X$KILL_PID" != X ]
14 then
15 $signal -s TERM $KILL_PID
16 KILL_PID=
20 trap "cleanup; exit" 0 1 2 3 15
21 signal=$PCP_BINADM_DIR/pmsignal
23 while true
25 ls -R / >/dev/null 2>/dev/null &
26 KILL_PID=$!
27 wait
28 done