system_monitor_cli

pub package

A command-line interface (CLI) for controlling the System Monitor server, which is part of the System Monitor package.

Description

The system_monitor_cli package provides a command-line interface to start and stop the System Monitor server, which is a component of the system_monitor package. The server allows you to monitor system metrics using WebSocket communication.

Installation

Install the package globally using Dart's package manager:

dart pub global activate system_monitor_cli

Usage

Start the Server

To start the System Monitor server, you can use the following command:

system_monitor_cli start

If you want to specify a custom hostname and port, you can provide the --host and --port options as follows:

system_monitor_cli start --host <host> --port <port>

Replace <host> with the desired hostname or IP address, and <port> with the desired port number. If you do not provide the --host and --port options, the server will use the default values.

Stop the Server

To stop the running System Monitor server, use the following command:

system_monitor_cli stop

Contributing

Contributions are welcome! Feel free to open issues and submit pull requests.

License

This package is licensed under the MIT License - see the LICENSE file for details.

Libraries