()
| 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; |
nothing calls this directly
no test coverage detected