[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gathering system information



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Jun 02, 2016 at 10:30:33AM +0200, hdv@gmail wrote:
> On 2016-06-02 08:06, kamaraju kusumanchi wrote:
> > I am planning to develop a script that gathers all the _relevant_
> > system information for common configuration tasks such as sound,
> > graphics, wireless, network, printer etc.
> > 
> > Here is a proof of concept
> > https://gitlab.com/d3k2mk7/rutils/blob/master/debian_user/gather_system_info.py
> > which gathers information related to the sound task such as sound card
> > information, kernel modules loaded, debian version, kernel version
> > etc.,  Appendix shows a sample run on my system.
> > 
> > Similar things can be done for other tasks. For example, to address X
> > related issues, the script may parse Xorg.0.log for relevant errors,
> > show what graphics driver packages are installed, show information on
> > the graphics adapter etc.,
> > 
> > The general idea is that if a user is having trouble configuring these
> > tasks (ex:- sound/printer does not work), he can simply copy paste the
> > output of this single script in the email to debian-user mailing list
> > as opposed to gathering everything manually.
> > 
> > What do you think? Is it a useful/stupid idea? Any
> > feedback/comments/criticism are greatly appreciated (no matter how
> > small you think they are).
> 
> Part of what you want was already done by Karsten M. Self. I remember using a
> shell script by him in around 2002. You might try Google if you can find a copy
> of that script. I think it was called systeminfo.

Then there is Isenkram [1], by Petter Reinholdtsen. It strives for
desktop integration, thus it might have tons of dependencies, which
you might want or want not... but it sure is a source of inspiration.
There's much to learn from Petter, I think

regards

[1] http://people.skolelinux.org/pere/blog/Isenkram_with_PackageKit_support___new_version_0_23_available_in_Debian_unstable.html

- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAldP8U8ACgkQBcgs9XrR2kbKGgCdHWZ+RbwF31Vlt5Ud5UU5jm9t
n9UAnR1RBNi0neParKGiqzgeJQlrnnX8
=FdSt
-----END PGP SIGNATURE-----


Reply to: