/mini-metrics

Primary LanguageTypeScript

System Metrics

This Node.js application retrieves and displays various system metrics, including the uptime, load, and free memory of the system.

Installation

To install the dependencies for this application, run the following command:

npm install

Usage

To run the application, use the following command:

npm run dev This will output the metrics to the console.

Metrics

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.

Additional Information

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.