MCPcopy
hub / github.com/browserless/browserless / read

Method read

src/monitoring.ts:104–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102 }
103
104 public async read(): Promise<IResourceLoad> {
105 const [cpu, memory] = await Promise.all([
106 this.readCpu(),
107 this.readMemory(),
108 ]);
109 return { cpu, memory };
110 }
111
112 protected async readCpu(): Promise<number | null> {
113 let usageContent: string;

Callers

nothing calls this directly

Calls 2

readCpuMethod · 0.95
readMemoryMethod · 0.95

Tested by

no test coverage detected