This Node.js application retrieves and displays various system metrics, including the uptime, load, and free memory of the system.
To install the dependencies for this application, run the following command:
npm install
To run the application, use the following command:
npm run dev
This will output the metrics to the console.
The following metrics are retrieved and displayed by the application:
- Uptime: The uptime of the application in milliseconds.
- Load: The current load of the system.
- Free Memory: The percentage of free memory available on the system.
In addition to the metrics, the application also displays the following information:
- IP Address: The IP address of the system.
- Number of CPUs: The number of CPUs available on the system.