Powered by
REST Api to provide OS Linux infos like ram usage and cpu usage.
- Node
20.9.0 - NPM
10.1.0
git clone https://github.com/IACA-Dev/linux-api-os-infos.git
cd linux-api-os-infosnpm inpm run buildWill generate
distdirectory.
npm run start:devdocker run -e API_PORT=<port> --rm -p <port>:<port> iacaelectronique/linux-api-os-infosChange
portwith your port.
docker build --tag linux-api-os-infos .You can change tag like you want.
docker run -e API_PORT=<port> --rm -p <port>:<port> linux-api-os-infosChange
portwith your port.
| Id | Vital Name | Description |
|---|---|---|
| 0 | total ram | Total available RAM in bytes |
| 1 | used ram | Used RAM in bytes |
| 2 | cpu usage | CPU usage percentage |
- Julien FAURE ✉️ julien.faure@iaca-electronique.com (IACA Electronique)