Skip to content
Gnawbie edited this page Mar 26, 2026 · 1 revision

Usage

Starting the monitor

Double-click Start-Monitor.bat.

  • If the monitor is not running: it launches silently and confirms the PID
  • If it is already running: the bat reports the existing PID and exits -- it will never start a second instance

For a fully silent start with no window at all (e.g. from a startup shortcut), use Start-Monitor.vbs instead.


Stopping the monitor

Option A -- Tray icon: Right-click the green circle in the system tray -> Stop Monitor

Option B -- Batch file: Double-click Stop-Monitor.bat

The icon turns red briefly while shutting down, then disappears. A final entry is written to the log confirming the stop time.


Viewing logs

Option A -- Tray icon: Double-click the tray icon, or right-click -> Open Log Folder

Option B -- Batch file: Double-click View-Logs.bat -- opens the log folder in Explorer and opens today's logs in Notepad automatically.

Option C -- Direct path:

%USERPROFILE%\ProcessMonitorLogs\

Log files

Two log files are written per day:

File Contents
process_YYYY-MM-DD.log Every program close (clean and crashes)
errors_YYYY-MM-DD.log Crashes only (non-zero exit codes)

Old log files are kept indefinitely -- delete them manually if disk space is a concern.


Crash notifications

When any program exits with a non-zero exit code, a balloon notification pops from the tray:

Crash detected someapp.exe exited with 3221225477 (0xC0000005)

To silence these without stopping the monitor, right-click the tray icon -> Mute Notifications. Crashes still get logged to file regardless.

Clone this wiki locally