Difference between revisions of "Resource Monitoring Tools"

From Steak Wiki
Jump to navigationJump to search
(Created page with "There are programs available to watch various aspects of your system. ==iftop== See active internet connections. e.g. iftop -i eth1 Will show you websites that don't close...")
 
Line 4: Line 4:
 
See active internet connections.  
 
See active internet connections.  
 
e.g.
 
e.g.
  iftop -i eth1
+
  # iftop -i eth1
 
Will show you websites that don't close a connection, when the tab is left open. A privacy and security nightmare. This is a reason why [[Javascript]] is bad.
 
Will show you websites that don't close a connection, when the tab is left open. A privacy and security nightmare. This is a reason why [[Javascript]] is bad.
  
Line 10: Line 10:
 
See RAM usage. Can be watched, to monitor swapping.
 
See RAM usage. Can be watched, to monitor swapping.
 
e.g.
 
e.g.
  vmstat 3
+
  $ vmstat 3
 
Leave it running. It will update every 3 seconds.
 
Leave it running. It will update every 3 seconds.
 +
 +
==iotop==
 +
See HDD accesses.
 +
e.g.
 +
# iotop --only
 +
only flag will show active processes only

Revision as of 05:34, 21 February 2020

There are programs available to watch various aspects of your system.

iftop

See active internet connections. e.g.

# iftop -i eth1

Will show you websites that don't close a connection, when the tab is left open. A privacy and security nightmare. This is a reason why Javascript is bad.

vmstat

See RAM usage. Can be watched, to monitor swapping. e.g.

$ vmstat 3

Leave it running. It will update every 3 seconds.

iotop

See HDD accesses. e.g.

# iotop --only

only flag will show active processes only