所以,我需要运行这个命令:
vnstat -tr但是作为我刚刚创建的用户,不是根用户,作为root用户,它工作得很好,但是作为一个普通用户,我得到了以下信息:
Error: Unable to get interface "eth0" statistics.
Error: Interface "eth0" not available, exiting.操作系统: Debian Linux 6.0.6
发布于 2013-08-27 13:10:43
问题在于grsecurity锁定/proc/net/dev无法被用户查看。解决方案是将ovhs内核的级别从3.10.X降到3.8.13。
https://stackoverflow.com/questions/18447757
复制相似问题