Dynamic module os

Index

Variables

Functions

Variables

EOL: string

Functions

arch(): string

Returns

string

cpus(): Array<{ model: string; speed: number; times: { user: number; nice: number; sys: number; idle: number; irq: number; }; }>

Returns

Array<{ model: string; speed: number; times: { user: number; nice: number; sys: number; idle: number; irq: number; }; }>

freemem(): number

Returns

number

hostname(): string

Returns

string

loadavg(): Array<number>

Returns

Array<number>

networkInterfaces(): any

Returns

any

platform(): string

Returns

string

release(): string

Returns

string

tmpDir(): string

Returns

string

totalmem(): number

Returns

number

type(): string

Returns

string

uptime(): number

Returns

number