Dear Edward, Do you have System Performance Tuning, 2nd Edition O'Reilly System Administration book in ebook format? or Where can i find that book? Regards Hussain M. Edward (Ed) Borasky wrote: > On Wed, 2008-09-17 at 18:17 +0900, Mohamed Hussain wrote: >> 4) To find the Hard Disk space(used/available) >> 5) To find the status of Service running (like MYSQL) >> >> I would like to know,how to write program. >> Is there any way to find all the information above mentioned using Ruby? > > Yes, but it is operating-system dependent. For most flavors of Unix, > including Linux, pick up the second edition of the "Swordfish Book", > (System Performance Tuning, 2nd Edition O'Reilly System Administration). > All the command line tools are documented there -- just write Ruby > scripts to run them and parse the output. > > Similar tools exist for Windows, but I don't have a book I can > recommend. > -- > M. Edward (Ed) Borasky > ruby-perspectives.blogspot.com > > "A mathematician is a machine for turning coffee into theorems." -- > Alfr¥Æ¥¥d R¥Æ¥¥nyi via Paul Erd¥ÊÁÔ -- Posted via http://www.ruby-forum.com/.