Oct 05
hdpram เป็นโปรแกรมตัวเล็กๆ ที่สั่งงานผ่าน command line สำหรับ Linux และ Windows เพื่อตั้งค่า และดูข้อมูลทางด้านฮาร์ดแวร์ของฮาร์ดิสก์ SATA และ IDE นอกจากนั้นยังสามารถตั้งค่าต่างๆ เช่น drive caches, sleep mode, power management, acoustic management, และ DMA
hdparm เป็น free software ภายใต้ข้อกำหนดของ BSD license.
การใช้งาน
hdparm [flags] [device]
ตัวอย่าง:
Turn on DMA for the first hard drive.
hdparm -d1 /dev/hda
Turn off DMA for the first hard drive
hdparm -d0 /dev/hda
Test cache read performance of the first hard drive
hdparm -T /dev/hda
Test read performance of the first hard drive
hdparm -t /dev/hda
ที่มา : http://en.wikipedia.org/wiki/Hdparm
VN:F [1.8.3_1051]
Rating: 0.0/10 (0 votes cast)
VN:F [1.8.3_1051]
Sep 21
ตัวผมเองไม่คุ้นเคยกับ Mac เลยซักนิด แต่ได้มีโอกาสใช้บ้างบางครั้งบางคราว
เรื่องมีอยู่ว่าผมนำ Flash Drive ติดไวรัสมาลบไฟล์ที่เครื่อง Mac ไปอยู่ใน Trash แต่แล้วไม่สามารถ Empty Trash ได้ จึงค้นหาข้อมูลใน Internet ได้ความว่า ไฟล์ที่โดน Locked อยู่จะไม่สามารถลบออกจาก Trash ด้วยวิธีธรรมดาได้ ให้ใช้วิธีดังนี้
- Ctrl+Click ที่ Trash
- Option+Click ที่ Empty Trash
แค่นี้ไฟล์ใน Trash ก็จะหายไปหมดแล้ว
ที่มา :
- http://www.macmuemai.com/forum/topic/657
- http://freemac.net/modules.php?name=Forums&file=viewtopic&t=34804
VN:F [1.8.3_1051]
Rating: 7.5/10 (2 votes cast)
VN:F [1.8.3_1051]
Aug 27
ติดตั้ง smartmontools
sudo apt-get install smartmontools |
ทำไมคุณต้องการใช้ SmartMonTools
แพคเกจ smartmontools มีโปรแกรมอรรถประโยชน์สองโปรแกรม คือ smartctl และ smartd เพื่อควบคุมและตรวจสอบระบบการเก็บรักษาโดยใช้ Self-Monitoring, การวิเคราะห์และการรายงานด้วย S.M.A.R.T. ที่ถูกรวมเข้าไว้ในฮาร์ดดิสก์ ATA และ SCSI สมัยใหม่ มันมาจากชุด smartsuite และรวมถึงการสนับสนุนดิสก์ ATA/ATAPI-5 ควรใช้กับระบบ Linux ที่ทันสมัย
ตรวจสอบจำนวน และชื่อเรียกฮาร์ดดิสก์ ดังนี้
ขอดูข้อมูลฮาร์ดดิสก์ ดังนี้
sudo smartctl -i /dev/hda |
หรือ
sudo smartctl -i /dev/sda |
ทดสอบฮาร์ดดิสก์แบบเร็ว
sudo smartctl -t short /dev/sda |
รอประมาณ 1-2 นาที แล้วใช้คำสั่งต่อไปนี้ เพื่อดูผลการทดสอบ
sudo smartctl -l selftest /dev/sda |
การอ่านค่าอุณหภูมิของฮาร์ดดิสก์
sudo smartctl -A /dev/sda|grep "Temperature_Celsius" |
VN:F [1.8.3_1051]
Rating: 9.3/10 (3 votes cast)
VN:F [1.8.3_1051]
Rating: +3 (from 3 votes)
Recent Comments