Thanks Eric. I'll try that out. Cheers Krishna
-----Original Message----- From: Petit Eric [mailto:[EMAIL PROTECTED] Sent: Sunday, 30 March 2008 11:05 PM To: Krishna Nadiminti Cc: [email protected] Subject: Re: [Mono-list] Getting CPU, Disk, RAM information using P/Invoke or other technique in C# using Mono with Linux 2008/3/19, Krishna Nadiminti <[EMAIL PROTECTED]>: > > > Hi all, > > I'm looking to get CPU, Disk, RAM usage (and total availability) > information using C# on Mono and Linux. > > I know that there are some .NET framework classes that give some of > the information, but some of them are not yet implemented in Mono. > > I've searched a good bit on google and nabble ->mono forums but it > looks like I'm searching using the wrong keywords. > > I'm not a Linux/C programmer, and so I'm unaware of the p/invoke > possibilities with Linux. I've no idea which lib*.so files have what > functions exported. > > If I can find managed code libraries that help me to do what I > mentioned above - great! Otherwise, I'd like some pointers to how it can be done. > (p/invokes for example?) > > It'll be great if one of you guys with knowledge in Linux + C#/.NET > could help me out. > > Thanks! > > ps. Thanks to all the guys @ Novell and the community - Mono has > surprised me and many others in how far it has come in such a short time! Great work! > > Cheers > Krishna Damed, mono list email is never in first position here is my reponse where only JP Trosclaire had : " In the "bigest lines" System.threading.thread.process.start("lshw>~/tmp/info.txt") or "lshw",">~/tmp/info.txt" ; String AllInfo = System.IO.ReadAllText("lshw>~/tmp/info.txt") " _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
