Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux_router:misc [2025-01-01 Wed wk01 23:53] – [Glances Options] baumkplinux_router:misc [2025-03-03 Mon wk10 11:49] (current) – [glances] baumkp
Line 19: Line 19:
  
 The darkstat output can then be seen on a web browser at ''192.168.1.1:667'' The darkstat output can then be seen on a web browser at ''192.168.1.1:667''
 +
 +The darkstat systemd intergration suck, it is a legacy setup.  As darkstat can simply be driven from command link I made a direct systemctl service file to operate.
 +
 +
 ---- ----
 ====glances==== ====glances====
 +See [[https://wiki.kptree.net/doku.php?id=tech_notes:programs#python|KPTree Pyton/pipx]] for more information
   * ''sudo apt install pipx''  ([[https://pypa.github.io/pipx/|pipx]] — Install and Run Python Applications in Isolated Environments)   * ''sudo apt install pipx''  ([[https://pypa.github.io/pipx/|pipx]] — Install and Run Python Applications in Isolated Environments)
   * ''pipx ensurepath''    * ''pipx ensurepath'' 
Line 30: Line 34:
   * [[https://www.tecmint.com/glances-an-advanced-real-time-system-monitoring-tool-for-linux/|Glances – An Advanced Real Time System Monitoring Tool for Linux]]   * [[https://www.tecmint.com/glances-an-advanced-real-time-system-monitoring-tool-for-linux/|Glances – An Advanced Real Time System Monitoring Tool for Linux]]
   * [[https://wiki.crowncloud.net/?How_to_install_Glances_on_Debian_11|How to Install Glances System Monitor on Debian 11]]   * [[https://wiki.crowncloud.net/?How_to_install_Glances_on_Debian_11|How to Install Glances System Monitor on Debian 11]]
-  * [[https://www.linuxcapable.com/how-to-install-glances-system-monitor-on-debian-11/|How to Install Glances on Debian 11]] 
   * [[https://www.linuxcapable.com/how-to-install-glances-on-debian-linux/|How to Install Glances on Debian 12, 11 or 10]]   * [[https://www.linuxcapable.com/how-to-install-glances-on-debian-linux/|How to Install Glances on Debian 12, 11 or 10]]
   * [[https://github.com/nicolargo/glances|nicolargo glances]]   * [[https://github.com/nicolargo/glances|nicolargo glances]]
 +  * [[https://fossguides.com/glances-the-best-modern-monitoring-tool-for-linux/|Glances – the Best Modern Monitoring Tool for Linux]]
 +
  
  
Line 63: Line 68:
   * u – View cumulative network I/O   * u – View cumulative network I/O
   * q – Quit (Esc and Ctrl-C also work)   * q – Quit (Esc and Ctrl-C also work)
 +
 ++++ ++++
 +
 +See Glances docs [[https://glances.readthedocs.io/en/develop/config.html#location|Configuration Location]] where the configuration file may be stored and the format and examples.  I choose to place at ''./config/glances/glances.config''
 +
 +.
 ===glances as a service=== ===glances as a service===
-Setup a systemd file for glances as a local web service ''sudo vim /lib/systemd/system/glances.service''+++++Setup a systemd file for glances as a local web service ''sudo vim /lib/systemd/system/glances.service''|
 <code> <code>
 [Unit] [Unit]
Line 79: Line 89:
  
 [Install] [Install]
-WantedBy=multi-user.target +WantedBy=multi-user.target </code> 
- +++++ 
-</code> +After modifying a systemd file update systemd: ''sudo systemctl daemon-reload''
-After modifying a systemd file update systemd: ''systemctl daemon-reload''+
  
-The glances output can then be seen on a web browser at ''192.168.1.1:61208''+The glances output can then be seen on a web browser at ''192.168.1.1:61208'' and will autostart with ''sudo systemctl enable glances.service''.
  
 ---- ----