Operating System - Linux
1751952 Members
5056 Online
108783 Solutions
New Discussion юеВ

How to know about System Configuration??

 
SOLVED
Go to solution
monu_1
Regular Advisor

How to know about System Configuration??

Hi all,

Is there any utilities or command or package avilable in linux to get all about system configuration.
I am using Fedora 8.

Thanks,
MKS
14 REPLIES 14
Matthias Wies
Occasional Contributor

Re: How to know about System Configuration??

Hi Manoj,

since Fedora is redhat based, most of the configuration can be found in the /etc/sysconfig directory.

Also check some documentation you can find here :

http://www.centos.org/docs/4/html/rhel-sag-en-4/

good luck,

Regards Matthias
skt_skt
Honored Contributor

Re: How to know about System Configuration??

Also you can install lshw rpm and run the executable

#rpm -qa|grep -i lshw
lshw-2.05.01-1.0.el2.rf

# whereis lshw
lshw: /usr/sbin/lshw /usr/share/lshw /usr/share/man/man1/lshw.1.gz
Ivan Ferreira
Honored Contributor
Solution

Re: How to know about System Configuration??

You can use cfg2html.

http://come.to/cfg2html
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ross Minkov
Esteemed Contributor

Re: How to know about System Configuration??

Manoj,

To get the right answer you need to ask a more specific question. "System configuration" is not very specific.

Regards,
Ross

monu_1
Regular Advisor

Re: How to know about System Configuration??

Thanks to all,

basically i am searching
hardisk capacity(free and used)
motherboard information
ram, rom, other information regarding machine level etc.
and what is currently third party application installed?

Regards,
MKS
Vitaly Karasik_1
Honored Contributor

Re: How to know about System Configuration??

I almost sure that already suggested lshw and cfg2html will be enough for you, but I'd like to add redhat's "sysreport" utility anyway.
Rob Leadbeater
Honored Contributor

Re: How to know about System Configuration??

Hi,

You can get a lot of information by looking at the output of dmesg. It will take a bit of effort to extract the data you want though...

Cheers,

Rob
Maaz
Valued Contributor

Re: How to know about System Configuration??

on suse, there is a superb utility "siga".
hope you can download the same for redhat/fedora.

Ralph Grothe
Honored Contributor

Re: How to know about System Configuration??

If you are really using Fedora 8
I would say you are pretty bleeding-edge.
Afaik, Fedora 7 is current while 8 should be released somewhere late in fall.
I wouldn't recommend a prerelease candidate for someone who doesn't yet know where to find configuration files and how to query the hardware inventory.

For disks you can run (as root) "fdisk -l"
This will show you how your disks are partitioned and if there are still unused blocks.
It also depends how you are using your disks.
I think these days the Fedora distros set up LVM volumes even for guided installations.
So you should also get acquainted with the LVM commands pvscan, vgscan, lvscan, vgdisplay, lvdisplay (those to just view the usage and config).

As for RAM you can

# less /proc/meminfo

Swap

# swapon -s

CPU

# less /proc/cpuinfo

If you have configured any MD devices
(but I doubt) you can run

# mdadm -QDs

For PCI devices run lspci
similarily for USB lsusb

As said, RH (derived) distros have most of their config files beneath /etc/sysconfig


Madness, thy name is system administration