Skip to content

meanother/wg-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wireguard lite monitoring

sqlite3.37 on Ubuntu

cd ~ ;\
wget https://github.com/nalgeon/sqlite/releases/download/3.38.0/sqlite3-ubuntu ;\
mv sqlite3-ubuntu sqlite3 ;\
chmod +x sqlite3

Run

python main.py --users_path /path/to/clients/keys

Check stats

~/sqlite3 $HOME/db/wg-stats.db -box

Check stats hotkey

vim $HOME/check.sh

$HOME/code/wg-stats/env/bin/python $HOME/code/wg-stats/main.py --users_path /root/clients/ > /dev/null ;\
$HOME/sqlite3 -box $HOME/db/wg-stats.db -box "select * from v_stats;" ".q"

chmod +x check.sh
vim .zshrc
alias pp="$HOME/check.sh"

source .zshrc
# RUN
pp

img

About

wireguard lite monitoring

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published