system_monitor_cli 1.0.2 system_monitor_cli: ^1.0.2 copied to clipboard
A CLI tool to start and stop the System Monitor server.
system_monitor_cli #
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:
dart pub global run system_monitor_cli --start
If you want to specify a custom hostname and port, you can provide the --host
and --port
options as follows:
dart pub global run 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:
dart pub global run 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.