-
Notifications
You must be signed in to change notification settings - Fork 1.4k
ProcessInfo Layout Renderer
Rolf Kristensen edited this page Jun 22, 2025
·
10 revisions
The information about the running process returned by Process.GetCurrentProcess()
Platforms Supported: All
${processinfo:property=Enum:format=string}
-
property - Property to retrieve. Default: Id
Possible values:- ExitCode - Exit Code (Not available for current process).
- ExitTime - Exit Time (Not available for current process).
- Handle - Process Handle.
- HandleCount - Handle Count.
- HasExited - Whether process has exited (Not available for current process).
- Id 8000 - Process ID.
- MachineName - Machine name.
- MainWindowHandle - Handle of the main window.
- MainWindowTitle - Title of the main window.
- MaxWorkingSet - Maximum Working Set.
- MinWorkingSet - Minimum Working Set.
- NonPagedSystemMemorySize - Non-paged System Memory Size.
- NonPagedSystemMemorySize64 - Non-paged System Memory Size (64-bit).
- PagedMemorySize - Paged Memory Size.
- PagedMemorySize64 - Paged Memory Size (64-bit)..
- PagedSystemMemorySize - Paged System Memory Size.
- PagedSystemMemorySize64 - Paged System Memory Size (64-bit).
- PeakPagedMemorySize - Peak Paged Memory Size.
- PeakPagedMemorySize64 - Peak Paged Memory Size (64-bit).
- PeakVirtualMemorySize - Peak Virtual Memory Size.
- PeakVirtualMemorySize64 - Peak Virtual Memory Size (64-bit)..
- PeakWorkingSet - Peak Working Set Size.
- PeakWorkingSet64 - Peak Working Set Size (64-bit).
- PriorityBoostEnabled - Whether priority boost is enabled.
- PriorityClass - Priority Class.
- PrivateMemorySize - Private Memory Size.
- PrivateMemorySize64 - Private Memory Size (64-bit).
- PrivilegedProcessorTime - Privileged Processor Time.
- ProcessName - Process Name.
- Responding - Whether process is responding.
- SessionId - Session ID.
- StartTime - Process Start Time.
- TotalProcessorTime - Total Processor Time.
- UserProcessorTime - User Processor Time.
- VirtualMemorySize - Virtual Memory Size.
- VirtualMemorySize64 - Virtual Memory Size (64-bit).
- WorkingSet - Working Set Size.
- WorkingSet64 - Working Set Size (64-bit)
-
format formatstring in the value is formatable. Ex. formatting process StartTime. Introduced in NLog 4.4
- Troubleshooting Guide - See available NLog Targets and Layouts: https://nlog-project.org/config
- Getting started
- How to use structured logging
- Troubleshooting
- FAQ
- Articles about NLog
-
All targets, layouts and layout renderers
Popular: - Using NLog with NLog.config
- Using NLog with appsettings.json