1.0.2 • Published 12 months ago

sys-octor v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

Sys Stats Monitor

This package monitors the system resources of a machine and displays the usage statistics on the console.

What is Octor?

Octor Monitor Is An Uptime Monitor Open Software Which Helps To Keep Your Projects Online 24/7 For Free.

Advantages?

You will be able to know the resource used by your project by using this package. This is very helpful to those who are worried about their resources.

Installation

To install web package, you will need to install a few dependencies first. Once you have done that, you can add the following code to your project and you will be up and running in no time!

First, install the necessary dependencies by running the following commands in your terminal:

npm install sys-octor

Next, add this code to your project:

const stats = require('sys-octor');

Customization

You can customize the behavior of the script by modifying the following functions in the index.js file:

  • sendResources(): This function logs the system resource usage statistics to the console. You can modify this function to send the statistics to a different output stream

  • stats(interval): This function starts monitoring the system resource usage statistics and updates the output every interval milliseconds (default: 30 seconds). You can change the interval to a different value if desired.

If you're facing any error join our Discord Server and make a ticket or ping any staff or visit our Webpage and send a request.