# Interface ResourceUsage

Resource usage metrics from sandboxed execution.

interface ResourceUsage {
memoryBytes: number;
cpuTimeMs: number;
processCount: number;
outputBytes: number;
wallTimeMs: number;
}

- Defined in packages/nexus-agents/src/security/sandbox/sandbox-types.ts:150

##### Index

### Properties

memoryBytes
cpuTimeMs
processCount
outputBytes
wallTimeMs

## Properties

### `Readonly` memoryBytes

memoryBytes: number

Memory used in bytes.

- Defined in packages/nexus-agents/src/security/sandbox/sandbox-types.ts:152

### `Readonly` cpuTimeMs

cpuTimeMs: number

CPU time used in milliseconds.

- Defined in packages/nexus-agents/src/security/sandbox/sandbox-types.ts:154

### `Readonly` processCount

processCount: number

Number of processes spawned.

- Defined in packages/nexus-agents/src/security/sandbox/sandbox-types.ts:156

### `Readonly` outputBytes

outputBytes: number

Output bytes generated.

- Defined in packages/nexus-agents/src/security/sandbox/sandbox-types.ts:158

### `Readonly` wallTimeMs

wallTimeMs: number

Wall time in milliseconds.

- Defined in packages/nexus-agents/src/security/sandbox/sandbox-types.ts:160