Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบ >> Windows

วิธีใช้ Perfmon หรือ Performance Monitor ใน Windows 11/10

Performance Monitor ที่นำเสนอใน Windows เป็นเครื่องมือในตัวที่ดีซึ่งช่วยให้คุณตรวจสอบและศึกษาว่าแอปพลิเคชันที่คุณรัน ส่งผลต่อประสิทธิภาพของคอมพิวเตอร์ของคุณอย่างไร ทั้งใน real-time และโดยการเก็บข้อมูล log สำหรับการวิเคราะห์ภายหลัง ในโพสต์นี้ เราจะดูวิธีใช้ Performance Monitor หรือ Perfmon ตามที่มันถูกเรียก ใน Windows 11/10

วิธีเปิด Performance Monitor ใน Windows 11/10?

คุณสามารถเปิด Performance Monitor ใน Windows ได้ โดยการทำตามวิธีใดวิธีหนึ่งต่อไปนี้:

  • กด Win+F พิมพ์ perfmon ในแถบค้นหาและกด Enter
  • กด Win+R พิมพ์ perfmon ในกล่อง Run และกด Enter
  • เปิด Command Prompt หรือ PowerShell พิมพ์ perfmon.exe และกด Enter
  • เปิด System Configuration Tool > แท็บ Tools > เลือก Performance Monitor > คลิกปุ่ม Launch
  • เปิด Computer Management > ด้านซ้ายเลือก Performance > ขยาย Monitoring Tools > คลิกที่ Performance Monitor

วิธีใช้ Performance Monitor ใน Windows 11/10

เปิดเมนู WinX ใน Windows 11/10 และเลือก Run พิมพ์ perfmon.exe และกด Enter เพื่อเปิด Performance Monitor ในแผงด้านซ้าย เลือกโหนด User Defined คลิกขวาที่มันและเลือก New > Data Collector Set

วิธีใช้ Perfmon หรือ Performance Monitor ใน Windows 11/10

ตั้งชื่อและเลือก Create manually (Advanced) เพื่อให้สามารถตั้งค่าพารามิเตอร์ด้วยตัวเองได้

วิธีใช้ Perfmon หรือ Performance Monitor ใน Windows 11/10

เลือกประเภทข้อมูลที่คุณต้องการรวม คลิก Next

วิธีใช้ Perfmon หรือ Performance Monitor ใน Windows 11/10

คลิกที่ Add และเลือก performance counters ที่คุณต้องการจะ log พวกมันโดยปกติอาจเป็น memory, processor usage ฯลฯ

วิธีใช้ Perfmon หรือ Performance Monitor ใน Windows 11/10

เมื่อการเลือกเสร็จสิ้น คลิก OK

วิธีใช้ Perfmon หรือ Performance Monitor ใน Windows 11/10

เลือก Sample interval และ Units แล้วคลิก Next

วิธีใช้ Perfmon หรือ Performance Monitor ใน Windows 11/10

ตอนนี้ เลือกตำแหน่งที่คุณต้องการบันทึกข้อมูล

วิธีใช้ Perfmon หรือ Performance Monitor ใน Windows 11/10

คุณต้องการรันงานอย่างไร? ปล่อยไว้ที่ Default – หรือใช้ปุ่ม Change เพื่อเลือกผู้ใช้อื่น คลิก Finish

วิธีใช้ Perfmon หรือ Performance Monitor ใน Windows 11/10

คุณจะเห็นรายการใหม่ในแผงด้านขวา คลิกขวาที่มันและเลือก Start

วิธีใช้ Perfmon หรือ Performance Monitor ใน Windows 11/10

เมื่อคุณเสร็จสิ้น คลิกขวาที่มันอีกครั้งและเลือก Stop

ไฟล์ log ข้อมูลจะถูกสร้างและบันทึกในตำแหน่งที่ระบุ คลิกที่ไฟล์เพื่อดูใน Performance Monitor

วิธีใช้ Perfmon หรือ Performance Monitor ใน Windows 11/10

ตอนนี้คุณจะสามารถวิเคราะห์ข้อมูลสำหรับแต่ละ counter ได้

ขณะที่งานกำลังทำงาน คุณสามารถแก้ไข properties ของมันได้ตลอดเวลา โดยการคลิกขวาที่ Data Collector set ในแผงด้านซ้ายและเลือก Properties

เกี่ยวข้อง: PerfLogs folder ใน Windows 11/10 คืออะไร

แฮทกี้ที่มีประโยชน์บางอย่างสำหรับการรัน Reliability Monitor และ Standalone Performance Monitor คุณสามารถใช้ผ่าน Run:

  • perfmon /rel : รัน Reliability Monitor
  • permon /sys : รัน Standalone Performance Monitor

ในโพสต์ถัดไป เราจะดูวิธีสร้าง System Health Report สำหรับคอมพิวเตอร์ Windows ของคุณ

เคล็ดลับ: วิธีใช้ Windows Reliability Monitor และ Resource Monitor อาจน่าสนใจคุณเช่นกัน

วิธีใช้ Perfmon หรือ Performance Monitor ใน Windows 11/10