Searched hist:"98481 e79" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/power/x86/turbostat/ |
H A D | turbostat.c | 98481e79 Thu Aug 14 23:36:50 CDT 2014 Len Brown <len.brown@intel.com> tools/power turbostat: relax dependency on root permission
For turbostat to run as non-root, it needs to permissions:
1. read access to /dev/cpu/*/msr via standard user/group/world file permissions
2. CAP_SYS_RAWIO eg. # setcap cap_sys_rawio=ep turbostat
Yes, running as root still works.
Signed-off-by: Len Brown <len.brown@intel.com>
|