1. Get the current application's permission
"getuid()"
"geteuid()"
2. turbostat: https://github.com/torvalds/linux/blob/master/tools/power/x86/turbostat/turbostat.c
1. Get the current application's permission
"getuid()"
"geteuid()"
2. turbostat: https://github.com/torvalds/linux/blob/master/tools/power/x86/turbostat/turbostat.c
No comments:
Post a Comment