Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Process

import type { Process } from "https://googleapis.deno.dev/v1/securitycenter:v1.ts";

Represents an operating system process.

interface Process {
args?: string[];
argumentsTruncated?: boolean;
binary?: File;
envVariables?: EnvironmentVariable[];
envVariablesTruncated?: boolean;
libraries?: File[];
name?: string;
parentPid?: bigint;
pid?: bigint;
script?: File;
}

§Properties

§
args?: string[]
[src]

Process arguments as JSON encoded strings.

§
argumentsTruncated?: boolean
[src]

True if args is incomplete.

§
binary?: File
[src]

File information for the process executable.

§
envVariables?: EnvironmentVariable[]
[src]

Process environment variables.

§
envVariablesTruncated?: boolean
[src]

True if env_variables is incomplete.

§
libraries?: File[]
[src]

File information for libraries loaded by the process.

§
name?: string
[src]

The process name, as displayed in utilities like top and ps. This name can be accessed through /proc/[pid]/comm and changed with prctl(PR_SET_NAME).

§
parentPid?: bigint
[src]

The parent process ID.

§
pid?: bigint
[src]

The process ID.

§
script?: File
[src]

When the process represents the invocation of a script, binary provides information about the interpreter, while script provides information about the script file provided to the interpreter.