Merge branch 'master' of github.com:hanez/home
This commit is contained in:
commit
6fd8b511cd
29 changed files with 944 additions and 110 deletions
6
bin/jack.sh
Normal file
6
bin/jack.sh
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
pasuspender &
|
||||
|
||||
jackd -dalsa -r48000 -Xraw -D -Chw:U192k -Phw:U192k
|
||||
|
||||
10
bin/stats.sh
10
bin/stats.sh
|
|
@ -1,6 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
output="/var/www/localhost/htdocs/stats/"
|
||||
output="/var/www/systemchaos.org/www/htdocs/stats/"
|
||||
outputhanez="/var/www/hanez.org/www/htdocs/statistics/"
|
||||
nic="eth0"
|
||||
name=$(hostname)
|
||||
|
||||
|
|
@ -32,10 +33,11 @@ generate_index() {
|
|||
}
|
||||
|
||||
#if [ ! -f "$output"/index.html ]; then
|
||||
mkdir -p $output
|
||||
generate_index > "$output"/index.html
|
||||
# mkdir -p $output
|
||||
# generate_index > "$output"/index.html
|
||||
#fi
|
||||
|
||||
for type in fiveminutes hours hoursgraph days top months years summary hsummary vsummary; do
|
||||
vnstati --${type} -i $nic -o $output/${type}.png
|
||||
#vnstati --${type} -i $nic -o $output/${type}.png
|
||||
vnstati --${type} -i $nic -ne -o $outputhanez/${type}.png
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue