Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Table of Contents

 tail tail -f /directory/filename

This command is used to tail a file like a debug window and follow the output as it scrolls.

multitail -cS apache /directory/filename directory/filename2

This command is used to tail multiple files like a debug window and follow the output as it scrolls.

sort our HTOP view for memory allocation

  • Hide user threads (shift + H)
  • Change the process tree view (F5)
  • sort by MEM% by pressing (shift + M)
  • then you can sort out the process of your interest by PID and read the RES column

du -hc --max-depth=1

Using this command will give you the total Disk Usage for the folder you designate. Useful when trying to track down where precious is being utilized, and tearing down the tree to locate the culprit(s).

...