Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello Everybody,
I am a student. I want to create a program that can track the linux system performances. Please reply me. How can I do it?????
Posted
Updated 6-Apr-11 2:25am
v2

You may run an instance of the linux command (see "How to run command-line or execute external application from Java"[^]) top[^] (that provides such info) and capture its output.
:-)
 
Share this answer
 
Linux system performance information can be found by reading the pseudo-files in the /proc filesystem. Run the command man 5 proc to see your Linux machine's builtin documentation for the /proc entries. See also: http://www.linuxinsight.com/proc_filesystem.html[^] http://www.linux.com/archive/feature/126718[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900