NetUsage: finish module

This commit is contained in:
李通洲
2023-09-26 22:34:37 +08:00
parent 917b049030
commit b29b78b321
12 changed files with 145 additions and 23 deletions
+31
View File
@@ -558,6 +558,7 @@
"media",
"memory",
"monitor",
"netusage",
"opencl",
"opengl",
"os",
@@ -1019,6 +1020,36 @@
},
"additionalProperties": false
},
{
"title": "Network throughput (usage)",
"properties": {
"type": {
"const": "netusage"
},
"namePrefix": {
"title": "Show IPs with given name prefix only",
"type": "string"
},
"defaultRouteOnly": {
"title": "Show ips that are used for default routing only",
"type": "boolean",
"default": false
},
"key": {
"$ref": "#/$defs/key"
},
"keyColor": {
"$ref": "#/$defs/keyColor"
},
"keyWidth": {
"$ref": "#/$defs/keyWidth"
},
"format": {
"$ref": "#/$defs/format"
}
},
"additionalProperties": false
},
{
"title": "OpenGL",
"properties": {