Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Configuration Syntax

${processinfo:property=Enum:format=string}

Parameters

Rendering Options

  • 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 - 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

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.