@types/node-os-utils
Version:
TypeScript definitions for node-os-utils
13 lines (11 loc) • 363 B
TypeScript
export default class OsCmd {
topCpu(): () => Promise<string>;
topMem: () => Promise<string>;
vmstats: () => Promise<string>;
processesUsers: () => Promise<string>;
diskUsage: () => Promise<string>;
who: () => Promise<string>;
whoami: () => Promise<string>;
openPorts: () => Promise<string>;
ifconfig: () => Promise<string>;
}