LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs > bulliver
User Name
Password

Notices


Rate this Entry

sysinfo.py - I need you help

Posted 04-02-2006 at 05:02 AM by bulliver

As I mentioned in my last post, I have written a python script that prints detailed information about a Linux system to the console. My idea is that it might help to provide quick and easy access to configuration and whatnot to troubleshoot systems, both familiar, and a new system you know nothing about.

I need some help though, especially from Debian users. One of the things the script does is sniff the distro, and then list all officially installed packages based on that information. So: it prints packages for Gentoo, Arch, and a few RPM distros (ie: Fedora, SuSe, Redhat). I would like to know what other distros use RPM, so if you can tell me that it would be great. I also need to see an example <strong>/etc/*-release</strong> for this to be useful.

Also, I don't run either Debian or Ubuntu, so I would like to know what dpkg command will list all the installed packages. I also need some example output so I can parse it with python. Slackware? Does slack even have a package manager? Jeez, I don't know.

There are a few other things that could help me too, most notably <strong>/proc/cpuinfo</strong> output for dual cpu systems, and some example output that details SATA hard drives. I have listed a few more things as well on my website. So please have a look at the <a href="http://badcomputer.org/unix/code/sysinfo.bot">script</a>, download it and run it, and try to get a sense of what I'm trying to do, and if you think you can help me attain those ends, feel free to leave a note here or just email me.

Thanks,
That is all.
Posted in Uncategorized
Views 1948 Comments 0
« Prev     Main     Next »

  



All times are GMT -5. The time now is 01:45 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration