Tag Archives: Hardware

Reading Linux Email book

Linux E-mail

I’m reading a new book about Linux mail servers,
Its basically a Hands on training book for easily installing a full linux email server for the office,
The book is filled with helping screenshots and a step-by-step procedures to install the server and make things work,
some of the apps the book covers are: Postfix, Courier, Procmail etc…
Ill add a full review when I’m done reading – it looks nice so far.

Technorati Tags: , ,

I Like Good Linux Lists On The Morning

Lists are the magic word for SEO and link bait, and they catch the eye.

Well I sometimes bite too so here is the latest Linux links list I have fallen for:
15 Power tools for Linux that you cant afford to miss,
I havent checked all the links in the page yet, but I will.

And you should probably check out the whole blog,
It looks very promising and fun to read.
from their description:
Penguin Inside is a blog about Linux and Software Guides, How-TOs, Reviews.
The blog is dedicated to Linux Desktops.

Another Good list is from Smashing Magazine:
50 Beautiful Flash Websites , and thats a beutiful list of 50 stunning flash websites,
A couple that i liked the most are:

e-Content Solutions


and v5 Design


Technorati Tags: , , ,

Linux Server Information – The Easy Way


In my last post I talked about listing your Linux server hardware information via command line tools,
but for the lazy Linux sysadmins there is a tool which will collect all your Linux server information for you in one swipe.

cfg2html tool

It will collect everything and sort it out, and will create a nice html for you to list everything you ever wanted to know about your Linux server.

it will list this info and much much more:

  • The Operation system installed and current status of it
  • reboots
  • memory consuming processes
  • uptime
  • services startup and runlevel
  • current and default runlevel
  • crontab listing
  • a lot of info about all the hardware installed
  • which packages are installed
  • Hard-disks information
  • LVM info
  • all the different network settings
  • Kernel modules and libraries
  • and a lot more.

simple cfg2html Installation:

download the package from the server:

cd /tmp
wget http://www.cfg2html.com/cfg2html-linux-1.60-20090415_all.zip
unzip cfg2html-linux-1.60-20090415_all.zip
rpm -ivh cfg2html-linux-1.60-1.noarch.rpm

if there is already an older version installed you can update it with:

rpm -ivh –freshen cfg2html-linux-1.60-1.noarch.rpm

edit the server details config text file:

vi /etc/cfg2html/systeminfo

and run the Linux server info gathering script:


this will create a couple of files named after your computer name and a couple of images.
all you have left to do is open the server_name.html file with your favorite browser (eg. firefox) and that’s it – all your Linux server information is there to go through.

Technorati Tags: ,

Linux Hardware Info

linux hardware listing image

Finding information about the hardware installed on your Linux server is easier then you might think.
The Linux server comes installed with some very nice command line tools to help you list all the linux hardware information you need.
lets start with the basic tool: dmesg

Startup Log

you can either run the command dmesg or read the log itself at: “cat /var/log/dmesg”

this logs will show you the bootup process messages your Linux server had sent out in its last boot, and all the hardware it had recognized. a lot more info is listed – for example the network card running state:

[root@localhost /]# dmesg | grep eth
eth0: registered as PCnet/FAST III 79C973
eth0: link up, 100Mbps, full-duplex
eth0: no IPv6 routers present

this command gives you the network card status and if its in full or half duplex mode, for example.

List PCI Devices

the command lspci will list your PCI devices on your system – mainly information about which motherboard is installed, what is your network card maker and which video device.
sample output:

[root@localhost /]# lspci
00:00.0 Host bridge: Intel Corporation 440FX – 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter
00:03.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 40)

List Bios Info

the command dmidecode will list the SMBios info,
which should give you a lot of details on the installed Bios – but its not 100% reliable,
it wont only tell you what exactly is installed, but it might also tell you whats the fastest CPU that can be attached to the mother board, not what really is there.
a sample output:

Handle 0x0000, DMI type 0, 20 bytes.
BIOS Information
Vendor: innotek GmbH
Version: VirtualBox
Release Date: 12/01/2006
Address: 0xE0000
Runtime Size: 128 kB
ROM Size: 128 kB
ISA is supported
PCI is supported
Boot from CD is supported
Selectable boot is supported
8042 keyboard services are supported (int 9h)
CGA/mono video services are supported (int 10h)
ACPI is supported

List All Your Linux Hardware Devices

a very thorough listing of all the devices attached to the computer including the Plug-n-Play devices is listed through the command lshal, for example everything you wanted to know about my mouse and more:

udi = ‘/org/freedesktop/Hal/devices/pnp_PNP0f03′
info.udi = ‘/org/freedesktop/Hal/devices/pnp_PNP0f03′  (string)
linux.subsystem = ‘pnp’  (string)
linux.hotplug_type = 1  (0x1)  (int)
info.product = ‘Microsoft PS/2-style Mouse’  (string)
pnp.description = ‘Microsoft PS/2-style Mouse’  (string)
pnp.id = ‘PNP0f03′  (string)
info.linux.driver = ‘i8042 aux’  (string)
info.parent = ‘/org/freedesktop/Hal/devices/computer’  (string)
info.bus = ‘pnp’  (string)
linux.sysfs_path_device = ‘/sys/devices/pnp0/00:04′  (string)
linux.sysfs_path = ‘/sys/devices/pnp0/00:04′  (string)

Test Harddisk Transfer Speed

this cute command line will tell you whats your hard-disk speed is, of course you need to know what hard-disks you have first:

[root@localhost /]# hdparm -t -T /dev/hda
Timing cached reads:   7680 MB in  1.99 seconds = 3868.01 MB/sec
Timing buffered disk reads:  148 MB in  3.00 seconds =  49.33 MB/sec

USB Devices

just like lspci the command lsusb will list your USB devices:

[root@localhost /]# lsusb
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000

So these are some good command line tools to list all you Linux Hardware info, but check out my post about Linux Server Information which explains how to use cfg2html to easily extract all this information and more at once.

Image by Jeff Kubina

Technorati Tags: , ,