I want a way to display all internals server based information of WSS 3.0 like Hard disk space, RAM usage, etc in form of a Webpart....Is it possible?


  • Hi All Do you know of any webparts which displays server-based information?? I think I can create a site for admins, which displays the information in webparts! I would like to avoid software to be installed on my laptop for server information. – neo269 Aug 23 '10 at 13:45

Assuming you already know how to write a web part, it is just a matter of querying the information you are interested in using WMI.

Plenty of examples on Google.

  • Unfortunately, I dont know how to write a webpart. I can just download & install then :) Can you please help me for this particular requirement? Thx for help!! – neo269 Aug 23 '10 at 14:44
  • 1
    Once again, Google (or Bing!) is your friend: datasprings.com/Resources/ArticlesInformation/… – James Love Aug 23 '10 at 14:56
  • Goof Article. Thx! – neo269 Aug 24 '10 at 6:15

Yes you can use the PerfMon api under the System.Diagnostics.PerformanceCounter namespace. Through this you can get all the desired information of the server where this web part would be hosted.

Just launch the Performace MMC on your machine (RUN->PerfMon) and look for the right counter name.

I think Sahil Malik has done a cool video aroud the same. Just google it out!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.