Forrest logo
back to the glances tool

glances:tldr:19138

glances: Require a password in (web) server mode.
$ glances -s --password
try on your machine

The command "glances -s --password" is used to start the Glances system monitoring tool with password protection enabled.

Here's a breakdown of the command:

  • "glances" is the command to start the Glances tool. Glances provides real-time monitoring of system resources such as CPU usage, memory usage, network statistics, and more.

  • "-s" is an option or flag that stands for "secure." This option is used to enable password protection for Glances, ensuring that only authorized users can access the monitoring data.

  • "--password" is an additional option that is used to specify or set the password for accessing Glances. After enabling password protection, Glances will prompt the user to enter the password before allowing access to the monitoring data.

By using this command, Glances will be started with password protection enabled, allowing you to monitor system resources securely.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the glances tool