diff options
author | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:17:40 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:19:39 (GMT) |
commit | adbcf19958300e9b6598990184c8815b945ba0ee (patch) | |
tree | f4283c850ac0ac202c17e78a637ee7ca8147621b /abs/extra-testing/graphload | |
parent | 61a68250df10d29b624650948484898334ff22d0 (diff) | |
download | linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2 |
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/extra-testing/graphload')
-rw-r--r-- | abs/extra-testing/graphload/PKGBUILD | 16 | ||||
-rwxr-xr-x | abs/extra-testing/graphload/graphload.sh | 17 |
2 files changed, 0 insertions, 33 deletions
diff --git a/abs/extra-testing/graphload/PKGBUILD b/abs/extra-testing/graphload/PKGBUILD deleted file mode 100644 index 6af2f95..0000000 --- a/abs/extra-testing/graphload/PKGBUILD +++ /dev/null @@ -1,16 +0,0 @@ -pkgname=graphload -pkgver=1 -pkgrel=1 -pkgdesc="command to graph the total CPU utilization for N-core systems for a given interval" -depends=('gnuplot>=4.2.5') -license='GPLv2' -arch=('i686') - -build() { - LH_ROOT=/usr/LH - mkdir -p $startdir/pkg/$LH_ROOT/bin/ - - cd $startdir - # executables - install -m0755 -D graphload.sh $startdir/pkg/$LH_ROOT/bin/ -} diff --git a/abs/extra-testing/graphload/graphload.sh b/abs/extra-testing/graphload/graphload.sh deleted file mode 100755 index 79023ec..0000000 --- a/abs/extra-testing/graphload/graphload.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -MYTICKS=100 -MYINTERVAL=4 # we sample once every $MYINTERVAL seconds -MYINVERSEINTERVAL=0.25 - -top -d $MYINVERSEINTERVAL -n $MYTICKS -b -i | grep Cpu | perl -e "while(<>) { split(','); \$load = 100 - substr @_[3], 0, -3; print \$load,\"\n\";}" > profile -perl -e '$second=0; while(<>) { chop(); $load = $_; print "$second $load "; split " ", $load; print @_[0] + @_[1], "\n"; $second+=0.25;}' < profile > points -echo "set grid -set xrange [0: $(($MYTICKS/$MYINTERVAL))] -set yrange [0: 101] -set xtics 0,$MYINVERSEINTERVAL,$(($MYTICKS/$MYINTERVAL)) -set xlabel \"time\" -set ylabel \"CPU usage\" -plot \"points\" using 1:2 with lines title 'total load' -replot" > gplot.cmds -gnuplot -persist gplot.cmds |