Added an entry to http://wiki.centos.org/FAQ/General : 23. How do I provide appropriate information about my system when asking questions? Comments, corrections, and other (constructive :-) ) criticisms are hereby solicited. Phil
On Wed, 3 Mar 2010, Phil Schaffner wrote:> Added an entry to http://wiki.centos.org/FAQ/General : > > 23. How do I provide appropriate information about my system when asking > questions? > > Comments, corrections, and other (constructive :-) ) criticisms are > hereby solicited.looks like a wheel reinvention ;( The writeup should mention the tools already present if we are to walk this road, no? bash-2.05$ rpm -qi sysreport Name : sysreport Relocations: (not relocateable) Version : 1.3.7.0 Vendor: CentOS Release : 8 Build Date: Sun 19 Nov 2006 05:12:08 PM EST Install date: Mon 20 Nov 2006 04:40:39 AM EST Build Host: fry.it.swin.edu.au Group : Development/Debuggers Source RPM: sysreport-1.3.7.0-8.src.rpm Size : 27815 License: GPL URL : http://www.redhat.com/support Summary : Gathers system hardware and configuration information. Description : Sysreport is a utility that gathers information about a system's hardware and configuration. The information can then be used for diagnostic purposes and debugging. Sysreport is commonly used to help support technicians and developers by providing a "snapshot" of a system's current layout. bash-2.05$ cat /etc/redhat-release Red Hat Linux Advanced Server release 2.1AS (Slurm) bash-2.05$ which at some point (F7ish ?) moved to 'sos' [herrold at centos-5 ~]$ rpm -qi sos Name : sos Relocations: (not relocatable) Version : 1.7 Vendor: CentOS Release : 9.27.el5 Build Date: Thu 03 Sep 2009 03:05:05 PM EDT Install Date: Wed 21 Oct 2009 11:19:31 PM EDT Build Host: builder16.centos.org Group : Development/Libraries Source RPM: sos-1.7-9.27.el5.src.rpm Size : 544974 License: GPL Signature : DSA/SHA1, Wed 30 Sep 2009 08:42:33 PM EDT, Key ID a8a447dce8562897 URL : http://sos.108.redhat.com/ Summary : System Support Tools Description : SOS is a set of tools that gathers information about system hardware and configuration. The information can then be used for diagnostic purposes and debugging. Sos is commonly used to help support technicians and developers. [herrold at centos-5 ~]$ cat /etc/redhat-release CentOS release 5.4 (Final) [herrold at centos-5 ~]$ -- Russ herrold
R P Herrold wrote on 03/03/2010 04:23 PM:> On Wed, 3 Mar 2010, Phil Schaffner wrote: > >> Added an entry to http://wiki.centos.org/FAQ/General : >> >> 23. How do I provide appropriate information about my system when asking >> questions? >> >> Comments, corrections, and other (constructive :-) ) criticisms are >> hereby solicited. > > > looks like a wheel reinvention ;(... Thanks for the comments Russ, but as Karanbir says, sysreport/sos provides a LOT of information. We were shooting at much smaller targets with the scripts. I should have mentioned - The effort was an outgrowth of a long thread on the "User Comments" forum and not just my idea. http://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=25030&forum=18 Phil
On 03/04/2010 01:54 PM, Phil Schaffner wrote:>>> Added an entry to http://wiki.centos.org/FAQ/General : > Thanks for the comments Russ, but as Karanbir says, sysreport/sos > provides a LOT of information. We were shooting at much smaller targets > with the scripts. I should have mentioned - The effort was an outgrowth > of a long thread on the "User Comments" forum and not just my idea.I didnt say that sos was not a good idea - it is the *best* idea here, that is designed to do just sort of thing being attempted, but it does go into a lot of detail since its built to be run for a client talking to a business support guy at the other end, and not *everyone* over the internet. The other thing is that it can run for a long long time, hours in some cases. So there are negatives and the issue of toobig a tool for a small task; is a very valid issue. The other issue would be to get a plugin installed into sosreport, would need a bit more of an effort than just downloading and running a script. So the issue here is : - define what we want out of it ( I am not sure this has been defined anywhere ) - see if its easier to get that info out from sos or do a bash script> http://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=25030&forum=18If it is a case of going down the bash script route, this is a good place to start. However, the script has no author or license / copyright info - you should fix that. Another thing that would be quite nice to see is if this script could auto-feed a pastebin and return a pastebin ID; as long as it does not increase the complexity of the script too much. - KB
Ned Slider wrote on 03/04/2010 11:21 AM: ...> Which is exactly the point of bringing it to this list for discussion, > so what started life as a (suggestion for a) tool to assist forum > community members/helpers may also be considered by helpers in other > community support channels (i.e, IRC and mailing lists).I brought it to this list, both to solicit constructive criticism, and because I took the liberty of adding a Wiki FAQ entry as well as a Forum post. I am also taking advantage of the public nature of the Wiki as a place to put the scripts for easy access. As far as the license for the material, if the implicit Creative Commons license is not sufficient, putting the scripts under GPL (do we want to get into GPL-1 vs GPL-2? :-) ) is certainly OK by me. Phil