linux pptpd vpn查看当前在线用户
linux安装了pptpd vpn服务器,可使用last查看:
last | grep still | grep ppp
回车后可以看到:
[root@iZ62unea9cgZ ~]# last | grep still | grep ppp mycard ppp1 44.55.44.55 Wed Oct 11 18:13 still logged in
查看在线用户别名
如果你觉得繁琐,你可以将它写到环境变量中.
# cat /etc/profile | grep vpn alias ttlsavpn='last | grep still | grep ppp'
使用ttlsavpn命令
2017/10/12 9:35:00 技术杂谈