Add cpu info the the job page
This commit is contained in:
@@ -39,6 +39,16 @@ export interface GpuInfo {
|
||||
fan: GpuFan;
|
||||
}
|
||||
|
||||
export interface CpuInfo {
|
||||
name: string;
|
||||
cores: number;
|
||||
temperature: number;
|
||||
totalMemory: number;
|
||||
freeMemory: number;
|
||||
availableMemory: number;
|
||||
currentLoad: number;
|
||||
}
|
||||
|
||||
export interface GPUApiResponse {
|
||||
hasNvidiaSmi: boolean;
|
||||
gpus: GpuInfo[];
|
||||
|
||||
Reference in New Issue
Block a user