Skip to main content

1E 8.1 (on-premises)

OperatingSystem.GetProcesses

Module

OperatingSystem

Method

GetProcesses

Library

Core

Action

Get details of executing processes.

Parameters

(None)

Return values

For each current process:

  • AccountName (string): The user account.

  • AccountId (string): The user account ID; SID for Windows or UID for *nix.

  • ProcessId (integer): The PID of this process.

  • ParentProcessId (integer): The PID of the parent of this process, if this is a child process.

  • StartupTime (string): The StartUpTime of the process if known, otherwise NULL.

  • CommandLine (string): If command line (with parameters) used to invoke the process.

  • Executable (string): The binary being executed.

  • MemoryUsageBytes (string): Some measure of the physical memory being used by this process in bytes.

    • On Windows, this is the total of the private pages of the working set (resident pages) on Windows

    • On platforms with the all the necessary procfs files, this is the total bytes in the process' private resident pages, this is equivalent to the Windows measure.

    • On platforms not covered above then this is just the private and shared resident memory. This is slightly different to the Windows measure, resident shared pages are included.

Example

OperatingSystem.GetProcesses();

Platforms

  • Windows

  • Linux

  • MacOS

Notes