@@ -82,6 +86,8 @@ For example, all logical cores can be utilized to run at 50% CPU utilization for
**Request Creation of CPULoadJobAllCores:**`services/cpuLoadSvc/<MQTT_CLIENT_ID>/jobs/create/req`
Payload:
```json
{
"duration":200,
...
...
@@ -95,8 +101,10 @@ On Success:
```json
{
"duration":200,
"target_load":0.50
"success":{
"duration":200,
"target_load":0.5
}
}
```
...
...
@@ -141,7 +149,32 @@ Payload intentionally left blank.
}
}
```
PLEASE NOTE:
**Request delete specific QueuedCPULoadJobAllCores:**`services/cpuLoadSvc/<MQTT_CLIENT_ID>/jobs/delete/req`
Payload:
```json
{
"id":1
}
```
**Response delete specific QueuedCPULoadJobAllCores:**`services/cpuLoadSvc/<MQTT_CLIENT_ID>/jobs/delete/res`
```json
{
"success":{
"duration":200,
"target_load":0.5,
"id":4,
"pid":13767,
"state":"ABORTED"
}
}
```
PLEASE NOTE:
* The **CPULoadService** is running a SQLite database to store the username and password for the web login.
* The submitted CPULoadJobs are only stored in-memory. That means, a shutdown of the application will lead to data loss. If you are restarting your application, you need recreate your job, respectively your job profile.