2020-08-07 11:06:58 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2020-08-07 11:14:23 +02:00
|
|
|
#set -e
|
|
|
|
. /usr/lib/eole/diagnose.sh
|
|
|
|
EchoGras "*** Service de statistique réseau"
|
|
|
|
|
2020-08-07 11:06:58 +02:00
|
|
|
if [ "$(CreoleGet activer_vnstat)" = "oui" ]; then
|
|
|
|
TestPid vnStat vnstatd
|
|
|
|
echo
|
|
|
|
vnstat
|
2020-08-07 11:14:23 +02:00
|
|
|
else
|
|
|
|
Inactif vnStat
|
2020-08-07 11:06:58 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
echo
|
|
|
|
exit 0
|