/api/health/processes
Метод возвращает информацию о работе unicorn proccesses
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 1,
"message": "",
"response": {
"processesInfo": [
{
"pid": 1,
"status": "sleeping",
"name": "gunicorn",
"cpuPercent": 0,
"memoryPercent": 1.0537,
"memoryGb": 0.0607
},
{
"pid": 8,
"status": "sleeping",
"name": "gunicorn",
"cpuPercent": 1,
"memoryPercent": 6.2605,
"memoryGb": 0.3606
},
{
"pid": 9,
"status": "sleeping",
"name": "gunicorn",
"cpuPercent": 0.7,
"memoryPercent": 3.0486,
"memoryGb": 0.1756
},
{
"pid": 10,
"status": "sleeping",
"name": "gunicorn",
"cpuPercent": 1,
"memoryPercent": 6.4211,
"memoryGb": 0.3699
}
],
"gunicornProcessesCount": 4
},
"preparingsTime": 0.045
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 0,
"message": "Authentication credentials were not provided.",
"response": {
"detail": "Authentication credentials were not provided."
},
"preparingsTime": 0.002
}
Loading...