Hi All,
I want to write a code to get CPU Statistics.
My goal is write a code that collect some system statistics and with it I can do some predictions.
How is the better way? A friend told me to use the information in /proc...
See you,
Hi All,
I want to write a code to get CPU Statistics.
My goal is write a code that collect some system statistics and with it I can do some predictions.
How is the better way? A friend told me to use the information in /proc...
See you,
it wud be better if u cud specify what exactly u r looking for..
In the middle of difficulty, lies opportunity
ok!
I work making capacity planning and performance analysis, so for all capacity planning or performance analysis I need to get a lot of information about the load of the system, then I need to cross information about the operating system with information about Oracle(among of sessions, how much CPU time the session consume), for example.
I'm tired to do this manually, so I decided to write a system to do it for me.
My idea is:
- Write a agent to collect all information that I need;
- Write a server to receive all information collected by agent;
- The server will do the analysis based on information collected;
- And at the end, the server will generate a report;
I'm a Science of Computer stundant, so, at the end of my course, I want to show this software to get my graduation.
Thanks,
Rodrigo Nascimento
PS: Sorry for my poor english
Do you know about /proc/cpuinfo and the other /proc entries? I'm not sure what you want, but it is a start.
http://www.advancedlinuxprogramming.com/alp-folder
Read the chapter 7, it will be very useful i think!