Know your machine configurations – Linux
Checking machine configuration can be an important step before installing any software of serious purpose. There can be some requirements of software installation or you may want to get an idea how well your application/software will perform in given configuration.
I came across a situation when i needed to know about configuration of a linux machine before making decision of server setup. When you are close to machine and has access to its Desktop user interface you have various tools to get information of system configuration but from a console/terminal access it requires few commands on command line to know about it.
I am sharing few command below which can help in finding out the configuration of a linux machine:
1. Find Linux flavor :
# cat /etc/issue Fedora release 9 (Sulphur) Kernel \r on an \m (\l)
2. Find about CPU
# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Pentium(R) 4 CPU 3.00GHz stepping : 3 cpu MHz : 2800.000 cache size : 2048 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pebs bt s pni monitor ds_cpl est cid cx16 xtpr bogomips : 6004.02 clflush size : 64 processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Pentium(R) 4 CPU 3.00GHz stepping : 3 cpu MHz : 3000.000 cache size : 2048 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pebs bt s pni monitor ds_cpl est cid cx16 xtpr bogomips : 5999.18 clflush size : 64
3. Find about memory (RAM)
# cat /proc/meminfo MemTotal: 1025008 kB MemFree: 13344 kB Buffers: 147160 kB Cached: 495596 kB SwapCached: 0 kB Active: 393444 kB Inactive: 429904 kB HighTotal: 121152 kB HighFree: 252 kB LowTotal: 903856 kB LowFree: 13092 kB SwapTotal: 2031608 kB SwapFree: 2031472 kB Dirty: 16 kB Writeback: 0 kB AnonPages: 180696 kB Mapped: 38440 kB Slab: 53952 kB SReclaimable: 34316 kB SUnreclaim: 19636 kB PageTables: 3636 kB NFS_Unstable: 0 kB Bounce: 0 kB CommitLimit: 2544112 kB Committed_AS: 644464 kB VmallocTotal: 110584 kB VmallocUsed: 5932 kB VmallocChunk: 104460 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 4096 kB
4. Find about Hard-drive (storage)
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
182G 5.7G 167G 4% /
/dev/sda1 190M 13M 168M 7% /boot
tmpfs 501M 96K 501M 1% /dev/shm
Most Commented Posts
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

everytime i visit your site, i always get something valuable. thank you.
Bolanle Matthew
aka Fellow
Lagos. NIGERIA