1{
2    "$id": "http://redfish.dmtf.org/schemas/v1/ManagerDiagnosticData.v1_2_3.json",
3    "$ref": "#/definitions/ManagerDiagnosticData",
4    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5    "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
6    "definitions": {
7        "Actions": {
8            "additionalProperties": false,
9            "description": "The available actions for this resource.",
10            "longDescription": "This type shall contain the available actions for this resource.",
11            "patternProperties": {
12                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
13                    "description": "This property shall specify a valid odata or Redfish property.",
14                    "type": [
15                        "array",
16                        "boolean",
17                        "integer",
18                        "number",
19                        "null",
20                        "object",
21                        "string"
22                    ]
23                }
24            },
25            "properties": {
26                "#ManagerDiagnosticData.ResetMetrics": {
27                    "$ref": "#/definitions/ResetMetrics"
28                },
29                "Oem": {
30                    "$ref": "#/definitions/OemActions",
31                    "description": "The available OEM-specific actions for this resource.",
32                    "longDescription": "This property shall contain the available OEM-specific actions for this resource."
33                }
34            },
35            "type": "object"
36        },
37        "BootTimeStatistics": {
38            "additionalProperties": false,
39            "description": "The boot-time statistics of a manager.",
40            "longDescription": "This object shall contain the boot-time statistics of a manager.",
41            "patternProperties": {
42                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
43                    "description": "This property shall specify a valid odata or Redfish property.",
44                    "type": [
45                        "array",
46                        "boolean",
47                        "integer",
48                        "number",
49                        "null",
50                        "object",
51                        "string"
52                    ]
53                }
54            },
55            "properties": {
56                "FirmwareTimeSeconds": {
57                    "description": "The number of seconds the manager spent in the firmware stage.",
58                    "longDescription": "This property shall contain the number of seconds the manager spent in the firmware stage.",
59                    "readonly": true,
60                    "type": [
61                        "number",
62                        "null"
63                    ]
64                },
65                "InitrdTimeSeconds": {
66                    "description": "The number of seconds the manager spent in the initrd boot stage.",
67                    "longDescription": "This property shall contain the number of seconds the manager spent in the initrd boot stage.",
68                    "readonly": true,
69                    "type": [
70                        "number",
71                        "null"
72                    ]
73                },
74                "KernelTimeSeconds": {
75                    "description": "The number of seconds the manager spent in the kernel stage.",
76                    "longDescription": "This property shall contain the number of seconds the manager spent in the kernel stage.",
77                    "readonly": true,
78                    "type": [
79                        "number",
80                        "null"
81                    ]
82                },
83                "LoaderTimeSeconds": {
84                    "description": "The number of seconds the manager spent in the loader stage.",
85                    "longDescription": "This property shall contain the number of seconds the manager spent in the loader stage.",
86                    "readonly": true,
87                    "type": [
88                        "number",
89                        "null"
90                    ]
91                },
92                "UserSpaceTimeSeconds": {
93                    "description": "The number of seconds the manager spent in the user space boot stage.",
94                    "longDescription": "This property shall contain the number of seconds the manager spent in the user space boot stage.",
95                    "readonly": true,
96                    "type": [
97                        "number",
98                        "null"
99                    ]
100                }
101            },
102            "type": "object"
103        },
104        "I2CBusStatistics": {
105            "additionalProperties": false,
106            "description": "The statistics of an I2C bus.",
107            "longDescription": "This object shall contain statistics of an I2C bus.",
108            "patternProperties": {
109                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
110                    "description": "This property shall specify a valid odata or Redfish property.",
111                    "type": [
112                        "array",
113                        "boolean",
114                        "integer",
115                        "number",
116                        "null",
117                        "object",
118                        "string"
119                    ]
120                }
121            },
122            "properties": {
123                "BusErrorCount": {
124                    "description": "The number of bus errors on this I2C bus.",
125                    "longDescription": "This property shall contain the number of bus errors on this I2C bus.  Bus errors include, but are not limited to, an SDA rising or falling edge while SCL is high or a stuck bus signal.",
126                    "readonly": true,
127                    "type": [
128                        "integer",
129                        "null"
130                    ]
131                },
132                "I2CBusName": {
133                    "description": "The name of the I2C bus.",
134                    "longDescription": "This property shall contain the name of the I2C bus.",
135                    "readonly": true,
136                    "type": "string"
137                },
138                "NACKCount": {
139                    "description": "The number of NACKs on this I2C bus.",
140                    "longDescription": "This property shall contain the number of NACKs on this I2C bus.",
141                    "readonly": true,
142                    "type": [
143                        "integer",
144                        "null"
145                    ]
146                },
147                "TotalTransactionCount": {
148                    "description": "The total number of transactions on this I2C bus.",
149                    "longDescription": "This property shall contain the total number of transactions on this I2C bus.  The count shall include the number of I2C transactions initiated by the manager and the number of I2C transactions where the manager is the target device.",
150                    "readonly": true,
151                    "type": [
152                        "integer",
153                        "null"
154                    ]
155                }
156            },
157            "type": "object"
158        },
159        "ManagerDiagnosticData": {
160            "additionalProperties": false,
161            "description": "The `ManagerDiagnosticData` schema defines internal diagnostic data for a manager.  It contains information that might be used by vendors to collect debug information about the manager.  Clients should not make decisions for raising alerts, creating service events, or other actions based on information in this resource.",
162            "longDescription": "This resource shall represent internal diagnostic data for a manager for a Redfish implementation.  Clients should not make decisions for raising alerts, creating service events, or other actions based on information in this resource.",
163            "patternProperties": {
164                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
165                    "description": "This property shall specify a valid odata or Redfish property.",
166                    "type": [
167                        "array",
168                        "boolean",
169                        "integer",
170                        "number",
171                        "null",
172                        "object",
173                        "string"
174                    ]
175                }
176            },
177            "properties": {
178                "@odata.context": {
179                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
180                },
181                "@odata.etag": {
182                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
183                },
184                "@odata.id": {
185                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
186                },
187                "@odata.type": {
188                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
189                },
190                "Actions": {
191                    "$ref": "#/definitions/Actions",
192                    "description": "The available actions for this resource.",
193                    "longDescription": "This property shall contain the available actions for this resource."
194                },
195                "BootTimeStatistics": {
196                    "$ref": "#/definitions/BootTimeStatistics",
197                    "description": "The boot-time statistics of the manager.",
198                    "longDescription": "This property shall contain the boot-time statistics of the manager."
199                },
200                "Description": {
201                    "anyOf": [
202                        {
203                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
204                        },
205                        {
206                            "type": "null"
207                        }
208                    ],
209                    "readonly": true
210                },
211                "FreeStorageSpaceKiB": {
212                    "description": "The available storage space on this manager in kibibytes (KiB).",
213                    "longDescription": "This property shall contain the available storage space on this manager in kibibytes (KiB).",
214                    "readonly": true,
215                    "type": [
216                        "integer",
217                        "null"
218                    ],
219                    "units": "KiBy"
220                },
221                "I2CBuses": {
222                    "description": "The statistics of the I2C buses.",
223                    "items": {
224                        "$ref": "#/definitions/I2CBusStatistics"
225                    },
226                    "longDescription": "This property shall contain the statistics of the I2C buses.  Services may subdivide a physical bus into multiple entries in this property based on how the manager tracks bus segments, virtual buses from a controller, and other segmentation capabilities.",
227                    "type": "array"
228                },
229                "Id": {
230                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
231                    "readonly": true
232                },
233                "MemoryECCStatistics": {
234                    "$ref": "#/definitions/MemoryECCStatistics",
235                    "description": "The memory ECC statistics of the manager.",
236                    "longDescription": "This property shall contain the memory ECC statistics of the manager."
237                },
238                "MemoryStatistics": {
239                    "$ref": "#/definitions/MemoryStatistics",
240                    "description": "The memory statistics of the manager.",
241                    "longDescription": "This property shall contain the memory statistics of the manager."
242                },
243                "Name": {
244                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
245                    "readonly": true
246                },
247                "Oem": {
248                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
249                    "description": "The OEM extension property.",
250                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
251                },
252                "ProcessorStatistics": {
253                    "$ref": "#/definitions/ProcessorStatistics",
254                    "description": "The processor statistics of the manager.",
255                    "longDescription": "This property shall contain the processor statistics of the manager."
256                },
257                "ServiceRootUptimeSeconds": {
258                    "description": "The wall-clock time the service root hosted by this manager has been running in seconds.",
259                    "longDescription": "This property shall contain the wall-clock time the service root hosted by this manager has been running in seconds.",
260                    "readonly": true,
261                    "type": [
262                        "number",
263                        "null"
264                    ],
265                    "versionAdded": "v1_2_0"
266                },
267                "TopProcesses": {
268                    "description": "The statistics of the top processes of this manager.",
269                    "items": {
270                        "anyOf": [
271                            {
272                                "$ref": "#/definitions/ProcessStatistics"
273                            },
274                            {
275                                "type": "null"
276                            }
277                        ]
278                    },
279                    "longDescription": "This property shall contain the statistics of the top processes of this manager.",
280                    "type": "array"
281                }
282            },
283            "required": [
284                "@odata.id",
285                "@odata.type",
286                "Id",
287                "Name"
288            ],
289            "type": "object"
290        },
291        "MemoryECCStatistics": {
292            "additionalProperties": false,
293            "description": "The memory ECC statistics of a manager.",
294            "longDescription": "This object shall contain the memory ECC statistics of a manager.",
295            "patternProperties": {
296                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
297                    "description": "This property shall specify a valid odata or Redfish property.",
298                    "type": [
299                        "array",
300                        "boolean",
301                        "integer",
302                        "number",
303                        "null",
304                        "object",
305                        "string"
306                    ]
307                }
308            },
309            "properties": {
310                "CorrectableECCErrorCount": {
311                    "description": "The number of correctable errors since reset.",
312                    "longDescription": "This property shall contain the number of correctable errors since reset.",
313                    "readonly": true,
314                    "type": [
315                        "integer",
316                        "null"
317                    ]
318                },
319                "UncorrectableECCErrorCount": {
320                    "description": "The number of uncorrectable errors since reset.",
321                    "longDescription": "This property shall contain the number of uncorrectable errors since reset.",
322                    "readonly": true,
323                    "type": [
324                        "integer",
325                        "null"
326                    ]
327                }
328            },
329            "type": "object"
330        },
331        "MemoryStatistics": {
332            "additionalProperties": false,
333            "description": "The memory statistics of a manager.",
334            "longDescription": "This object shall contain the memory statistics of a manager.",
335            "patternProperties": {
336                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
337                    "description": "This property shall specify a valid odata or Redfish property.",
338                    "type": [
339                        "array",
340                        "boolean",
341                        "integer",
342                        "number",
343                        "null",
344                        "object",
345                        "string"
346                    ]
347                }
348            },
349            "properties": {
350                "AvailableBytes": {
351                    "description": "The amount of memory available in bytes for starting new processes without swapping.",
352                    "longDescription": "This property shall contain the amount of memory available in bytes for starting new processes without swapping.  This includes free memory and reclaimable cache and buffers.",
353                    "readonly": true,
354                    "type": [
355                        "integer",
356                        "null"
357                    ],
358                    "units": "By"
359                },
360                "BuffersAndCacheBytes": {
361                    "description": "The amount of memory used in bytes by kernel buffers, page caches, and slabs.",
362                    "longDescription": "This property shall contain the amount of memory used in bytes by kernel buffers, page caches, and slabs.",
363                    "readonly": true,
364                    "type": [
365                        "integer",
366                        "null"
367                    ],
368                    "units": "By"
369                },
370                "FreeBytes": {
371                    "description": "The amount of free memory in bytes.",
372                    "longDescription": "This property shall contain the amount of free memory in bytes.",
373                    "readonly": true,
374                    "type": [
375                        "integer",
376                        "null"
377                    ],
378                    "units": "By"
379                },
380                "SharedBytes": {
381                    "description": "The amount of shared memory in bytes.",
382                    "longDescription": "This property shall contain the amount of shared memory in bytes.  This includes things such as memory consumed by temporary file systems.",
383                    "readonly": true,
384                    "type": [
385                        "integer",
386                        "null"
387                    ],
388                    "units": "By"
389                },
390                "TotalBytes": {
391                    "description": "The total amount of memory in bytes.",
392                    "longDescription": "This property shall contain the total amount of memory in bytes.",
393                    "readonly": true,
394                    "type": [
395                        "integer",
396                        "null"
397                    ],
398                    "units": "By"
399                },
400                "UsedBytes": {
401                    "description": "The amount of used memory in bytes.",
402                    "longDescription": "This property shall contain the amount of used memory in bytes.  This value is calculated as `TotalBytes` minus `FreeBytes` minus `BuffersAndCacheBytes`.",
403                    "readonly": true,
404                    "type": [
405                        "integer",
406                        "null"
407                    ],
408                    "units": "By"
409                }
410            },
411            "type": "object"
412        },
413        "OemActions": {
414            "additionalProperties": true,
415            "description": "The available OEM-specific actions for this resource.",
416            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
417            "patternProperties": {
418                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
419                    "description": "This property shall specify a valid odata or Redfish property.",
420                    "type": [
421                        "array",
422                        "boolean",
423                        "integer",
424                        "number",
425                        "null",
426                        "object",
427                        "string"
428                    ]
429                }
430            },
431            "properties": {},
432            "type": "object"
433        },
434        "ProcessStatistics": {
435            "additionalProperties": false,
436            "description": "The statistics of a process running on a manager.",
437            "longDescription": "This object shall contain the statistics of a process running on a manager.",
438            "patternProperties": {
439                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
440                    "description": "This property shall specify a valid odata or Redfish property.",
441                    "type": [
442                        "array",
443                        "boolean",
444                        "integer",
445                        "number",
446                        "null",
447                        "object",
448                        "string"
449                    ]
450                }
451            },
452            "properties": {
453                "CommandLine": {
454                    "description": "The command line of this process.",
455                    "longDescription": "This property shall contain the command line with parameters of this process.",
456                    "readonly": true,
457                    "type": "string"
458                },
459                "KernelTimeSeconds": {
460                    "description": "The number of seconds this process executed in kernel space.",
461                    "longDescription": "This property shall contain the number of seconds this process executed in kernel space.",
462                    "readonly": true,
463                    "type": [
464                        "number",
465                        "null"
466                    ]
467                },
468                "ResidentSetSizeBytes": {
469                    "description": "The resident set size of this process in bytes.",
470                    "longDescription": "This property shall contain the resident set size of this process in bytes, which is the amount of memory allocated to the process and is in RAM.",
471                    "readonly": true,
472                    "type": [
473                        "integer",
474                        "null"
475                    ],
476                    "units": "By"
477                },
478                "RestartAfterFailureCount": {
479                    "description": "The number of times this process has restarted unexpectedly.",
480                    "longDescription": "This property shall contain the number of times this process has restarted unexpectedly, such as due to unintentional failures, restarts, or shutdowns, with the same command line including arguments.",
481                    "readonly": true,
482                    "type": [
483                        "integer",
484                        "null"
485                    ],
486                    "versionAdded": "v1_1_0"
487                },
488                "RestartCount": {
489                    "description": "The number of times this process has restarted.",
490                    "longDescription": "This property shall contain the number of times this process has restarted with the same command line including arguments.",
491                    "readonly": true,
492                    "type": [
493                        "integer",
494                        "null"
495                    ],
496                    "versionAdded": "v1_1_0"
497                },
498                "UptimeSeconds": {
499                    "description": "The wall-clock time this process has been running in seconds.",
500                    "longDescription": "This property shall contain the wall-clock time this process has been running in seconds.",
501                    "readonly": true,
502                    "type": [
503                        "number",
504                        "null"
505                    ],
506                    "versionAdded": "v1_1_0"
507                },
508                "UserTimeSeconds": {
509                    "description": "The number of seconds this process executed in user space.",
510                    "longDescription": "This property shall contain the number of seconds this process executed in user space.",
511                    "readonly": true,
512                    "type": [
513                        "number",
514                        "null"
515                    ]
516                }
517            },
518            "type": "object"
519        },
520        "ProcessorStatistics": {
521            "additionalProperties": false,
522            "description": "The processor statistics of a manager.",
523            "longDescription": "This object shall contain the processor statistics of a manager.",
524            "patternProperties": {
525                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
526                    "description": "This property shall specify a valid odata or Redfish property.",
527                    "type": [
528                        "array",
529                        "boolean",
530                        "integer",
531                        "number",
532                        "null",
533                        "object",
534                        "string"
535                    ]
536                }
537            },
538            "properties": {
539                "KernelPercent": {
540                    "description": "The percentage of CPU time spent in kernel mode.",
541                    "longDescription": "This property shall contain the percentage of CPU time, `0` to `100`, spent in kernel mode.",
542                    "maximum": 100,
543                    "minimum": 0,
544                    "readonly": true,
545                    "type": [
546                        "number",
547                        "null"
548                    ],
549                    "units": "%"
550                },
551                "UserPercent": {
552                    "description": "The percentage of CPU time spent in user mode.",
553                    "longDescription": "This property shall contain the percentage of CPU time, `0` to `100`, spent in user mode.",
554                    "maximum": 100,
555                    "minimum": 0,
556                    "readonly": true,
557                    "type": [
558                        "number",
559                        "null"
560                    ],
561                    "units": "%"
562                }
563            },
564            "type": "object"
565        },
566        "ResetMetrics": {
567            "additionalProperties": false,
568            "description": "Resets time intervals or counted values of the diagnostic data for this manager.",
569            "longDescription": "This action shall reset any time intervals or counted values of the diagnostic data for this manager.",
570            "parameters": {},
571            "patternProperties": {
572                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
573                    "description": "This property shall specify a valid odata or Redfish property.",
574                    "type": [
575                        "array",
576                        "boolean",
577                        "integer",
578                        "number",
579                        "null",
580                        "object",
581                        "string"
582                    ]
583                }
584            },
585            "properties": {
586                "target": {
587                    "description": "Link to invoke action",
588                    "format": "uri-reference",
589                    "type": "string"
590                },
591                "title": {
592                    "description": "Friendly action name",
593                    "type": "string"
594                }
595            },
596            "type": "object"
597        }
598    },
599    "language": "en",
600    "owningEntity": "DMTF",
601    "release": "2022.3",
602    "title": "#ManagerDiagnosticData.v1_2_3.ManagerDiagnosticData"
603}