www.centos.org Forum Index FAQ & Readme First How to Provide Information About Your System
|
Bottom Previous Topic Next Topic |
| |
|
|
|---|
| Poster | Thread | Rated: 6 Votes |
|---|
|
How to Provide Information About Your System | #1 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/9/3
From California, US
Posts: 6921
|
When asking questions on a forum, mailing list, or IRC, it is important to provide correct and complete information about your system. Good general guidance can be found in the Readme First post in this forum, and in the classic guide "How To Ask Questions The Smart Way" by open source developer and philosopher Eric S. Raymond.
To aid in the process a script getinfo.sh has been developed to collect system information for a variety of classes of questions. You can fetch the file with wget, or open the link above, select the text and copy/paste the script to a file, for example "getinfo.sh" with Change the permissions to make it executable and run it: Alternatively, enable the ELRepo repository and The script will save information to a temporary file which can be posted in-line, or for longer files saved to a site such as pastebin.centos.org. The forum attachment function is permanently broken, so please do not try to "Attach file" to the post. All options can be run as a normal user but fdisk information can only be provided if run as root. You should check the contents of the output file to ensure it does not contain any sensitive information such as public IP addresses or hostnames. 1. Basic info - appropriate for any and all CentOS questions. - getinfo.sh basic 2. Disk/filesystem problem - Basic + full disk info - requires the user to become root to run as this really needs "fdisk -l". - getinfo.sh disk 3. Hardware/driver/kernel problem - Basic + hardware and kernel info. - getinfo.sh driver 4. Network problem - Basic + full network info. - getinfo.sh network 5. Package problems with yum, rpm, and repos - Basic + rpm, yum, kernel. - getinfo.sh package 6. The kitchen sink - combines all of the above. Run as either root or non-root, but won't get fdisk info unless root. - getinfo.sh all (the default) If necessary obfuscate sensitive information before posting. For example: Note that it is not necessary to hide network information for private subnets often assigned by DHCP servers using NAT in ranges: Other tools for gathering more detailed system information include dmidecode and sos, available in the CentOS core repos. Providing appropriate information will help you get a prompt and accurate answer, and will help other forum members to efficiently answer your questions. |
||
Posted on: 2010/11/2 15:13
|
|||
Top Previous Topic Next Topic |
|



Topic options
Print Topic
Threaded
Newest First
6 Votes
toracat



You cannot start a new topic.
You can view topic.