I don't even have /etc/sysconfig... redhat is not the universe...
Something that does exist under all (modern) Linux is the special /sys/ folder. It's a virtual folder like /proc/ which holds no real files, but there's all sorts of information buried in there.
# Mac addresses for each network interface
for D in /sys/class/net/*
do
[ "$D" = "/sys/class/net/lo" ] && continue
[ "$D" = "/sys/class/net/sit0" ] && continue
printf "%s\t%s\n" "${D}" "`cat ${D}/address`"
done
# Models of disk drives on the system
for D in /sys/class/block/sd[a-z] /sys/class/block/sr[0-9] /sys/class/block/hd[a-z]
do
[ -e "$D" ] || continue
printf "%s\t%s\n" $D "`cat "$D"/device/model`"
done
A gigantic Shell script from HP support. Outputs either text format or an html tree. Only uses commands available on your system. Finds out everything worth finding out about your hardware and software installation. Finds hardware error logs you never knew you had and picks up certain security holes.
Working your way through the script is an education.
For modern Windows - a handy summary from the Command Prompt:
Another Linux utility, probably not installed by default, but very useful:
sudo powertop
an interactive command which tells you about the performance of your system with respect to electrical power use. It makes fairly intelligent suggestions for reducing power use by suggesting kernel options and tweaks. It also shows a top-like list of processes and kernel drivers, ordered by how many wakeups they cause per second. Programs or drivers which poll for events instead of simply waiting will show as the power-wasters they are.
---------- Post updated 12-13-11 at 09:03 AM ---------- Previous update was 12-12-11 at 12:57 PM ----------