Reputation: 897
Recently,I am making a system program(application) to monitor cpu frequency info.I found that we can use cpuinfo to dump each cpu in mobile.But I don't want to use shell command to get these infos in my application.So I want to know how the cpuinfo command to get cpu infos,is there system call?
Upvotes: 1
Views: 466
Reputation: 69396
Just open and read from /proc/cpuinfo
in your application.
Upvotes: 2