{"id":96,"date":"2008-12-02T12:16:59","date_gmt":"2008-12-02T05:16:59","guid":{"rendered":"http:\/\/blog.binus-edu.com\/?p=96"},"modified":"2009-04-02T11:00:05","modified_gmt":"2009-04-02T04:00:05","slug":"how-to-checked-my-server-hardware-info-on-linux","status":"publish","type":"post","link":"https:\/\/adityo.blog.binusian.org\/?p=96","title":{"rendered":"How to checked my server hardware info on Linux"},"content":{"rendered":"<h3>How to checked the server hardware info on Linux<\/h3>\n<h4><em>How to Check memory size<\/em><\/h4>\n<p>Basicly there are 5 way to checked memory size on linux:<\/p>\n<ul>\n<li><strong>dmesg<br \/>\n    <\/strong><\/li>\n<li><strong><strong><span style=\"font-family: Arial,Verdana,sans-serif;\">\/proc\/meminfo<br \/>\n    <\/span><\/strong><\/strong><\/li>\n<li><strong>free<br \/>\n    <\/strong><\/li>\n<li><strong>top<br \/>\n    <\/strong><\/li>\n<li><strong><strong> <\/strong><\/strong><strong>lhsw (<\/strong><span xmlns=\"\"><span style=\"color: rgb(67, 67, 67);\">Ubuntu and fedora)<\/span><\/span><\/li>\n<\/ul>\n<p><strong>Using dmesg command<\/strong><\/p>\n<p>To check memory size in Linux using dmesg command , run the following command:<\/p>\n<pre>\n# dmesg |grep -i memory\nMemory: 2072472k\/2097024k available (2138k kernel code, 23276k reserved, 868k data, 240k init, 1179520k highmem)\nFreeing initrd memory: 1515k freed\nTotal HugeTLB memory allocated, 0\nNon-volatile memory driver v1.2\nFreeing unused kernel memory: 240k freed<strong><br \/><\/strong><\/pre>\n<p><strong>Checked the <span style=\"font-family: Arial,Verdana,sans-serif;\">\/proc\/meminfo files <\/span><\/strong><span style=\"font-family: Arial,Verdana,sans-serif;\"><br \/>\n<\/span><\/p>\n<p>We can also check memory size in linux using \/proc information ,run following from the command line:<br \/>\n&nbsp;<\/p>\n<pre><span style=\"font-family: Arial,Verdana,sans-serif;\"># cat \/proc\/meminfo |grep -i memtotal MemTotal:      2075116 kB<\/span><\/pre>\n<p><strong>Using Free command<\/strong><\/p>\n<p>We can also <span xmlns=\"\"><span style=\"color: rgb(67, 67, 67);\">check memory size on Linux using free command, run the following: <\/span><\/span><\/p>\n<p><span xmlns=\"\"><span style=\"color: rgb(67, 67, 67);\"># free -m<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; total&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; used&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; free&nbsp;&nbsp;&nbsp;&nbsp; shared&nbsp;&nbsp;&nbsp; buffers&nbsp;&nbsp;&nbsp;&nbsp; cached<br \/>\nMem:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2026&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1589&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 437&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 349&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 466<br \/>\n-\/+ buffers\/cache:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 773&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1252<br \/>\nSwap:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3812&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3812<\/span><\/span><\/p>\n<p><strong><span xmlns=\"\"><span style=\"color: rgb(67, 67, 67);\">Using top command<\/span><\/span><\/strong><\/p>\n<p><span xmlns=\"\"><span style=\"color: rgb(67, 67, 67);\">Linux also comes with top command, top can be run to check real memory size and memory utilization.Top display total memory size,used memory,free memory ,memory buffers size and swap memory utilization : <\/span><\/span><\/p>\n<p><span xmlns=\"\"><span style=\"color: rgb(67, 67, 67);\"># top<br \/>\ntop &#8211; 18:11:08 up 2 days,&nbsp; 5:53,&nbsp; 2 users,&nbsp; load average: 0.12, 0.87, 1.51<br \/>\nTasks: 154 total,&nbsp;&nbsp; 1 running, 153 sleeping,&nbsp;&nbsp; 0 stopped,&nbsp;&nbsp; 0 zombie<br \/>\nCpu(s):&nbsp; 0.0%us,&nbsp; 0.0%sy,&nbsp; 0.0%ni, 99.5%id,&nbsp; 0.5%wa,&nbsp; 0.0%hi,&nbsp; 0.0%si,&nbsp; 0.0%st<br \/>\nMem:&nbsp;&nbsp; 2075116k total,&nbsp; 1640432k used,&nbsp;&nbsp; 434684k free,&nbsp;&nbsp; 358264k buffers<br \/>\nSwap:&nbsp; 3903784k total,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 200k used,&nbsp; 3903584k free,&nbsp;&nbsp; 477984k cached<\/p>\n<p>&nbsp; PID USER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PR&nbsp; NI&nbsp; VIRT&nbsp; RES&nbsp; SHR S %CPU %MEM&nbsp;&nbsp;&nbsp; TIME+&nbsp; COMMAND<br \/>\n&nbsp;&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 15&nbsp;&nbsp; 0&nbsp; 2036&nbsp; 640&nbsp; 548 S&nbsp;&nbsp;&nbsp; 0&nbsp; 0.0&nbsp;&nbsp; 0:01.71 init<br \/>\n&nbsp;&nbsp;&nbsp; 2 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RT&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 0 S&nbsp;&nbsp;&nbsp; 0&nbsp; 0.0&nbsp;&nbsp; 0:00.73 migration\/0<br \/>\n&nbsp;&nbsp;&nbsp; 3 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 34&nbsp; 19&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 0 S&nbsp;&nbsp;&nbsp; 0&nbsp; 0.0&nbsp;&nbsp; 0:00.00 ksoftirqd\/0<br \/>\n<\/span><\/span><\/p>\n<p><strong>Using lhsw command<\/strong><\/p>\n<p><span xmlns=\"\"><span style=\"color: rgb(67, 67, 67);\">Ubuntu and fedora linux also comes with package called lshw (list hardware) <\/span><\/span><span style=\"color: rgb(67, 67, 67);\">which provides <\/span><span style=\"color: rgb(67, 67, 67);\"> detailed information on memory size, how many memory dims available, memory slots free along with other Linux system Hardware information .Run lshw and scroll down to *-memory section : <\/span><\/p>\n<p><span xmlns=\"\"><\/p>\n<p><span style=\"color: rgb(67, 67, 67); font-family: Courier New;\">#lshw |grep <\/span><\/p>\n<p><span style=\"color: rgb(67, 67, 67); font-family: Courier New;\">*-memory <\/span><\/p>\n<p><span style=\"color: rgb(67, 67, 67); font-family: Courier New;\">      description: System Memory <\/span><\/p>\n<p><span style=\"color: rgb(67, 67, 67); font-family: Courier New;\">      physical id: 39 <\/span><\/p>\n<p><span style=\"color: rgb(67, 67, 67); font-family: Courier New;\">      slot: System board or motherboard <\/span><\/p>\n<p><span style=\"color: rgb(67, 67, 67); font-family: Courier New;\">      size: 1GB<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><em><strong><span style=\"color: rgb(67, 67, 67); font-family: Courier New;\">How to Check HDD size<\/span><\/strong><\/em><\/p>\n<p>You can use  fdisk and df command to checked the harddisk size<\/p>\n<p><strong>Using df command<\/strong><\/p>\n<p># df<br \/>\nFilesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1K-blocks&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Used Available Use% Mounted on<br \/>\n\/dev\/sda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9835048&nbsp;&nbsp; 5650736&nbsp;&nbsp; 3676660&nbsp; 61% \/<br \/>\ntmpfs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1037556&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; 1037556&nbsp;&nbsp; 0% \/dev\/shm<br \/>\n\/dev\/sdb1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 69436796&nbsp; 26951008&nbsp; 38901692&nbsp; 41% \/home<br \/>\n\/dev\/sda3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 56720252&nbsp; 35154916&nbsp; 18684080&nbsp; 66% \/var<br \/>\n&nbsp;<\/p>\n<p><strong>Display hard disk partition size in Mega bytes<\/strong><\/p>\n<p># df -H<br \/>\nFilesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Size&nbsp;&nbsp; Used&nbsp; Avail Use% Mounted on<br \/>\n\/dev\/sda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 11G&nbsp;&nbsp; 5.8G&nbsp;&nbsp; 3.8G&nbsp; 61% \/<br \/>\ntmpfs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.1G&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; 1.1G&nbsp;&nbsp; 0% \/dev\/shm<br \/>\n\/dev\/sdb1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 72G&nbsp;&nbsp;&nbsp; 28G&nbsp;&nbsp;&nbsp; 40G&nbsp; 41% \/home<br \/>\n\/dev\/sda3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 59G&nbsp;&nbsp;&nbsp; 36G&nbsp;&nbsp;&nbsp; 20G&nbsp; 66% \/var<br \/>\n&nbsp;<\/p>\n<p><strong>Using fdisk command<\/strong><\/p>\n<p><\/span><\/p>\n<p>fdisk command is partition table manipulator for Linux. But it can be use to display total hard disk site. You must type the following command as the root user:<\/p>\n<p># fdisk  -l | grep Disk<\/p>\n<p>Disk \/dev\/sda: 73.4 GB, 73407868928 bytes<br \/>\nDisk \/dev\/sdb: 73.4 GB, 73407868928 bytes<\/p>\n<p>&nbsp;<\/p>\n<p><em><strong>How to checked processor info <\/strong><\/em><\/p>\n<p><strong>look into \/proc\/cpuinfo<\/strong><\/p>\n<p># cat \/proc\/cpuinfo<br \/>\nprocessor&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 0<br \/>\nvendor_id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : GenuineIntel<br \/>\ncpu family&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 15<br \/>\nmodel&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 4<br \/>\nmodel name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Intel(R) Xeon(TM) CPU 3.00GHz<br \/>\nstepping&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 3<br \/>\ncpu MHz&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 3000.456<br \/>\ncache size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 2048 KB<br \/>\nphysical id&nbsp;&nbsp;&nbsp;&nbsp; : 0<br \/>\nsiblings&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 2<br \/>\ncore id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 0<br \/>\ncpu cores&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 1<br \/>\nfdiv_bug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no<br \/>\nhlt_bug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no<br \/>\nf00f_bug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no<br \/>\ncoma_bug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no<br \/>\nfpu&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : yes<br \/>\nfpu_exception&nbsp;&nbsp; : yes<br \/>\ncpuid level&nbsp;&nbsp;&nbsp;&nbsp; : 5<br \/>\nwp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : yes<br \/>\nflags&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 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 lm constant_tsc pni monitor ds_cpl cid cx16 xtpr<br \/>\nbogomips&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 6004.87<\/p>\n<p>processor&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 1<br \/>\nvendor_id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : GenuineIntel<br \/>\ncpu family&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 15<br \/>\nmodel&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 4<br \/>\nmodel name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Intel(R) Xeon(TM) CPU 3.00GHz<br \/>\nstepping&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 3<br \/>\ncpu MHz&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 3000.456<br \/>\ncache size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 2048 KB<br \/>\nphysical id&nbsp;&nbsp;&nbsp;&nbsp; : 0<br \/>\nsiblings&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 2<br \/>\ncore id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 0<br \/>\ncpu cores&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 1<br \/>\nfdiv_bug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no<br \/>\nhlt_bug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no<br \/>\nf00f_bug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no<br \/>\ncoma_bug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no<br \/>\nfpu&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : yes<br \/>\nfpu_exception&nbsp;&nbsp; : yes<br \/>\ncpuid level&nbsp;&nbsp;&nbsp;&nbsp; : 5<br \/>\nwp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : yes<br \/>\nflags&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 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 lm constant_tsc pni monitor ds_cpl cid cx16 xtpr<br \/>\nbogomips&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 6000.63<\/p>\n<p>processor&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 2<br \/>\nvendor_id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : GenuineIntel<br \/>\ncpu family&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 15<br \/>\nmodel&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 4<br \/>\nmodel name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Intel(R) Xeon(TM) CPU 3.00GHz<br \/>\nstepping&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 3<br \/>\ncpu MHz&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 3000.456<br \/>\ncache size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 2048 KB<br \/>\nphysical id&nbsp;&nbsp;&nbsp;&nbsp; : 3<br \/>\nsiblings&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 2<br \/>\ncore id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 0<br \/>\ncpu cores&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 1<br \/>\nfdiv_bug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no<br \/>\nhlt_bug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no<br \/>\nf00f_bug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no<br \/>\ncoma_bug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no<br \/>\nfpu&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : yes<br \/>\nfpu_exception&nbsp;&nbsp; : yes<br \/>\ncpuid level&nbsp;&nbsp;&nbsp;&nbsp; : 5<br \/>\nwp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : yes<br \/>\nflags&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 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 lm constant_tsc pni monitor ds_cpl cid cx16 xtpr<br \/>\nbogomips&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 6000.74<\/p>\n<p>processor&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 3<br \/>\nvendor_id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : GenuineIntel<br \/>\ncpu family&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 15<br \/>\nmodel&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 4<br \/>\nmodel name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Intel(R) Xeon(TM) CPU 3.00GHz<br \/>\nstepping&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 3<br \/>\ncpu MHz&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 3000.456<br \/>\ncache size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 2048 KB<br \/>\nphysical id&nbsp;&nbsp;&nbsp;&nbsp; : 3<br \/>\nsiblings&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 2<br \/>\ncore id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 0<br \/>\ncpu cores&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 1<br \/>\nfdiv_bug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no<br \/>\nhlt_bug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no<br \/>\nf00f_bug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no<br \/>\ncoma_bug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : no<br \/>\nfpu&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : yes<br \/>\nfpu_exception&nbsp;&nbsp; : yes<br \/>\ncpuid level&nbsp;&nbsp;&nbsp;&nbsp; : 5<br \/>\nwp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : yes<br \/>\nflags&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 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 lm constant_tsc pni monitor ds_cpl cid cx16 xtpr<br \/>\nbogomips&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 6000.73<br \/>\n&nbsp;<\/p>\n<p>You can checked the other hardware info on \/proc\/ directory<\/p>\n<p><strong><em>How to checked OS version<\/em><\/strong><\/p>\n<p>you can checked your current OS version by looking into \/etc\/*release<\/p>\n<p># cat \/etc\/*release<br \/>\nFedora Core release 6 (Zod)<\/p>\n<p><span style=\"font-size: medium;\">How to checked your memory type and<\/span><\/p>\n<p>you can use dmidecode command<\/p>\n<p># dmidecode &#8211;type 17<br \/>\n# dmidecode 2.9<br \/>\nSMBIOS 2.5 present.<\/p>\n<p>Handle 0x0033, DMI type 17, 27 bytes<br \/>\nMemory Device<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Array Handle: 0x0031<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error Information Handle: Not Provided<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Total Width: 72 bits<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Data Width: 64 bits<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Size: 1024 MB<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Form Factor: DIMM<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set: None<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Locator: DIMM_A1<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bank Locator: BANK0<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong><em>Type: DDR2<\/em><\/strong><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Type Detail: Synchronous<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong><em>Speed: 667 MHz (1.5 ns)<\/em><\/strong><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Manufacturer: Manufacturer0<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Serial Number: SerNum0<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Asset Tag: AssetTagNum0<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Part Number: PartNum0<\/p>\n<p>Handle 0x0035, DMI type 17, 27 bytes<br \/>\nMemory Device<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Array Handle: 0x0031<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error Information Handle: Not Provided<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Total Width: Unknown<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Data Width: Unknown<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Size: No Module Installed<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Form Factor: DIMM<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set: None<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Locator: DIMM_A2<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bank Locator: BANK1<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Type: Unknown<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Type Detail: Unknown<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Speed: Unknown<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Manufacturer: Manufacturer1<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Serial Number: SerNum1<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Asset Tag: AssetTagNum1<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Part Number: PartNum1<\/p>\n<p>Handle 0x0037, DMI type 17, 27 bytes<br \/>\nMemory Device<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Array Handle: 0x0031<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error Information Handle: Not Provided<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Total Width: Unknown<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Data Width: Unknown<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Size: No Module Installed<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Form Factor: DIMM<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set: None<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Locator: DIMM_B1<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bank Locator: BANK2<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Type: Unknown<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Type Detail: Unknown<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Speed: Unknown<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Manufacturer: Manufacturer2<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Serial Number: SerNum2<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Asset Tag: AssetTagNum2<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Part Number: PartNum2<\/p>\n<p>Handle 0x0039, DMI type 17, 27 bytes<br \/>\nMemory Device<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Array Handle: 0x0031<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error Information Handle: Not Provided<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Total Width: Unknown<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Data Width: Unknown<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Size: No Module Installed<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Form Factor: DIMM<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set: None<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Locator: DIMM_B2<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bank Locator: BANK3<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Type: Unknown<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Type Detail: Unknown<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Speed: Unknown<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Manufacturer: Manufacturer3<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Serial Number: SerNum3<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Asset Tag: AssetTagNum3<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Part Number: PartNum3<br \/>\n&nbsp;<\/p>\n<p>it means you are using memory ddr2 pc 667 , and the other 3 slots are empty (from the info there were 4 slots)<\/p>\n<p><em><strong>Here is more about dmidecode<\/strong><\/em><\/p>\n<h1 class=\"entry-title\">&nbsp;<\/h1>\n<h3>Understanding BIOS keywords<\/h3>\n<pre>\ndmidecode --type {KEYWORD \/ Number }<\/pre>\n<p>You need to pass dmidecode following keywords:<\/p>\n<ul>\n<li>bios<\/li>\n<li>system<\/li>\n<li>baseboard<\/li>\n<li>chassis<\/li>\n<li>processor<\/li>\n<li>memory<\/li>\n<li>cache<\/li>\n<li>connector<\/li>\n<li>slot<\/li>\n<\/ul>\n<p>All  DMI types you need to use with dmidecode &#8211;type {Number}:<\/p>\n<table border=\"1\">\n<tbody>\n<tr>\n<td># Type<\/td>\n<td>Short Description<\/td>\n<\/tr>\n<tr>\n<td>0<\/td>\n<td>BIOS<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>System<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Base Board<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>Chassis<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>Processor<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>Memory Controller<\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>Memory Module<\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>Cache<\/td>\n<\/tr>\n<tr>\n<td>8<\/td>\n<td>Port Connector<\/td>\n<\/tr>\n<tr>\n<td>9<\/td>\n<td>System Slots<\/td>\n<\/tr>\n<tr>\n<td>10<\/td>\n<td>On Board Devices<\/td>\n<\/tr>\n<tr>\n<td>11<\/td>\n<td>OEM Strings<\/td>\n<\/tr>\n<tr>\n<td>12<\/td>\n<td>System Configuration Options<\/td>\n<\/tr>\n<tr>\n<td>13<\/td>\n<td>BIOS Language<\/td>\n<\/tr>\n<tr>\n<td>14<\/td>\n<td>Group Associations<\/td>\n<\/tr>\n<tr>\n<td>15<\/td>\n<td>System Event Log<\/td>\n<\/tr>\n<tr>\n<td>16<\/td>\n<td>Physical Memory Array<\/td>\n<\/tr>\n<tr>\n<td>17<\/td>\n<td>Memory Device<\/td>\n<\/tr>\n<tr>\n<td>18<\/td>\n<td>32-bit Memory Error<\/td>\n<\/tr>\n<tr>\n<td>19<\/td>\n<td>Memory Array Mapped Address<\/td>\n<\/tr>\n<tr>\n<td>20<\/td>\n<td>Memory Device Mapped Address<\/td>\n<\/tr>\n<tr>\n<td>21<\/td>\n<td>Built-in Pointing Device<\/td>\n<\/tr>\n<tr>\n<td>22<\/td>\n<td>Portable Battery<\/td>\n<\/tr>\n<tr>\n<td>23<\/td>\n<td>System Reset<\/td>\n<\/tr>\n<tr>\n<td>24<\/td>\n<td>Hardware Security<\/td>\n<\/tr>\n<tr>\n<td>25<\/td>\n<td>System Power Controls<\/td>\n<\/tr>\n<tr>\n<td>26<\/td>\n<td>Voltage Probe<\/td>\n<\/tr>\n<tr>\n<td>27<\/td>\n<td>Cooling Device<\/td>\n<\/tr>\n<tr>\n<td>28<\/td>\n<td>Temperature Probe<\/td>\n<\/tr>\n<tr>\n<td>29<\/td>\n<td>Electrical Current Probe<\/td>\n<\/tr>\n<tr>\n<td>30<\/td>\n<td>Out-of-band Remote Access<\/td>\n<\/tr>\n<tr>\n<td>31<\/td>\n<td>Boot Integrity Services<\/td>\n<\/tr>\n<tr>\n<td>32<\/td>\n<td>System Boot<\/td>\n<\/tr>\n<tr>\n<td>33<\/td>\n<td>64-bit Memory Error<\/td>\n<\/tr>\n<tr>\n<td>34<\/td>\n<td>Management Device<\/td>\n<\/tr>\n<tr>\n<td>35<\/td>\n<td>Management Device Component<\/td>\n<\/tr>\n<tr>\n<td>36<\/td>\n<td>Management Device Threshold Data<\/td>\n<\/tr>\n<tr>\n<td>37<\/td>\n<td>Memory Channel<\/td>\n<\/tr>\n<tr>\n<td>38<\/td>\n<td>IPMI Device<\/td>\n<\/tr>\n<tr>\n<td>39<\/td>\n<td>Power Supply<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Display Power supply information, enter:<br \/>\n<code># dmidecode --type 39<\/code><br \/>\nDisplay CPU information, enter:<br \/>\n<code># dmidecode --type processor<\/code><br \/>\nRead man page for more information:<br \/>\n<code>$ man dmidecode<\/code><\/p>\n<p><span xmlns=\"\"> <\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to checked the server hardware info on Linux How to Check memory size Basicly there are 5 way to checked memory size on linux: dmesg \/proc\/meminfo free top lhsw (Ubuntu and fedora) Using dmesg command To check memory size in Linux using dmesg command , run the following command: # dmesg |grep -i memory [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[490],"tags":[907],"class_list":["post-96","post","type-post","status-publish","format-standard","hentry","category-hardware","tag-shell-command-to-checked-hardware-spec"],"_links":{"self":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts\/96","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=96"}],"version-history":[{"count":1,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts\/96\/revisions"}],"predecessor-version":[{"id":279,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts\/96\/revisions\/279"}],"wp:attachment":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=96"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=96"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=96"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}