Add more instructions to README
This commit is contained in:
parent
0d48dc3a31
commit
770d13a77a
14
README.md
14
README.md
@ -1,2 +1,16 @@
|
||||
# Load smartmontools attrlog files to PostgreSQL
|
||||
For luls and pretty Grafana graphs
|
||||
|
||||
# Setup
|
||||
|
||||
python3 -m venv venv
|
||||
source venv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
|
||||
# Create tables
|
||||
|
||||
./attrlogimport.py
|
||||
|
||||
# Importing data
|
||||
|
||||
find /var/lib/smartmontools -name 'attrlog.*' | xargs -n1 -P8 ./attrlogimport.py
|
||||
|
Loading…
Reference in New Issue
Block a user