ColtSeals
(usa Ubuntu)
Enviado em 11/06/2018 - 19:29h
OpenVPN CLIENT LIST
Updated,Mon Jun 11 09:37:13 2018
Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since
egnaldo,127.0.0.1:36632,30283,107993,Mon Jun 11 09:18:16 2018
juniornerd,127.0.0.1:36639,71372,68067,Mon Jun 11 09:19:07 2018
paulinhovl,127.0.0.1:36634,1912088,10061135,Mon Jun 11 09:18:18 2018
nob,127.0.0.1:36646,1157801,4257009,Mon Jun 11 09:35:36 2018
valeria,127.0.0.1:36636,22021,32102,Mon Jun 11 09:18:22 2018
jon,127.0.0.1:36630,1614625,33293707,Mon Jun 11 09:18:12 2018
zim,127.0.0.1:36640,4169776,15213653,Mon Jun 11 09:19:29 2018
viviane,127.0.0.1:36637,27643,46871,Mon Jun 11 09:18:27 2018
ROUTING TABLE
Virtual Address,Common Name,Real Address,Last Ref
10.8.0.19,zim,127.0.0.1:36640,Mon Jun 11 09:37:12 2018
10.8.0.12,paulinhovl,127.0.0.1:36634,Mon Jun 11 09:37:12 2018
10.8.0.15,juniornerd,127.0.0.1:36639,Mon Jun 11 09:36:35 2018
10.8.0.11,valeria,127.0.0.1:36636,Mon Jun 11 09:36:20 2018
10.8.0.13,egnaldo,127.0.0.1:36632,Mon Jun 11 09:37:06 2018
10.8.0.18,nob,127.0.0.1:36646,Mon Jun 11 09:37:12 2018
10.8.0.20,viviane,127.0.0.1:36637,Mon Jun 11 09:31:09 2018
10.8.0.21,jon,127.0.0.1:36630,Mon Jun 11 09:37:12 2018
GLOBAL STATS
Max bcast/mcast queue length,0
END
Name,Bytes Received,Bytes Sent,Connected Since so queria essas informacoes e a conversao de data para contagem de tempo que cada usuario esta online. e que ficasse atualizando a cada 5 segundos e ao inves de bytes transformasse para MB o script que postei acima ja faz isso