Как получить «картину» активности процессора / диска компьютера в полноэкранном приложении

533
Gnoupi

У меня небольшая проблема на моем компьютере.

Время от времени кажется, что какой-то процесс включается, максимизирует активность процессора и диска на 10-15 секунд, а затем останавливается. Обычно это происходит, когда я нахожусь в полноэкранном приложении (как правило, в игре).

Я мог проверить, что является причиной этого, открыв Resource Manager и проверив виновника. Тем не менее, состояние заикания, в котором находится компьютер, обычно не позволяет легко его открыть. У меня также обычно не хватает времени, чтобы это закончилось.

Итак, мой вопрос: есть ли способ зафиксировать «состояние» активности процессора и / или диска в данный момент, просто нажав сочетание клавиш или запустив скрипт? (AutoHotKey может обойти это). Желательно, конечно, что-нибудь легковесное, чтобы оно действительно фиксировало активность, а не записывало «после» события.

0
Вы можете сделать это в игре, используя инструменты OSD. Little Helper 9 лет назад 0
Встроенный Windows [PerfMon + логирование] (http://superuser.com/a/423490/23133). Ƭᴇcʜιᴇ007 9 лет назад 0

2 ответа на вопрос

1
Keltari

Windows has a tool for that. Its called Perfmon.

The Reliability and Performance Monitor introduced in Windows Vista, is a good built-in tool that lets you monitor and study how applications you run affect your computer’s performance, both in real-time and by collecting log data for later analysis. In this post we will see how to use Performance Monitor or Perfmon, as it is called, in Windows 8. The same of course applies to Windows 7 too.

Here is a good article on how to set up data collection over time.

Хм, не знал об этом инструменте. Я попробую (с надеждой, что это не слишком большая проблема с самим ресурсом, поскольку это происходит не все время, его придется собирать непрерывно в течение примерно 45 минут). Gnoupi 9 лет назад 0
Perfmon.exe запускается по умолчанию на большинстве систем Win8. Так что нет / лишних / накладных расходов. agtoever 9 лет назад 0
1
agtoever

Run the Windows Resource monitor. There are graphs that follow for example CPU, HDD and network resource consumption. The challenge will be to see the relevant information in time. I've got two alternatives for that.

The easy (but probably not satisfactory working) way
During a stall of your system, you can try to press CTRL + SHIFT + ESC, which is a default Windows hotkey for the taskmanager. From there (Performance tab) you can start the resource monitor. Alternatively, you can try to ALT + TAB to it or press CTL + ALT + DEL and select "Open taskmanager".

The harder (but probably more successful) way
If you want to log the information that is in the resource monitor to a file, you can use LOGMAN to log the resmon.exe data to a file for later inspection. Here is a good link explaining the way to go. In short:

  • Create a file (WDC_Providers.txt) where the to be logged items are mentioned:
     0xffffffffffffffff 0xff Microsoft-WIndows-Kernel-Disk 0xffffffffffffffff 0xff Microsoft-Windows-Kernel-File 0x10 0xff Microsoft-Windows-Kernel-Process 0x20 0xff
  • Start logging using: logman start WDC -pf "C:\Perflogs\WDC_Providers.txt" -bs 64 -nb 16 38 -max 10 -mode newfile -o c:\PerfLogs\output%d.etl -ets

Похожие вопросы