<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SpaLinux.com - สปาลีนุกซ์ &#187; Hardware</title>
	<atom:link href="http://spalinux.com/category/hardware/feed" rel="self" type="application/rss+xml" />
	<link>http://spalinux.com</link>
	<description>เพื่อชีวิตที่ผ่อนคลายของคนใช้ลีนุกซ์</description>
	<lastBuildDate>Sat, 12 May 2012 10:38:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>คำสั่งตรวจสอบฮาร์ดแวร์ของเครื่อง</title>
		<link>http://spalinux.com/2012/04/command-to-check-hardware-specification-in-linux</link>
		<comments>http://spalinux.com/2012/04/command-to-check-hardware-specification-in-linux#comments</comments>
		<pubDate>Sat, 28 Apr 2012 10:36:24 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[CentOS 6]]></category>
		<category><![CDATA[Console]]></category>
		<category><![CDATA[Disk]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Utility]]></category>
		<category><![CDATA[CPU]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[view]]></category>

		<guid isPermaLink="false">http://spalinux.com/?p=2187</guid>
		<description><![CDATA[หลังการติดตั้งลีนุกซ์เสร็จทุกครั้่ง ก่อนจะคอนฟิกแล้วนำไปใช้งาน แนะนำให้ใช้คำสั่งลีนุกซ์ ดูฮาร์ดแวร์ของเครื่อง เพื่อตรวจสอบความถูกต้องว่าเราลงถูกต้อง ครบถ้วนไหม ในที่นี้จะแนะนำคำสั่งเพื่อตรวจสอบฮาร์ดแวร์หลัก 3 ส่วนคือ CPU, Memory และ Disk CPU ใช้คำสั่ง lscpu เพื่อดูข้อมูลโดยรวมของ CPU เครื่องได้ ตัวอย่างผลลัพธ์ที่ได้ [root@cent6 ~]# lscpu Architecture:          x86_64 CPU op-mode(s):        32-bit, 64-bit CPU(s):                4 Thread(s) per core:    1 Core(s) per socket:    4 CPU socket(s):         1 NUMA node(s):          1 Vendor ID:             GenuineIntel CPU family:            6 Model:                 15 Stepping:              11 [...]]]></description>
			<content:encoded><![CDATA[<p>หลังการติดตั้งลีนุกซ์เสร็จทุกครั้่ง ก่อนจะคอนฟิกแล้วนำไปใช้งาน แนะนำให้ใช้คำสั่งลีนุกซ์ ดูฮาร์ดแวร์ของเครื่อง เพื่อตรวจสอบความถูกต้องว่าเราลงถูกต้อง ครบถ้วนไหม</p>
<p>ในที่นี้จะแนะนำคำสั่งเพื่อตรวจสอบฮาร์ดแวร์หลัก 3 ส่วนคือ CPU, Memory และ Disk</p>
<p><span id="more-2187"></span></p>
<h4>CPU</h4>
<p>ใช้คำสั่ง lscpu เพื่อดูข้อมูลโดยรวมของ CPU เครื่องได้</p>
<p>ตัวอย่างผลลัพธ์ที่ได้</p>
<pre>[root@cent6 ~]# <strong>lscpu</strong>
<span style="color: #0000ff;">Architecture:          x86_64</span>
<span style="color: #0000ff;">CPU op-mode(s):        32-bit, 64-bit</span>
<span style="color: #0000ff;">CPU(s):                4</span>
Thread(s) per core:    1
Core(s) per socket:    4
CPU socket(s):         1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 15
Stepping:              11
<span style="color: #0000ff;">CPU MHz:               2659.626</span>
L1d cache:             32K
L1i cache:             32K
L2 cache:              4096K</pre>
<p>&nbsp;</p>
<p>หรือหากต้องการดูรายละเอียดของ CPU ในแต่ละ core เลย สามารถทำได้โดยใช้คำสั่ง cat อ่านไฟล์ /proc/cpuinfo</p>
<p>ผลลัพธ์จะแสดงรายละเอียดขึ้นมาทั้งหมด (ในตัวอย่างนี้ตัดมาเฉพาะ 2 core แรก)</p>
<pre>[root@cent6 ~]# <strong>cat /proc/cpuinfo</strong>
<span style="color: #0000ff;">processor       : 0</span>
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
<span style="color: #0000ff;">model name      : Intel(R) Xeon(R) CPU X5355 @ 2.66GHz</span>
stepping        : 11
<span style="color: #0000ff;">cpu MHz         : 2659.626</span>
cache size      : 4096 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi
bogomips        : 5319.25
clflush size    : 64
cache_alignment : 64
address sizes   : 38 bits physical, 48 bits virtual
power management:</pre>
<pre><span style="color: #0000ff;">processor       : 1</span>
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
<span style="color: #0000ff;">model name      : Intel(R) Xeon(R) CPU X5355  @ 2.66GHz</span>
stepping        : 11
<span style="color: #0000ff;">cpu MHz         : 2659.626</span>
cache size      : 4096 KB
physical id     : 0
siblings        : 4
core id         : 1
cpu cores       : 4
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi
bogomips        : 5320.01
clflush size    : 64
cache_alignment : 64
address sizes   : 38 bits physical, 48 bits virtual
power management:
...</pre>
<p>&nbsp;</p>
<h4>Memory</h4>
<p>สำหรับหน่วยความจำ หากต้องการดูแค่ขนาดรวม memory ที่ลีนุกซ์เห็นและใช้งานได้ ให้ใช้คำสั่ง free แล้วดูส่วน total จะเป็นขนาดของหน่วยความจำรวมของเครื่อง ผลลัพธ์ที่แสดงโดยดีฟอลต์จะเป็นหน่วย kB (kilo bytes)</p>
<pre>[root@cent6 ~]# <strong>free</strong>
             <span style="color: #0000ff;">total      </span> used       free     shared    buffers     cached
<span style="color: #0000ff;">Mem</span>:       <span style="color: #0000ff;">1020756    </span> 258060     762696          0      20140     106752
-/+ buffers/cache:     131168     889588
Swap:      2097144          0    2097144</pre>
<p>เช่น เครื่องนี้มีขนาดหน่วยความจำ (memory) 1020756 kB หรือประมาณ 1 GB</p>
<p>แต่หากต้องการดูรายละเอียดถึงฮาร์ดแวร์เลยว่า มี memory กี่แผง กี่สล๊อต ต้องใช้คำสั่ง dmidecode ซึ่งค่อนข้างดูยากพอสมควร และแตกต่างกันตามชนิดของฮาร์ดแวร์</p>
<p>แนะนำให้ดูจาก BIOS หรือพอร์ต Management (out-of-band) ของเครื่องจะง่ายกว่า แล้วใช้คำสั่ง free เพื่อดูผลรวมของ memory ที่ลีนุกซ์เห็น</p>
<p>&nbsp;</p>
<h4>Disk</h4>
<p>ใช้คำสั่ง fdisk -l เพื่อดูดิสก์ทั้งหมดที่ต่ออยู่ ผลลัพธ์ที่ได้ จะแสดงชื่อดิสก์ที่ลีนุกซ์ใช้ เช่น /dev/sda ขนาดฮาร์ดดิสก์ (500 GB) และข้อมูลการแบ่งพาร์ทิชั่น</p>
<pre>[root@cent6 ~]# <strong>fdisk -l</strong></pre>
<pre>Disk <span style="color: #0000ff;">/dev/sda: 500 GB</span>, 500007860016 bytes
 255 heads, 63 sectors/track, 60800 cylinders
 Units = cylinders of 16065 * 512 = 8225180 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 512 bytes / 512 bytes</pre>
<pre>Device Boot      Start         End      Blocks   Id  System
 /dev/sda1   *           1          25      204800   83  Linux
 /dev/sda2              26       12773   102400000   83  Linux
 /dev/sda3           12774       14804    16380000   82  Linux swap / Solaris</pre>
<p>&nbsp;</p>
<p>หากต้องการดูรายละเอียดของฮาร์ดดิสก์ เช่นยี่ห้อ รุ่น serial number ต้องใช้คำสั่ง hdparm ออปชั่น &#8216;-I&#8217; แล้วตามด้วยชื่อดิสก์ที่ต้องการดู</p>
<pre>[root@cent6 ~]# <strong>hdparm -I /dev/sda</strong></pre>
<pre>/dev/sda:</pre>
<pre>ATA device, with non-removable media
<span style="color: #0000ff;"> Model Number:       ST3500640A</span>
<span style="color: #0000ff;"> Serial Number:      123456789</span>
 Firmware Revision:  3.0</pre>
<p>เช่นเดียวกับการตรวจสอบหน่วยความจำ (memory) ผลลัพธ์ที่ได้ อาจแตกต่างกันไป บางเครื่องหรือดิสก์บางรุ่นก็ดูไม่ได้  ขึ้นอยู่กับชนิดของฮาร์ดแวร์ เพื่อความง่ายแนะนำให้ใช้ BIOS ของเครื่องตรวจสอบรายละเอียด</p>
]]></content:encoded>
			<wfw:commentRss>http://spalinux.com/2012/04/command-to-check-hardware-specification-in-linux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>System clock uses UTC กับเวลาของเครื่องลีนุกซ์</title>
		<link>http://spalinux.com/2012/04/system-clock-uses-utc-and-linux-system-time-date</link>
		<comments>http://spalinux.com/2012/04/system-clock-uses-utc-and-linux-system-time-date#comments</comments>
		<pubDate>Mon, 16 Apr 2012 14:39:37 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[CentOS 6]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Time]]></category>

		<guid isPermaLink="false">http://spalinux.com/?p=2101</guid>
		<description><![CDATA[ตอนติดตั้ง CentOS 6 จะมีหน้าจอให้  เลือก time zone เพื่อเลือกโซนเวลาที่เครื่องลีนุกซ์ตั้งอยู่ ในประเทศไทย ก็เลือกเป็น Asia/Bangkok ในหน้าจอเดียวกันนี้ ด้านล่างซ้ายจะมีให้ออปชั่น &#8220;System clock uses UTC&#8221; ให้เลือก โดยดีฟอลต์จะคลิ้กเลือกไว้ หลายท่านรวมทั้งผู้เขียนเอง ก็ยังสับสนว่าจะเลือกหรือไม่เลือกออปชั่นนี้ดี เลยทดสอบการติดตั้งสองครั้ง โดยครั้งแรกจะคลิ้กเลือก และครั้งที่สองจะไม่เลือก เพื่อดูผลกระทบกับเวลาของเครื่องเมื่อบู๊ตเครื่องหลังจากติดตั้งเสร็จ ในที่นี้ ทดสอบบน VMware เพื่อเทียบเวลาระหว่าง BIOS และเวลาที่แสดงจากคำสั่ง date บนลีนุกซ์ ทดสอบบนเครื่อง PC ก็ได้ผลเช่นเดียวกัน เวลาใน BIOS &#160; เลือกใช้ [x] System clock uses UTC ตอนติดตั้ง CentOS 6 คลิ้กเพื่อเลือกออปชั่นนี้ หลังติดตั้งเสร็จใช้คำสั่ง date เพื่อดูเวลาบนลีนุกซ์ [root@cent6 ~]# date [...]]]></description>
			<content:encoded><![CDATA[<p>ตอนติดตั้ง CentOS 6 จะมีหน้าจอให้  <a title="View Details: ติดตั้ง CentOS 6.2 : เลือก time zone, ใส่ root password" href="http://spalinux.com/2012/03/centos-6-2-installation-select-time-zone-enter-root-password" rel="bookmark">เลือก time zone </a>เพื่อเลือกโซนเวลาที่เครื่องลีนุกซ์ตั้งอยู่ ในประเทศไทย ก็เลือกเป็น Asia/Bangkok</p>
<p>ในหน้าจอเดียวกันนี้ ด้านล่างซ้ายจะมีให้ออปชั่น &#8220;System clock uses UTC&#8221; ให้เลือก โดยดีฟอลต์จะคลิ้กเลือกไว้</p>
<p>หลายท่านรวมทั้งผู้เขียนเอง ก็ยังสับสนว่าจะเลือกหรือไม่เลือกออปชั่นนี้ดี</p>
<p>เลยทดสอบการติดตั้งสองครั้ง โดยครั้งแรกจะคลิ้กเลือก และครั้งที่สองจะไม่เลือก เพื่อดูผลกระทบกับเวลาของเครื่องเมื่อบู๊ตเครื่องหลังจากติดตั้งเสร็จ</p>
<p><span id="more-2101"></span><br />
ในที่นี้ ทดสอบบน VMware เพื่อเทียบเวลาระหว่าง BIOS และเวลาที่แสดงจากคำสั่ง date บนลีนุกซ์ ทดสอบบนเครื่อง PC ก็ได้ผลเช่นเดียวกัน</p>
<p>เวลาใน BIOS</p>
<p><a href="http://spalinux.com/wp-content/uploads/2012/04/t01-BIOS-System-Time-Date.png"><img class="alignnone size-full wp-image-2102" title="t01-BIOS-System-Time-Date" src="http://spalinux.com/wp-content/uploads/2012/04/t01-BIOS-System-Time-Date.png" alt="" width="384" height="102" /></a></p>
<p>&nbsp;</p>
<h4>เลือกใช้ [x] System clock uses UTC</h4>
<p>ตอนติดตั้ง CentOS 6 คลิ้กเพื่อเลือกออปชั่นนี้</p>
<p><a href="http://spalinux.com/wp-content/uploads/2012/04/t02-enable-System-clock-uses-UTC.png"><img class="alignnone size-full wp-image-2103" title="t02-enable-System-clock-uses-UTC" src="http://spalinux.com/wp-content/uploads/2012/04/t02-enable-System-clock-uses-UTC.png" alt="" width="200" height="48" /></a></p>
<p>หลังติดตั้งเสร็จใช้คำสั่ง date เพื่อดูเวลาบนลีนุกซ์</p>
<pre>[root@cent6 ~]# <strong>date</strong>
Tue Apr 17 23:58:20 ICT 2012</pre>
<p>เวลาเร็วไปประมาณ 7 ชั่วโมง เทียบกับเวลาใน BIOS</p>
<p>คอนฟิกไฟล์ /etc/adjtime เมื่อเลือกใช้ &#8220;System clock uses UTC&#8221;</p>
<pre>[root@cent6 ~]# <strong>cat /etc/adjtime</strong>
0.0 0 0.0
0
<span style="color: #0000ff;">UTC</span></pre>
<h4>ไม่ใช้ [ ] System clock uses UTC (ใช้เวลา LOCAL)</h4>
<p>ตอนติดตั้ง CentOS 6 คลิ้กเอาออปชั่นนี้ออก</p>
<p>หลังติดตั้งเสร็จใช้คำสั่ง date เพื่อดูเวลาบนลีนุกซ์</p>
<pre>[root@cent6 ~]# <strong>date</strong>
Tue Apr 17 16:58:20 ICT 2012</pre>
<p>เวลาเท่ากับเวลาใน BIOS</p>
<p>คอนฟิกไฟล์ /etc/adjtime เมื่อไม่ใช้ &#8220;System clock uses UTC&#8221;</p>
<pre>[root@cent6 ~]# <strong>cat /etc/adjtime</strong>
0.0 0 0.0
0
<span style="color: #0000ff;">LOCAL</span></pre>
<h4>การเปลี่ยนคอนฟิก UTC, LOCAL หลังติดตั้ง</h4>
<p>หากต้องการแก้ไขคอนฟิกหลังการติดตั้ง สามารถแก้ไขไฟล์ /etc/adjtime ได้โดยตรง</p>
<p>แก้ไขบรรทัดที่ 3 ระหว่าง &#8220;UTC&#8221; และ &#8220;LOCAL&#8221; แล้วรีบู๊ตเครื่อง  ใช้คำสั่ง date เพื่อปรับเวลาให้ถูกต้อง</p>
<p>อ้างอิงจากคู่มือการติดตั้ง Red Hat Enterprise 6</p>
<ul>
<li>ถ้าเครื่องที่ใช้ ติดตั้งแค่ลีนุกซ์อย่างเดียว ให้คลิ้กเลือก System clock uses UTC</li>
<li>แต่ถ้าเครื่องนี้ติดตั้ง OS อื่น เช่น Windows ด้วย ห้ามเลือกใช้ออปชั่นนี้</li>
</ul>
<p>อย่างไรก็ตาม โดยส่วนตัวแล้ว ตอนติดตั้ง ผู้เขียนจะไม่เลือกใช้ออปชั่นนี้ เพื่อให้เวลาของ BIOS ตรงกับเวลาของลีนุกซ์</p>
<h4>ข้อมูลอ้างอิง</h4>
<ul>
<li><a title="View Details: ติดตั้ง CentOS 6.2 : เลือก time zone, ใส่ root password" href="http://spalinux.com/2012/03/centos-6-2-installation-select-time-zone-enter-root-password" rel="bookmark">เลือก time zone, ใส่ root password</a></li>
<li><a title="View Details: เปลี่ยนวันเวลาบนลีนุกซ์ด้วยคำสั่ง date" href="http://spalinux.com/2012/04/change-linux-date-time-using-command-date" rel="bookmark">เปลี่ยนวันเวลาบนลีนุกซ์ด้วยคำสั่ง date</a></li>
<li><a href="http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/s1-timezone-x86.html" target="_blank">Time Zone Configuration</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://spalinux.com/2012/04/system-clock-uses-utc-and-linux-system-time-date/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>การเรียกดูไฟล์ในแผ่นซีดีรอมหรือดีวีดีบนลีนุกซ์</title>
		<link>http://spalinux.com/2012/03/how-to-view-file-in-cdrom-or-dvd-on-linux</link>
		<comments>http://spalinux.com/2012/03/how-to-view-file-in-cdrom-or-dvd-on-linux#comments</comments>
		<pubDate>Sat, 31 Mar 2012 16:06:15 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[CentOS 6]]></category>
		<category><![CDATA[Filesystem]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux Shell]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[cdrom]]></category>
		<category><![CDATA[dvd]]></category>
		<category><![CDATA[mount]]></category>

		<guid isPermaLink="false">http://spalinux.com/?p=1943</guid>
		<description><![CDATA[บนลีนุกซ์เมื่อใส่แผ่นซีดีรอมหรือดีวีดีเข้าไปในไดร์ฟแล้ว หากต้องการเรียกดูไฟล์ในแผ่นต้องทำการ mount ตัวไดร์ฟ (/dev) กับไดเร็คทอรีหรือพาธ (path) บนลีนุกซ์ แล้วถึงจะดูไฟล์ภายใต้พาธนี้ได้ หมายเหตุ หากติดตั้งชุดโปรแกรม Desktop Environment เช่น GNOME ด้วย อาจมีโปรแกรมช่วย mount ตัวไดร์ฟโดยอัตโนมัติ (automount) คือเมื่อใส่แผ่นเราก็สามารถเรียกดูไฟล์ในแผ่นได้เลย ถ้าเป็นแบบนี้ก็ไม่จำเป็นต้องใช้คำสั่ง mount หากติดตั้งลีนุกซ์โดยใช้แผ่นแล้ว ส่วนใหญ่จะมีการสร้างลิ้งค์ไฟล์ (soft link) ไว้เป็นชื่อ /dev/cdrom หรือ /dev/dvd ตัวอย่างเช่นหากติดตั้ง CentOS 6.2 จะมี soft link ชี้ไปที่ /dev/sr0 [root@cent6 ~]# ls -l /dev/cdrom lrwxrwxrwx. 1 root root 3 Mar 31 13:45 /dev/cdrom -&#62; sr0 [...]]]></description>
			<content:encoded><![CDATA[<p>บนลีนุกซ์เมื่อใส่แผ่นซีดีรอมหรือดีวีดีเข้าไปในไดร์ฟแล้ว หากต้องการเรียกดูไฟล์ในแผ่นต้องทำการ mount ตัวไดร์ฟ (/dev) กับไดเร็คทอรีหรือพาธ (path) บนลีนุกซ์ แล้วถึงจะดูไฟล์ภายใต้พาธนี้ได้</p>
<p>หมายเหตุ หากติดตั้งชุดโปรแกรม Desktop Environment เช่น GNOME ด้วย อาจมีโปรแกรมช่วย mount ตัวไดร์ฟโดยอัตโนมัติ (automount) คือเมื่อใส่แผ่นเราก็สามารถเรียกดูไฟล์ในแผ่นได้เลย ถ้าเป็นแบบนี้ก็ไม่จำเป็นต้องใช้คำสั่ง mount</p>
<p><span id="more-1943"></span></p>
<p>หากติดตั้งลีนุกซ์โดยใช้แผ่นแล้ว ส่วนใหญ่จะมีการสร้างลิ้งค์ไฟล์ (soft link) ไว้เป็นชื่อ /dev/cdrom หรือ /dev/dvd</p>
<p>ตัวอย่างเช่นหากติดตั้ง CentOS 6.2 จะมี soft link ชี้ไปที่ /dev/sr0</p>
<pre>[root@cent6 ~]# <strong>ls -l /dev/cdrom</strong>
lrwxrwxrwx. 1 root root 3 Mar 31 13:45 /dev/cdrom -&gt; sr0</pre>
<pre>[root@cent6 ~]# <strong>ls -l /dev/dvd</strong>
lrwxrwxrwx. 1 root root 3 Mar 31 13:45 /dev/dvd -&gt; sr0</pre>
<pre>[root@cent6 ~]# <strong>ls -l /dev/sr0</strong>
brw-rw----. 1 root cdrom 11, 0 Mar 31 13:45 /dev/sr0</pre>
<p>เราสามารถใช้คำสั่ง mount ตามด้วยชื่อไดร์ฟ /dev/cdrom หรือ /dev/dvd หรือแม้แต่ /dev/sr0 ก็ได้</p>
<p>เวลา mount ไดร์ฟแบบใช้ชั่วคราวเช่น cdrom หรือ dvd นิยม mount กับพาธ /mnt</p>
<p>ตัวอย่างการ mount ไดร์ฟที่มีแผ่นติดตั้ง CentOS 6.2 แผ่นที่ 1 เข้ากับพาธ /mnt</p>
<pre>[root@cent6 ~]# <strong>mount /dev/dvd /mnt</strong>
mount: block device /dev/sr0 is write-protected, mounting read-only</pre>
<p>เมื่อ mount แล้ว จะไม่สามารถกดปุ่ม eject เพื่อเอาแผ่นออกได้</p>
<p>ตัวอย่างการใช้คำสั่ง ls เพื่อดูไฟล์ในแผ่น</p>
<pre>[root@cent6 ~]# <strong>cd /mnt/</strong>
[root@cent6 mnt]# <strong>ls -l</strong>
total 658
-rw-r--r--. 2 root root 14 Dec 16 09:39 CentOS_BuildTag
drwxr-xr-x. 3 root root 2048 Dec 11 06:38 EFI
-rw-r--r--. 2 root root 212 Dec 15 11:32 EULA
-rw-r--r--. 2 root root 18009 Dec 15 11:38 GPL
drwxr-xr-x. 3 root root 2048 Dec 11 06:38 images
drwxr-xr-x. 2 root root 2048 Dec 11 06:36 isolinux
drwxrwxr-x. 2 500 500 630784 Dec 16 09:43 Packages
-rw-r--r--. 2 root root 1354 Dec 9 19:58 RELEASE-NOTES-en-US.html
drwxr-xr-x. 2 root root 4096 Dec 16 09:46 repodata
-rw-r--r--. 2 root root 1706 Dec 9 19:57 RPM-GPG-KEY-CentOS-6
-rw-r--r--. 2 root root 1730 Dec 9 19:57 RPM-GPG-KEY-CentOS-Debug-6
-rw-r--r--. 2 root root 1730 Dec 9 19:57 RPM-GPG-KEY-CentOS-Security-6
-rw-r--r--. 2 root root 1734 Dec 9 19:57 RPM-GPG-KEY-CentOS-Testing-6
-r--r--r--. 1 root root 3380 Dec 16 09:46 TRANS.TBL</pre>
<p>เมื่อสิ้นสุดการใช้งาน ต้องการเอาแผ่นออกมาจากไดร์ฟ เราต้องออกจากพาธ /mnt ก่อน แล้วใช้คำสั่ง umount ตามด้วยพาธที่ mount ไว้</p>
<pre>[root@cent6 mnt]# <strong>cd ~</strong>
[root@cent6 ~]# <strong>umount /mnt</strong></pre>
<p>หรืออาจใช้คำสั่ง eject เพื่อ umount แล้วสั่งให้ไดร์ฟเอาแผ่นออกด้วย</p>
<pre>[root@cent6 ~]# eject</pre>
<h4>ปัญหาการ umount ไม่ได้</h4>
<p>หากพาธที่ mount แผ่นไว้ ถูกใช้งานอยู่ เช่นมี user เรียกดูไฟล์ภายใต้พาธนี้อยู่ จะไม่สามารถ umount ได้</p>
<pre>[root@cent6 ~]# <strong>mount /dev/dvd /mnt</strong>
mount: block device /dev/sr0 is write-protected, mounting read-only</pre>
<pre>[root@cent6 ~]# <strong>cd /mnt/</strong>
[root@cent6 mnt]#
[root@cent6 mnt]# <strong>umount /mnt</strong>
<span style="color: #ff0000;">umount: /mnt: device is busy.</span>
<span style="color: #ff0000;"> (In some cases useful info about processes that use</span>
<span style="color: #ff0000;"> the device is found by lsof(8) or fuser(1))</span></pre>
<p>หากเราทราบผู้ที่ใช้พาธนี้อยู่ ก็สามารถบอกให้ cd ออกจากพาธได้ แต่ถ้าไม่ทราบ หรือหาไม่เจอ ต้องใช้คำสั่ง fuser เพื่อหาโปรเซสที่เรียกใช้พาธนี้อยู่</p>
<p>ใช้คำสั่ง fuser ตามด้วยพาธที่ mount แผ่นไว้</p>
<pre>[root@cent6 ~]# <strong>fuser /mnt</strong>
/mnt: <span style="color: #0000ff;">1357</span>c</pre>
<p>ตัวเลข 1357 คือ PID ของโปรเซสที่เรียกใช้พาธนี้อยู่ ใช้คำสั่ง ps เพื่อดูว่าโปรเซสนี้คืออะไร</p>
<pre>[root@cent6 ~]# <strong>ps -ef | grep <span style="color: #0000ff;">1357</span></strong>
root <span style="color: #0000ff;">1357</span> 1353 0 13:49 pts/0 00:00:00 -<span style="color: #0000ff;">bash</span></pre>
<p>ในที่นี้ 1357 คือโปรเซส bash มีคนล็อกอินอยู่ที่หน้าจอ TTY pts/0 เราสามารถใช้คำสั่ง w เพื่อดูว่า pts/0 ล็อกอินมาจากที่ไหนได้</p>
<pre>[root@cent6 ~]# w
 15:34:22 up 1:48, 2 users, load average: 0.00, 0.00, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
<span style="color: #0000ff;">root</span> <span style="color: #0000ff;">pts/0 192.168.5.1</span> 13:49 4:42 0.07s 0.07s <span style="color: #0000ff;">-bash</span>
root pts/1 192.168.5.2 15:29 0.00s 0.02s 0.00s w</pre>
<p>จากผลลัพธ์คำสั่ง w จะเป็นว่า pts/0 เป็นการล็อกอินด้วย root จาก 192.168.5.1 เราก็สามารถไปแจ้งเตือนเพื่อให้ออกจากพาธได้</p>
<p>แต่ถ้าลองใช้คำสั่ง ps แล้ว ไม่สามารถหาเจอได้ว่าใครกำลังใช้อยู่ อาจต้อง kill โปรเซสนั้นไป หรือใช้คำสั่ง fuser ตามด้วยออปชั่น &#8216;-k&#8217; เพื่อ kill โปรเซสทั้งหมดที่เรียกพาธอยู่</p>
<pre>[root@cent6 ~]# <strong>fuser /mnt</strong>
/mnt: 1357c</pre>
<pre>[root@cent6 ~]# <strong>fuser -k /mnt</strong>
/mnt: 1357c</pre>
<pre>[root@cent6 ~]# <strong>fuser /mnt</strong></pre>
<pre>[root@cent6 ~]# <strong>umount /mnt</strong></pre>
<p>ก็จะสามารถ umount พาธ แล้วเอาแผ่นออกจากไดร์ฟได้</p>
]]></content:encoded>
			<wfw:commentRss>http://spalinux.com/2012/03/how-to-view-file-in-cdrom-or-dvd-on-linux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>เลือกเวอร์ชั่น CentOS ที่จะใช้ติดตั้ง</title>
		<link>http://spalinux.com/2012/03/select-centos-version-to-install</link>
		<comments>http://spalinux.com/2012/03/select-centos-version-to-install#comments</comments>
		<pubDate>Sat, 24 Mar 2012 16:27:05 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[CentOS 6]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux Installation]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[version]]></category>

		<guid isPermaLink="false">http://spalinux.com/?p=1774</guid>
		<description><![CDATA[ข้อดีของลีนุกซ์ คือเราต้องการใช้ distribution ไหน เวอร์ชั่นเท่าไร ก็เข้าเว็บไซต์ (mirror site) เพื่อเลือกดาวน์โหลดไฟล์มาติดตั้งได้ โดยไฟล์ที่ดาวน์โหลดมาส่วนใหญ่จะเป็นไฟล์ ISO โหลดเสร็จสามารถนำมาเขียนใส่แผ่นซีดี หรือดีวีดี เพื่อใช้ติดตั้งบนเครื่องต่างๆ ได้ สำหรับ CentOS แนะนำให้เลือก CentOS 6 เวอร์ชั่นล่าสุด 6.2 เนื่องด้วยการพัฒนาปรับปรุงซอฟต์แวร์ต่างๆ เพื่อเพิ่มประสิทธิภาพ ความปลอดภัยของระบบมากขึ้น หากต้องการทราบรายละเอียดว่าเวอร์ชั่นใหม่มีอะไรบ้าง ให้คลิกลิ้งค์ Release Notes บนหน้าเว็บไซต์ของ CentOS (www.centos.org) &#160; เลือก Download ได้สองแบบคือ i386 หรือ x86_64 ทั้งนี้ขึ้นอยู่กับเครื่องคอมพิวเตอร์ที่จะใช้ติดตั้ง หากเป็นเครื่องเก่ามากๆ ต้องเลือกเป็น i386 เท่านั้น แต่ถ้าเป็นเครื่องใหม่ ให้เลือก x86_64 จะรองรับหน่วยความจำได้มากกว่า และใช้ประสิทธิภาพของเครื่องได้เต็มที่ ยากเหมือนกันที่จะบอกว่าเครื่องรุ่นไหน เก่าใหม่ขนาดไหน สามารถติดตั้ง x86_64 ได้ แนะนำ [...]]]></description>
			<content:encoded><![CDATA[<p>ข้อดีของลีนุกซ์ คือเราต้องการใช้ distribution ไหน เวอร์ชั่นเท่าไร ก็เข้าเว็บไซต์ (mirror site) เพื่อเลือกดาวน์โหลดไฟล์มาติดตั้งได้</p>
<p>โดยไฟล์ที่ดาวน์โหลดมาส่วนใหญ่จะเป็นไฟล์ ISO โหลดเสร็จสามารถนำมาเขียนใส่แผ่นซีดี หรือดีวีดี เพื่อใช้ติดตั้งบนเครื่องต่างๆ ได้</p>
<p>สำหรับ CentOS แนะนำให้เลือก CentOS 6 เวอร์ชั่นล่าสุด 6.2 เนื่องด้วยการพัฒนาปรับปรุงซอฟต์แวร์ต่างๆ เพื่อเพิ่มประสิทธิภาพ ความปลอดภัยของระบบมากขึ้น</p>
<p><span id="more-1774"></span></p>
<p>หากต้องการทราบรายละเอียดว่าเวอร์ชั่นใหม่มีอะไรบ้าง ให้คลิกลิ้งค์ Release Notes บนหน้าเว็บไซต์ของ CentOS (www.centos.org)</p>
<p><a href="http://spalinux.com/wp-content/uploads/2012/03/02-CentOS-6-Releases.png"><img class="alignnone size-full wp-image-1776" title="02-CentOS-6-Releases" src="http://spalinux.com/wp-content/uploads/2012/03/02-CentOS-6-Releases.png" alt="" width="848" height="328" /></a></p>
<p>&nbsp;</p>
<p>เลือก Download ได้สองแบบคือ i386 หรือ x86_64 ทั้งนี้ขึ้นอยู่กับเครื่องคอมพิวเตอร์ที่จะใช้ติดตั้ง</p>
<p>หากเป็นเครื่องเก่ามากๆ ต้องเลือกเป็น i386 เท่านั้น</p>
<p>แต่ถ้าเป็นเครื่องใหม่ ให้เลือก x86_64 จะรองรับหน่วยความจำได้มากกว่า และใช้ประสิทธิภาพของเครื่องได้เต็มที่</p>
<p>ยากเหมือนกันที่จะบอกว่าเครื่องรุ่นไหน เก่าใหม่ขนาดไหน สามารถติดตั้ง x86_64 ได้ แนะนำ ให้ลองลงแบบ x86_64 ดูก่อน ถ้าติดตั้งไม่ได้จริงๆ ค่อยใช้ i386</p>
<p>ตัวอย่างหน้าเว็บเมื่อคลิ้ก Download แบบ x86_64</p>
<p>ในหน้าเว็บ Download จะมีให้เลือกเว็บไซต์ (mirror) สำหรับการดาวน์โหลดไฟล์ ให้เลือกไซต์ที่คิดว่าใกล้กับคุณมากที่สุด</p>
<p><a href="http://spalinux.com/wp-content/uploads/2012/03/05-Mirror-list.png"><img class="alignnone size-full wp-image-1779" title="05-Mirror-list" src="http://spalinux.com/wp-content/uploads/2012/03/05-Mirror-list.png" alt="" width="800" height="362" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>ตัวอย่างเช่นเลือก mirror1.ku.ac.th หน้าเว็บแสดงไฟล์ต่างๆ มากมาย</p>
<p>สำหรับ CentOS 6.2 ที่จะใช้ติดตั้งบนเครื่อง x86_64 ได้นั้น ชื่อไฟล์จะขึ้นต้นด้วย &#8220;CentOS-6.2-x86_64-bin-DVD&#8221;</p>
<p>วิธีการที่จะโหลดไฟล์ได้นั้น มีสองวิธี</p>
<p>1. (ไม่แนะนำ เพราะจะกินแบนด์วิดท์ของเว็บไซต์มาก) ดาวน์โหลดโดยตรงจากเว็บไซต์ คลิ้กที่ไฟล์ &#8220;CentOS-6.2-x86_64-bin-DVD1.iso&#8221; และ &#8220;CentOS-6.2-x86_64-bin-DVD2.iso&#8221;</p>
<p>2. โหลดโดยใช้ bit torrent ให้คลิ้ก &#8220;CentOS-6.2-x86_64-bin-DVD1to2.torrent&#8221; เพื่อโหลดไฟล์ประเภท torrent แล้วใช้โปรแกรม bit torrent ช่วยโหลดให้อีกที</p>
<p><a href="http://spalinux.com/wp-content/uploads/2012/03/06-ku-mirror1.png"><img class="alignnone size-full wp-image-1780" title="06-ku-mirror1" src="http://spalinux.com/wp-content/uploads/2012/03/06-ku-mirror1.png" alt="" width="829" height="654" /></a></p>
<p>&nbsp;</p>
<h4>ข้อมูลอ้างอิง</h4>
<ul>
<li><a href="http://www.centos.org/" target="_blank">www.centos.org &#8211; The Community ENTerprise Operating System</a></li>
<li><a href="http://mirror1.ku.ac.th/centos/6.2/isos/x86_64/" target="_blank">http://mirror1.ku.ac.th/centos/6.2/isos/x86_64/</a></li>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://spalinux.com/2012/03/select-centos-version-to-install/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ติดตั้ง CentOS 6.2 : หน่วยความจำขั้นต่ำที่ต้องใช้</title>
		<link>http://spalinux.com/2012/03/centos-6-2-installation-minimum-memory-requirement</link>
		<comments>http://spalinux.com/2012/03/centos-6-2-installation-minimum-memory-requirement#comments</comments>
		<pubDate>Sat, 24 Mar 2012 15:14:44 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[CentOS 6]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux Installation]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[minimum memory requirement]]></category>

		<guid isPermaLink="false">http://spalinux.com/?p=1788</guid>
		<description><![CDATA[จาก Release Notes ของ CentOS 6.2 ในส่วนของ Known Issues หน่วยความจำขั้นต่ำ (minimum memory requirement) ของเครื่องที่จะติดตั้ง CentOS 6.2 ได้นั้น ต้องมีขนาด 392 MB ตัวอย่างหน้าจอการติดตั้ง หากเครื่องมีหน่วยความจำต่ำกว่า 392 MB เช่น 256 MB &#160; ในเวอร์ชั่นก่อน CentOS 5.x สามารถติดตั้งในโหมด text ธรรมดาได้ ซึ่งสามารถเลือกคอนฟิกติดตั้งได้อย่างสมบูรณ์ แต่ใน CentOS 6 การติดตั้งในโหมด text ธรรมดา จะไม่สามารถแก้ไขพาร์ทิชั่นของดิสก์ (disk partition layout) และเลือกชุดซอฟต์แวร์ (package selection) ได้ ต้องเลือกติดตั้งในโหมด GUI เท่านั้น ซึ่งเป็นโหมดดีฟอลต์อยู่แล้ว (Install or [...]]]></description>
			<content:encoded><![CDATA[<p>จาก Release Notes ของ CentOS 6.2 ในส่วนของ Known Issues หน่วยความจำขั้นต่ำ (minimum memory requirement) ของเครื่องที่จะติดตั้ง CentOS 6.2 ได้นั้น ต้องมีขนาด 392 MB<br />
<span id="more-1788"></span><br />
ตัวอย่างหน้าจอการติดตั้ง หากเครื่องมีหน่วยความจำต่ำกว่า 392 MB เช่น 256 MB</p>
<p><a href="http://spalinux.com/wp-content/uploads/2012/03/01-not-enough-RAM-to-install-CentOS-6.png"><img class="alignnone size-full wp-image-1790" title="01-not-enough-RAM-to-install-CentOS-6" src="http://spalinux.com/wp-content/uploads/2012/03/01-not-enough-RAM-to-install-CentOS-6.png" alt="" width="401" height="221" /></a></p>
<p>&nbsp;</p>
<p>ในเวอร์ชั่นก่อน CentOS 5.x สามารถติดตั้งในโหมด text ธรรมดาได้ ซึ่งสามารถเลือกคอนฟิกติดตั้งได้อย่างสมบูรณ์</p>
<p>แต่ใน CentOS 6 การติดตั้งในโหมด text ธรรมดา จะไม่สามารถแก้ไขพาร์ทิชั่นของดิสก์ (disk partition layout) และเลือกชุดซอฟต์แวร์ (package selection) ได้</p>
<p>ต้องเลือกติดตั้งในโหมด GUI เท่านั้น ซึ่งเป็นโหมดดีฟอลต์อยู่แล้ว (Install or upgrade an existing system) ตอนบู๊ตจากแผ่นดีวีดี</p>
<p>หน่วยความจำขั้นต่ำที่ต้องใช้เพื่อติดตั้งในโหมด GUI คือ 652 MB</p>
<p>ตัวอย่างหน้าจอการติดตั้ง หาก memory ต่ำกว่า 652 MB เช่น เครื่องมีหน่วยความจำ 512 MB</p>
<p><a href="http://spalinux.com/wp-content/uploads/2012/03/02-not-enough-RAM-to-use-the-graphical-installer.png"><img class="alignnone size-full wp-image-1791" title="02-not-enough-RAM-to-use-the-graphical-installer" src="http://spalinux.com/wp-content/uploads/2012/03/02-not-enough-RAM-to-use-the-graphical-installer.png" alt="" width="719" height="102" /></a></p>
<p>&nbsp;</p>
<p>แต่ถ้าติดตั้ง CentOS 6.2 เรียบร้อยแล้ว หน่วยความจำแค่ 256MB ก็สามารถบู๊ตรันลีนุกซ์ได้ ^-^ (128MB ไม่พอ)</p>
<p><a href="http://spalinux.com/wp-content/uploads/2012/03/03-256MB-RAM-can-run-CentOS-61.png"><img class="alignnone size-full wp-image-1793" title="03-256MB-RAM-can-run-CentOS-6" src="http://spalinux.com/wp-content/uploads/2012/03/03-256MB-RAM-can-run-CentOS-61.png" alt="" width="717" height="217" /></a></p>
<p>&nbsp;</p>
<p>ถ้าให้แนะนำ เครื่องที่จะใช้งานเพื่อรันเซอร์วิสต่างๆ ด้วย น่าจะมีหน่วยความจำขั้นต่ำ 1 GฺB หรือถ้าจะให้ดี ก็ 2 GB ขึ้นไป</p>
<h4><span style="text-decoration: underline;">ข้อมูลอ้างอิง</span></h4>
<ul>
<li><a href="http://wiki.centos.org/Manuals/ReleaseNotes/CentOS6.2" target="_blank">CentOS 6.2 Release Notes</a></li>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://spalinux.com/2012/03/centos-6-2-installation-minimum-memory-requirement/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>กระจายงาน Interrupts ที่ได้รับ ให้ Multi-CPU, Cores</title>
		<link>http://spalinux.com/2011/05/distribute_interrupts_over_processors_cores</link>
		<comments>http://spalinux.com/2011/05/distribute_interrupts_over_processors_cores#comments</comments>
		<pubDate>Sun, 29 May 2011 17:01:39 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[CPU]]></category>
		<category><![CDATA[Interrupts]]></category>
		<category><![CDATA[irqbalance]]></category>

		<guid isPermaLink="false">http://spalinux.com/?p=1343</guid>
		<description><![CDATA[หากคุณประสบปัญหา ssh login เข้าเครื่อง Linux Server แล้วต้องรอหลายวินาที กว่า prompt login จะขึ้น แต่หลังจาก login เข้าไปในระบบได้ ก็สามารถรันคำสั่งต่างๆ ทำงานได้ ไม่ได้ช้ามากแต่ประการใด บทความนี้อาจช่วยคุณแก้ไขปัญหาได้ คำสั่งที่ใช้ดูรายงานการทำงานของ CPU คือ mpstat อยู่ในชุดโปรแกรม sysstat รันคำสั่ง mpstat ตามด้วยออปชั่น &#8220;-P ALL&#8221; เพื่อดูผลลัพธ์แยกตาม CPU หมายเหตุ นอกจากคำสั่ง mpstat แล้ว อาจใช้คำสั่ง top ดูโหลดของ CPU ก็ได้ [root@devel ~]# mpstat -P ALL Linux 2.6.18-194.el5 (devel.example.com)   05/22/2011 04:00:49 PM  CPU   %user   %nice    %sys %iowait    [...]]]></description>
			<content:encoded><![CDATA[<p>หากคุณประสบปัญหา ssh login เข้าเครื่อง Linux Server แล้วต้องรอหลายวินาที กว่า prompt login จะขึ้น</p>
<p>แต่หลังจาก login เข้าไปในระบบได้ ก็สามารถรันคำสั่งต่างๆ ทำงานได้ ไม่ได้ช้ามากแต่ประการใด</p>
<p>บทความนี้อาจช่วยคุณแก้ไขปัญหาได้</p>
<p><span id="more-1343"></span></p>
<p>คำสั่งที่ใช้ดูรายงานการทำงานของ CPU คือ mpstat อยู่ในชุดโปรแกรม sysstat</p>
<p>รันคำสั่ง mpstat ตามด้วยออปชั่น &#8220;-P ALL&#8221; เพื่อดูผลลัพธ์แยกตาม CPU</p>
<p>หมายเหตุ นอกจากคำสั่ง mpstat แล้ว อาจใช้คำสั่ง top ดูโหลดของ CPU ก็ได้</p>
<pre>[root@devel ~]# <strong>mpstat -P ALL
</strong>Linux 2.6.18-194.el5 (devel.example.com)   05/22/2011</pre>
<pre>04:00:49 PM  CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
04:00:49 PM  all   25.13    0.00    0.09    0.14    0.01    0.08    0.00   74.55   2267.62
04:00:49 PM    <span style="color: #ff0000;"><strong>0</strong></span>    9.39    0.00    0.16    1.04    0.09    0.92    0.00   88.40   <span style="color: #ff0000;"><strong>2267.62
</strong></span>04:00:49 PM    1   21.11    0.00    0.11    0.17    0.00    0.00    0.00   78.62      0.00
04:00:49 PM    2   27.66    0.00    0.09    0.09    0.00    0.00    0.00   72.15      0.00
04:00:49 PM    3   28.54    0.00    0.09    0.07    0.00    0.00    0.00   71.30      0.00
04:00:49 PM    4   31.10    0.00    0.10    0.07    0.00    0.00    0.00   68.73      0.00
04:00:49 PM    5   29.38    0.00    0.10    0.05    0.00    0.00    0.00   70.47      0.00
04:00:49 PM    6   16.91    0.00    0.08    0.04    0.00    0.00    0.00   82.97      0.00
04:00:49 PM    7   20.46    0.00    0.08    0.04    0.00    0.00    0.00   79.42      0.00</pre>
<p>จากคำสั่ง mpstat นี้จะเห็นว่า เฉพาะ CPU0 เท่านั้นที่มีตัวเลข &#8220;intr/s&#8221;  ไม่เท่ากับ 0</p>
<p>&#8220;intr/s&#8221; คือจำนวน interrupts (IRQ) ที่ CPU ได้รับ เฉลี่ยต่อ วินาที</p>
<p>การ ssh login เข้าเครื่อง ถือเป็นการ interrupts อย่างหนึ่ง ที่ต้องมี CPU มาทำหน้าที่รับ ก่อนส่งไปประมวลผลต่อไป</p>
<h4>การแก้ไข</h4>
<p>โปรแกรมที่สามารถช่วยกระจายการรับ interrupts ให้ CPU หลายตัวได้ คือ irqbalance</p>
<p>โดยดีฟอลต์ของการติดตั้ง Linux ส่วนใหญ่แล้ว จะรัน irqbalance ด้วย แต่ถ้าปิดไป แนะนำให้รันขึ้นมาใหม่ และรันทิ้งไว้ตลอดเวลา สำหรับเครื่องที่มี CPU หลายตัว หรือหลาย Core</p>
<p>ตรวจสอบการรัน irqbalance ด้วยคำสั่ง service หรือคำสั่ง ps</p>
<pre>[root@devel ~]# <strong>service irqbalance status
</strong>irqbalance is stopped
[root@devel ~]#</pre>
<pre>[root@devel ~]# <strong>ps -ef | grep irqbalance
</strong>[root@devel ~]#</pre>
<p>รันเซอร์วิส irqbalance</p>
<pre>[root@devel ~]# <strong>service irqbalance start
</strong>Starting irqbalance:                                       [  OK  ]</pre>
<p>ตรวจสอบดูโปรเซสอีกครั้ง</p>
<pre>[root@devel ~]# <strong>ps -ef | grep irqbalance
</strong>root     19003     1  0 16:03 ?        00:00:00 irqbalance</pre>
<p>หลังจากรันเซอร์วิส irqbalance ไปซักพักแล้ว ลองรันคำสั่ง mpstat อยู่เรื่อยๆ จะเห็นตัวเลข &#8220;intr/s&#8221; ของ CPU อื่นๆ เริ่มขึ้นมา แสดงว่า เริ่มมีการกระจาย IRQ ให้ CPU หลายๆ ตัวแล้ว</p>
<pre>[root@devel ~]# <strong>mpstat -P ALL
</strong>Linux 2.6.18-194.el5 (devel.example.com)   05/22/2011</pre>
<pre>04:05:10 PM  CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
04:05:10 PM  all   25.13    0.00    0.09    0.14    0.01    0.08    0.00   74.55   2268.53
04:05:10 PM    0    9.39    0.00    0.16    1.04    0.09    0.92    0.00   88.40   2267.99
04:05:10 PM    1   21.11    0.00    0.11    0.17    0.00    0.00    0.00   78.62      0.00
04:05:10 PM    2   27.66    0.00    0.09    0.09    0.00    0.00    0.00   72.15      0.00
04:05:10 PM    3   28.54    0.00    0.09    0.07    0.00    0.00    0.00   71.30      <span style="color: #ff0000;">0.01
</span>04:05:10 PM    4   31.10    0.00    0.10    0.07    0.00    0.00    0.00   68.73      <span style="color: #ff0000;"><strong>0.01
</strong></span>04:05:10 PM    5   29.37    0.00    0.10    0.05    0.00    0.00    0.00   70.47      <strong><span style="color: #ff0000;">0.01
</span></strong>04:05:10 PM    6   16.91    0.00    0.08    0.04    0.00    0.00    0.00   82.97      <span style="color: #ff0000;"><strong>0.08
</strong></span>04:05:10 PM    7   20.46    0.00    0.08    0.04    0.00    0.00    0.00   79.42      <strong><span style="color: #ff0000;">0.09</span></strong></pre>
<p>ลอง ssh login อีกครั้ง น่าจะดีขึ้น</p>
<h4>ข้อมูลอ้างอิง</h4>
<ul>
<li><a href="http://spalinux.com/2008/06/fedora_9_minimal_service_description">รายละเอียดของแต่ละ service ใน Fedora 9</a></li>
<li><a href="http://spalinux.com/2011/05/using_sysstat_to_monitor_system">ตรวจสอบการทำงานเครื่องด้วย sysstat</a></li>
<li><a href="http://www.irqbalance.org/" target="_blank">What is irqbalance?</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://spalinux.com/2011/05/distribute_interrupts_over_processors_cores/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ตรวจสอบการทำงานเครื่องด้วย sysstat</title>
		<link>http://spalinux.com/2011/05/using_sysstat_to_monitor_system</link>
		<comments>http://spalinux.com/2011/05/using_sysstat_to_monitor_system#comments</comments>
		<pubDate>Sun, 22 May 2011 11:28:58 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[sysstat]]></category>
		<category><![CDATA[tuning]]></category>

		<guid isPermaLink="false">http://spalinux.com/?p=1338</guid>
		<description><![CDATA[ก่อนที่จะปรับแต่งค่าคอนฟิกเพื่อเพิ่มพลังให้เครื่องได้นั้น  เราต้องเก็บรายละเอียดสถิติการทำงานของเครื่องก่อน เพื่อวิเคราะห์ดูว่า ส่วนไหนมีการใช้งานมากน้อยอย่างไร และนำผลที่ได้มาเพื่อเปรียบเทียบ วัดผลการทดสอบ ก่อนและหลังการแก้ไขคอนฟิก จึงจำเป็นต้องติดตั้งโปรแกรมเพิ่มเติม โปรแกรมที่นิยมใช้กัน คือ iostat, sar, mpstat ซึ่งถูกรวมไว้เป็นชุดโปรแกรมชื่อ sysstat ไฟล์ rpm สำหรับติดตั้ง ถ้าเป็น RedHat, CentOS จะมีอยู่ในแผ่นดีวีดีติดตั้งอยู่แล้ว แต่ถ้าเป็น Fedora ต้องดาวน์โหลดเพิ่มเติมจาก Fedora Everything ตัวอย่างการติดตั้ง sysstat บน CentOS 5.5 [root@devel ~]# mount /dev/cdrom   /media [root@devel ~]# cd /media/CentOS/ [root@devel CentOS]# ls -l sysstat-7.0.2-3.el5.x86_64.rpm -rw-rw-r-- 4 root root 177451 Mar 17  2009 sysstat-7.0.2-3.el5.x86_64.rpm [...]]]></description>
			<content:encoded><![CDATA[<p>ก่อนที่จะปรับแต่งค่าคอนฟิกเพื่อเพิ่มพลังให้เครื่องได้นั้น  เราต้องเก็บรายละเอียดสถิติการทำงานของเครื่องก่อน เพื่อวิเคราะห์ดูว่า ส่วนไหนมีการใช้งานมากน้อยอย่างไร และนำผลที่ได้มาเพื่อเปรียบเทียบ วัดผลการทดสอบ ก่อนและหลังการแก้ไขคอนฟิก</p>
<p>จึงจำเป็นต้องติดตั้งโปรแกรมเพิ่มเติม โปรแกรมที่นิยมใช้กัน คือ iostat, sar, mpstat ซึ่งถูกรวมไว้เป็นชุดโปรแกรมชื่อ sysstat</p>
<p><span id="more-1338"></span></p>
<p>ไฟล์ rpm สำหรับติดตั้ง ถ้าเป็น RedHat, CentOS จะมีอยู่ในแผ่นดีวีดีติดตั้งอยู่แล้ว แต่ถ้าเป็น Fedora ต้องดาวน์โหลดเพิ่มเติมจาก Fedora Everything</p>
<p>ตัวอย่างการติดตั้ง sysstat บน CentOS 5.5</p>
<pre>[root@devel ~]# <strong>mount /dev/cdrom   /media</strong></pre>
<pre>[root@devel ~]# <strong>cd /media/CentOS/
</strong>[root@devel CentOS]# <strong>ls -l sysstat-7.0.2-3.el5.x86_64.rpm</strong>
-rw-rw-r-- 4 root root 177451 Mar 17  2009 sysstat-7.0.2-3.el5.x86_64.rpm</pre>
<pre>[root@devel CentOS]# <strong>rpm -ivh sysstat-7.0.2-3.el5.x86_64.rpm
</strong>Preparing...                ########################################### [100%]
   1:sysstat                ########################################### [100%]</pre>
<pre>[root@devel CentOS]# <strong>cd ~
</strong>[root@devel ~]# <strong>umount /media
</strong>[root@devel ~]#</pre>
<h4>iostat วัดการใช้งาน Disk</h4>
<p>ตัวอย่างผลลัพธ์จากคำสั่ง iostat แสดงปริมาณ การ read/write โดยแยกตาม Disk/Partition</p>
<pre>[root@devel ~]# <strong>iostat
</strong>Linux 2.6.18-194.el5 (devel.example.com)   05/22/2011</pre>
<pre>avg-cpu:  %user   %nice %system %iowait  %steal   %idle
          25.10    0.00    0.18    0.14    0.00   74.58</pre>
<pre>Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
sda               3.24        18.36       213.87   69399070  808554725
sda1              0.00         0.00         0.00       1602          4
sda2              2.82        11.13       139.51   42073602  527428384
sda3              0.20         7.04        29.05   26602763  109816920
sda4              0.22         0.19        45.31     720679  171309417</pre>
<h4>sar วัดการใช้งาน CPU</h4>
<p>ตัวอย่างผลลัพธ์จากคำสั่ง sar เพื่อตรวจสอบ % การใช้งาน CPU โดยวัดค่าทุกๆ 10 วินาที จำนวน 3 ครั้ง</p>
<pre>[root@devel ~]# <strong>sar 10 3
</strong>Linux 2.6.18-194.el5 (devel.example.com)   05/22/2011</pre>
<pre>06:16:45 PM       CPU     %user     %nice   %system   %iowait    %steal     %idle
06:16:55 PM       all      0.00      0.00      0.01      0.03      0.00     99.97
06:17:05 PM       all      0.17      0.00      0.06      0.08      0.00     99.70
06:17:15 PM       all      0.01      0.00      0.00      0.06      0.00     99.93
Average:          all      0.06      0.00      0.02      0.05      0.00     99.87</pre>
<pre> </pre>
]]></content:encoded>
			<wfw:commentRss>http://spalinux.com/2011/05/using_sysstat_to_monitor_system/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>แก้ปัญหาติดตั้ง CentOS 5.5 ใน VirtualBox Guest ไม่ได้</title>
		<link>http://spalinux.com/2010/07/cannot_intall_centos_5-5_in_virtualbox_guest</link>
		<comments>http://spalinux.com/2010/07/cannot_intall_centos_5-5_in_virtualbox_guest#comments</comments>
		<pubDate>Sun, 11 Jul 2010 14:45:51 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux Installation]]></category>
		<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[I/O APIC]]></category>

		<guid isPermaLink="false">http://spalinux.com/?p=1118</guid>
		<description><![CDATA[ช่วงนี้ทดสอบ VirtualBox บนหลายๆ OS ทั้งเป็น Host และ Guest มาติดปัญหาตอนพยายามลง CentOS 5.5 ใน Guest คือบู๊ตเครื่องแล้วค้างไม่สามารถติดตั้งได้ หลังจากหาวิธีการแก้ไขปัญหาได้แล้ว เลยมาแชร์กัน PCI: Using ACPI for IRQ routing PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report NetLabel: Initializing NetLabel:  domain hash size = 128 NetLabel:  protocols = UNLABELED CIPSOv4 NetLabel:  unlabeled traffic allowed by default ACPI: [...]]]></description>
			<content:encoded><![CDATA[<p>ช่วงนี้ทดสอบ VirtualBox บนหลายๆ OS ทั้งเป็น Host และ Guest มาติดปัญหาตอนพยายามลง CentOS 5.5 ใน Guest คือบู๊ตเครื่องแล้วค้างไม่สามารถติดตั้งได้ หลังจากหาวิธีการแก้ไขปัญหาได้แล้ว เลยมาแชร์กัน</p>
<pre><span id="more-1118"></span>PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
ACPI: DMAR not present
<span style="color: #ff0000;">PCI-GART: No AMD northbridge found.
</span>NET: Registered protocol family 2</pre>
<p>คอนฟิกที่ใช้สร้าง Guest คือ</p>
<pre>$ <strong>VBoxManage showvminfo "CentOS-5.5"
</strong>Oracle VM VirtualBox Command Line Management Interface Version 3.2.6
(C) 2005-2010 Oracle Corporation
All rights reserved.</pre>
<pre>Name:            CentOS-5.5
Guest OS:        Red Hat (64 bit)
UUID:            xxx
...
Memory size:     2048MB
Page Fusion:     off
VRAM size:       8MB
HPET:            off
Number of CPUs:  1
Synthetic Cpu:   off
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): Floppy
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI:            on
<strong><span style="color: #0000ff;">IOAPIC:          off
</span></strong>PAE:             on
...</pre>
<p>หลังจากค้นหาวิธีการแก้ไขด้วย google ก็พบวิธีแก้ไข คือต้องเปิดคุณสมบัติ I/O APIC</p>
<p>ปิด Guest OS แล้วใช้คำสั่ง VBomxManage modifyvm เพื่อแก้ไขคอนฟิกของ Guest วิธีการเปิด/ปิด คุณสมบัติ I/O APIC</p>
<pre>$ VBoxManage modifyvm &lt;uuid|name&gt; [--ioapic on|off]</pre>
<p>ตัวอย่างการเปิดคุณสมบัติ I/O APIC</p>
<pre>$ <strong>VBoxManage modifyvm "CentOS-5.5" --ioapic on
</strong>Oracle VM VirtualBox Command Line Management Interface Version 3.2.6
(C) 2005-2010 Oracle Corporation
All rights reserved.</pre>
<p>ตรวจสอบคอนฟิกหลังการแก้ไข</p>
<pre>$ <strong>VBoxManage showvminfo "CentOS-5.5"
</strong>...
ACPI:            on
<strong><span style="color: #0000ff;">IOAPIC:          on
</span></strong>PAE:             on
...</pre>
<p>เปิด Guest OS อีกครั้งแล้วทดลองติดตั้ง CentOS 5.5 อีกที</p>
<h4>ข้อมูลอ้างอิง</h4>
<ul>
<li><a href="http://forums.virtualbox.org/viewtopic.php?f=3&amp;t=19658" target="_blank">Unable to install Centos 5.2 64bit as guest.</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://spalinux.com/2010/07/cannot_intall_centos_5-5_in_virtualbox_guest/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ขนาดหน่วยความจำกับการติดตั้ง Solaris 10_u8 x86</title>
		<link>http://spalinux.com/2010/03/memory_size_with_solaris_10_u8_x86_installation</link>
		<comments>http://spalinux.com/2010/03/memory_size_with_solaris_10_u8_x86_installation#comments</comments>
		<pubDate>Sat, 06 Mar 2010 07:15:25 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[solaris 10]]></category>

		<guid isPermaLink="false">http://spalinux.com/?p=1092</guid>
		<description><![CDATA[ช่วงนี้รับงานที่ต้องใช้ Solaris 10 เป็นหลัก เลยติดตั้ง Solaris ใน VMware Server เพื่อไว้เป็นเครื่องทดสอบคำสั่ง และโปรแกรมต่างๆ บทความนี้ขอนำประสบการณ์มาแชร์ให้กัน เผื่อเป็นประโยชน์สำหรับผู้ติดปัญหาการติดตั้ง Solaris 10 x86 เหมือนผู้เขียน ในที่นี้ใช้ไฟล์ iso (sol-10-u8-ga-x86-dvd.iso) จากเว็บไซต์ sun.com เพื่อติดตั้งบน VMware Server คอนฟิก guest ที่สร้างไว้ บน VMware Server เวอร์ชั่น 1.0.10 คือ Guest Operating System: Solaris 10 64-bit Memory 512 MB Disk 37.3 GB พยายามติดตั้งอยู่นานก็ไม่สามารถติดตั้งได้ ขึ้น error SunOS Release 5.10 Version Generic_141445-09 32-bit [...]]]></description>
			<content:encoded><![CDATA[<p>ช่วงนี้รับงานที่ต้องใช้ Solaris 10 เป็นหลัก เลยติดตั้ง Solaris ใน VMware Server เพื่อไว้เป็นเครื่องทดสอบคำสั่ง และโปรแกรมต่างๆ</p>
<p>บทความนี้ขอนำประสบการณ์มาแชร์ให้กัน เผื่อเป็นประโยชน์สำหรับผู้ติดปัญหาการติดตั้ง Solaris 10 x86 เหมือนผู้เขียน</p>
<p><span id="more-1092"></span></p>
<p>ในที่นี้ใช้ไฟล์ iso (sol-10-u8-ga-x86-dvd.iso) จากเว็บไซต์ sun.com เพื่อติดตั้งบน VMware Server</p>
<p>คอนฟิก guest ที่สร้างไว้ บน VMware Server เวอร์ชั่น 1.0.10 คือ</p>
<p>Guest Operating System: Solaris 10 64-bit<br />
Memory 512 MB<br />
Disk 37.3 GB</p>
<p>พยายามติดตั้งอยู่นานก็ไม่สามารถติดตั้งได้ ขึ้น error</p>
<pre>SunOS Release 5.10 Version Generic_141445-09 32-bit
Copyright 1983-2009 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.</pre>
<pre><span style="color: #ff0000;">panic[cpu0]/thread=fec20160: page_unlock: page fe2b57d0 is not locked.</span></pre>
<p><a href="http://spalinux.com/wp-content/uploads/2010/03/01-Install_Solaris_10_x86_panic_with_memory_512MB.png"><img title="Install Solaris 10 x86 - panic with memory 512MB" src="http://spalinux.com/wp-content/uploads/2010/03/01-Install_Solaris_10_x86_panic_with_memory_512MB.png" alt="" width="720" height="400" /></a></p>
<p>หลังจากค้นหาข้อมูลอยู่นาน ก็พบต้นตอของปัญหาจากเว็บไซต์ <a href="http://forums.sun.com/thread.jspa?threadID=5411801" target="_blank">Installation &#8211; Solaris 10 Installation error on Thinkpad A20m &#8211; Please help!!!!!!! PLEASE!<br />
</a></p>
<blockquote><p>S10U8 cannot hit a 512Mb memory system and I suspect you are there. In Parallels you can just up the memory slightly. At least in virtual box 512</p>
<p>will give the same error while 609mb does not.</p></blockquote>
<p>ทดลองเปลี่ยนคอนฟิกของ memory เป็น 768 MB ผลเป็นว่าสามารถติดตั้ง Solaris 10 ได้ แต่สังเกตว่าน่าจะเป็นการติดตั้ง Solaris 10 แบบ 32-bit</p>
<pre>SunOS Release 5.10 Version Generic_141445-09 <span style="color: #0000ff;">32-bit</span></pre>
<p><a href="http://spalinux.com/wp-content/uploads/2010/03/02-Install_Solaris_10_x86_32-bit_with_memory_768MB.png"><img title="Install Solaris 10 x86 32-bit with memory 768MB" src="http://spalinux.com/wp-content/uploads/2010/03/02-Install_Solaris_10_x86_32-bit_with_memory_768MB.png" alt="" width="720" height="400" /></a></p>
<p>ทดลองเพิ่มขนาด memory เป็น 1024 MB ผลที่ได้ จะเป็นการติดตั้ง Solaris 10 แบบ 64-bit</p>
<pre>SunOS Release 5.10 Version Generic_141445-09 64-bit</pre>
<p><a href="http://spalinux.com/wp-content/uploads/2010/03/03-Install_Solaris_10_x86_64-bit_with_memory_1024MB.png"><img title="Install Solaris 10 x86 64-bit with memory 1024MB" src="http://spalinux.com/wp-content/uploads/2010/03/03-Install_Solaris_10_x86_64-bit_with_memory_1024MB.png" alt="" width="720" height="400" /></a></p>
<p>แต่ไม่ว่าจะคอนฟิกขนาด Memory 768 MB หรือ 1024 MB ตอนติดตั้ง สุดท้าย Solaris ที่ได้จะเป็นแบบ 64-bit</p>
<p>หมายเหตุ ไม่ได้ทดสอบบนเครื่อง PC จริงๆ ว่าได้ผลเหมือนกันหรือไม่ ลองกันดูนะครับ</p>
<h4>ข้อมูลอ้างอิง</h4>
<ul>
<li><a href="http://www.sun.com/software/solaris/get.jsp" target="_blank">Get Solaris 10</a></li>
<li><a href="http://forums.sun.com/thread.jspa?threadID=5411801" target="_blank">Installation &#8211; Solaris 10 Installation error on Thinkpad A20m &#8211; Please help!!!!!!! PLEASE!</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://spalinux.com/2010/03/memory_size_with_solaris_10_u8_x86_installation/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>รหัสย่อของ ASUS Motherboard</title>
		<link>http://spalinux.com/2009/12/asus_motherboard_model_system</link>
		<comments>http://spalinux.com/2009/12/asus_motherboard_model_system#comments</comments>
		<pubDate>Mon, 07 Dec 2009 16:53:42 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[ASUS Motherboard]]></category>

		<guid isPermaLink="false">http://spalinux.com/?p=1042</guid>
		<description><![CDATA[ไม่ได้ติดตาม spec เครื่องคอมพิวเตอร์มานาน วันนี้ไปเดินดูห้างชื่อดัง เพื่อจะลองซื้อเครื่องประกอบ เวียนหัวกับสินค้าที่หลากหลายมากๆ โดยเฉพาะส่วนสำคัญหลัก Motherboard หรือ Mainboard นั่นเอง กลับมาตั้งหลักเพื่อพยายามศึกษาว่าแต่ละรุ่นรายละเอียดต่างกันหรือไม่ อย่างไร เพราะราคาใกล้เคียงกันมาก พอดีเจอกับเว็บที่มีคนช่วยไขข้อกระจ่างเกี่ยวกับรหัสย่อต่างๆ ที่ ASUS ใช้ในการตั้งชื่อ Motherboard เลยตัดมาบางส่วน และแนะนำลิ้งค์ไว้ดูกัน Asus yyxxv-zz ww/v yy = CPU type xx = Chipset type v = Feature code 1 -zz = Dash-code ww = Feature code 2   CPU type depicts what kind of processor socket the [...]]]></description>
			<content:encoded><![CDATA[<p>ไม่ได้ติดตาม spec เครื่องคอมพิวเตอร์มานาน วันนี้ไปเดินดูห้างชื่อดัง เพื่อจะลองซื้อเครื่องประกอบ เวียนหัวกับสินค้าที่หลากหลายมากๆ โดยเฉพาะส่วนสำคัญหลัก Motherboard หรือ Mainboard นั่นเอง</p>
<p>กลับมาตั้งหลักเพื่อพยายามศึกษาว่าแต่ละรุ่นรายละเอียดต่างกันหรือไม่ อย่างไร เพราะราคาใกล้เคียงกันมาก</p>
<p>พอดีเจอกับเว็บที่มีคนช่วยไขข้อกระจ่างเกี่ยวกับรหัสย่อต่างๆ ที่ ASUS ใช้ในการตั้งชื่อ Motherboard เลยตัดมาบางส่วน และแนะนำลิ้งค์ไว้ดูกัน</p>
<p><span id="more-1042"></span></p>
<blockquote>
<p style="font-weight: bold;">Asus yyxxv-zz ww/v</p>
<p>yy = CPU type</p>
<p>xx = Chipset type</p>
<p>v = Feature code 1</p>
<p>-zz = Dash-code</p>
<p>ww = Feature code 2</p></blockquote>
<p> </p>
<ul>
<li><span style="font-weight: bold;">CPU type</span> depicts what kind of processor socket the board possesses</li>
<li><span style="font-weight: bold;">Chipset type</span> code changes according to the motherboard&#8217;s chipset</li>
<li><span style="font-weight: bold;">Dash-code</span> determines the type of board</li>
<li><span style="font-weight: bold;">Feature code</span><span style="font-weight: bold;"> 2</span> will change depending on the market that the board is targeted at</li>
<li><span style="font-weight: bold;">Feature Code 1</span> will change depending on things like different memory technologies than other boards in the series</li>
</ul>
<p> </p>
<ul>
<li>A motherboard with no dash-code is generally the <span style="font-weight: bold;">&#8220;vanilla representative&#8221;</span> board in a series. In this case: the <span style="font-weight: bold;">P5K</span>.</li>
<li>The <span style="font-weight: bold;">P5K SE</span> is a feature-reduced variant of the P5K. I like to refer the <span style="font-weight: bold;">&#8220;SE&#8221;</span> as <span style="font-weight: bold;">&#8220;Slow Edition.&#8221;</span></li>
<li><span style="font-weight: bold;">P5K-VM</span> is a Micro-ATX board. <span style="font-weight: bold;">&#8220;VM&#8221;</span> stands for <span style="font-weight: bold;">&#8220;Video Micro.&#8221;</span> (Video as in an IGP, and Micro as in micro-ATX.) This board uses the G33 chipset (with IGP, no less.)</li>
<li><span style="font-weight: bold;">P5KR</span> is the exact same as the P5K except that it drops the standard ICH9 southbridge for the RAIDable ICH9R chip. <span style="font-weight: bold;">&#8220;R&#8221;</span> stands, quite obviously, for <span style="font-weight: bold;">RAID.</span> Newer boards seperate the <span style="font-weight: bold;">R</span> from the rest of the model name, however, like the P5Q-SE <span style="font-weight: bold;">R</span>.</li>
<li><span style="font-weight: bold;">P5K-E</span> is a more feature-ridden variant of the standard P5K, with things like eSATA ports and WiFi cards. <span style="font-weight: bold;">&#8220;E&#8221;</span> stands for <span style="font-weight: bold;">&#8220;Enhanced.&#8221;</span></li>
<li>The <span style="font-weight: bold;">P5KC</span> is a P5K with four DDR2 slots and two DDR3 memory slots on it. <span style="font-weight: bold;">&#8220;C&#8221;</span> stands for <span style="font-weight: bold;">&#8220;Combo,&#8221;</span> as in <span style="font-style: italic;">Combo Memory.</span></li>
<li>The <span style="font-weight: bold;">P5K SE/EPU</span> and <span style="font-weight: bold;">P5K/EPU</span> are updated boards that add the Asus EPU chip for power savings. In this case, that P5K-SE/EPU has the exact same layout as a standard <span style="font-weight: bold;">SE</span>, while the P5K/EPU uses a brand new layout that in some cases is better than the original P5K.</li>
<li>The <span style="font-weight: bold;">P5K PRO</span> is a P5K/EPU using ICH9R instead of ICH9 with two more SATA ports, along with an additional heatsink covering the VRMs up top. <span style="font-weight: bold;">&#8220;PRO&#8221;</span> is usually above <span style="font-weight: bold;">vanilla</span> and below <span style="font-weight: bold;">&#8220;E.&#8221;</span></li>
<li>The <span style="font-weight: bold;">P5K Deluxe</span> is exactly what it sounds like: a high-end P5K. <span style="font-weight: bold;">&#8220;Deluxe&#8221;</span> is above <span style="font-weight: bold;">&#8220;E&#8221;</span> but below <span style="font-weight: bold;">&#8220;Premium.&#8221;</span></li>
<li>The <span style="font-weight: bold;">P5K3 Deluxe</span> switches memory technologies: DDR3 instead of DDR2.</li>
<li><span style="font-weight: bold;">P5K3 Premium BP</span> is the second highest-end board in the P5K series, with stuff like onboard irreplacable DDR3 memory. Generally, expect ridiculous stuff like that. Only <span style="font-weight: bold;">&#8220;WS&#8221;</span> is higher than <span style="font-weight: bold;">&#8220;Premium,&#8221;</span> and in many cases it isn&#8217;t.</li>
<li><span style="font-weight: bold;">P5K WS</span> is a board designed for workstation machines. As such, this board&#8217;s got a PCI-X slot, along with other workstation-required features. <span style="font-weight: bold;">&#8220;WS&#8221;</span> quite obviously stands for <span style="font-weight: bold;">&#8220;Workstation.&#8221;</span></li>
</ul>
<p> </p>
<p><span style="font-weight: bold;">ที่มา <a href="http://yertech.blogspot.com/2008/08/asus-motherboard-model-systemasus.html" target="_blank">http://yertech.blogspot.com/2008/08/asus-motherboard-model-systemasus.html</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://spalinux.com/2009/12/asus_motherboard_model_system/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

