User Tools

Site Tools


unix:freebsd:quick_tips

Differences

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

Link to this comparison view

Next revision
Previous revision
unix:freebsd:quick_tips [2019/07/11 03:38] – external edit 127.0.0.1unix:freebsd:quick_tips [2023/11/23 01:03] (current) rodolico
Line 11: Line 11:
 egrep '(ad|cd|da)[0-9]' /var/run/dmesg.boot | sort egrep '(ad|cd|da)[0-9]' /var/run/dmesg.boot | sort
 </code> </code>
 +
 +Or, simply run
 +<code bash>geom disk list</code>
 +
 +==== List USB devices ====
 +
 +<code bash>usbconfig</code>
  
 ===== Monitoring ===== ===== Monitoring =====
 +
 +==== CPU Temperatures ====
 +
 +Following command will show you the temperature of each core of a processor
 +<code bash>sysctl -a | grep temperature | grep cpu</code>
 +
 ==== iotop substitute ==== ==== iotop substitute ====
  
Line 18: Line 31:
  
 <code>top -m io -o total</code> <code>top -m io -o total</code>
 +
 +==== watch substitute ====
 +
 +Under Linux, watch repeats a command over and over, so it is useful for monitoring long running processes. The FreeBSD command //cmdwatch// does the same thing, with the same flags.
 +
 +<code bash>cmdwatch zpool iostat -v</code>
  
 ===== Package Management ===== ===== Package Management =====
unix/freebsd/quick_tips.1562834336.txt.gz · Last modified: 2019/07/11 03:38 by 127.0.0.1