Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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?

-saumil

share|improve this question
    
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. –  saumilm Aug 23 '10 at 13:45
add comment

3 Answers 3

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.

share|improve this answer
    
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!! –  saumilm 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! –  saumilm Aug 24 '10 at 6:15
add comment

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!

share|improve this answer
    
Oh.. got that for you dnrtv.com/default.aspx?showNum=142 –  Vivek Aug 23 '10 at 12:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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