()
| 215 | } |
| 216 | |
| 217 | public async read(): Promise<IResourceLoad> { |
| 218 | const [cpu, memory] = await Promise.all([ |
| 219 | this.readCpu(), |
| 220 | this.readMemory(), |
| 221 | ]); |
| 222 | return { cpu, memory }; |
| 223 | } |
| 224 | |
| 225 | protected async readCpu(): Promise<number | null> { |
| 226 | let usageNsContent: string; |
nothing calls this directly
no test coverage detected