This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
utils_commands [2020/05/08 07:55] xavier |
utils_commands [2020/06/06 11:42] (current) xavier |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Useful commands ====== | ====== Useful commands ====== | ||
| + | |||
| + | ===== Error investigation ===== | ||
| + | |||
| + | Unfreeze PC at kernel level:\\ | ||
| + | [[https://en.wikipedia.org/wiki/Magic_SysRq_key#Common_Usage]]\\ | ||
| + | |||
| + | Show error and warning messages:\\ | ||
| + | ''# dmesg -T --level=err,warn''\\ | ||
| + | |||
| + | Monitor message in real time:\\ | ||
| + | ''# dmesg -Tx --follow''\\ | ||
| + | |||
| + | Test RAM:\\ | ||
| + | ''# apt-get install memtester''\\ | ||
| + | ''# memtester 1024 5''\\ | ||
| + | (allocate 1024Mo and repeat 5 times)\\ | ||
| + | |||
| + | |||
| + | |||
| ===== Data management ===== | ===== Data management ===== | ||
| ==== File and directory size ==== | ==== File and directory size ==== | ||