mirror of
https://forge.chapril.org/tykayn/workflow
synced 2025-10-09 17:02:47 +02:00
add arbtt
This commit is contained in:
parent
95dce4f427
commit
b01d3808b7
2 changed files with 48 additions and 0 deletions
23
assets/arbtt/update
Executable file
23
assets/arbtt/update
Executable file
|
@ -0,0 +1,23 @@
|
|||
#!/bin/sh
|
||||
|
||||
CATEGORIZE_FILE="./categorize.cfg"
|
||||
CATEGORY="Graph"
|
||||
FILTER="\$sampleage <= 2922:00" # Last 4 months
|
||||
|
||||
arbtt-stats --categorizefile=$CATEGORIZE_FILE \
|
||||
--for-each=day \
|
||||
--output-format=CSV \
|
||||
--category=$CATEGORY \
|
||||
--min-percentage=0.1 \
|
||||
--filter="$FILTER" \
|
||||
> "/home/tykayn/Nextcloud/ressources/gestion de l information/arbtt/daily.csv"
|
||||
|
||||
arbtt-stats --categorizefile=$CATEGORIZE_FILE \
|
||||
--for-each=minute \
|
||||
--output-format=CSV \
|
||||
--category=$CATEGORY \
|
||||
--min-percentage=0.1 \
|
||||
--filter="$FILTER" \
|
||||
> "/home/tykayn/Nextcloud/ressources/gestion de l information/arbtt/minute.csv"
|
||||
|
||||
python3 readArbttStats.py -c 'misc' -d /tmp/daily.csv -m /tmp/minute.csv
|
Loading…
Add table
Add a link
Reference in a new issue