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-08 Wed wk02 10:54] – [darkstat] baumkplinux_router:misc [2025-03-03 Mon wk10 11:49] (current) – [glances] baumkp
Line 25: Line 25:
 ---- ----
 ====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 73: Line 73:
 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'' 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>
Line 90: Line 91:
 WantedBy=multi-user.target </code> WantedBy=multi-user.target </code>
 ++++ ++++
-After modifying a systemd file update systemd: ''systemctl daemon-reload''+After modifying a systemd file update systemd: ''sudo systemctl daemon-reload''
  
 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''. 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''.