hello every one!!

i want to build a web page which will show the output same (top) command shows in linux... only difference is that i want to show it on browser by using any language.... The main thing that i need is ,, the list of files that top command uses to show output....

plzzz help me,, waiting for reply........

thxxxxx in advance