vmstat allows the user to monitor virtual memory statistics such as processes, memory, paging, block IO, traps , disks and cpu activity.
Why don’t I use this command more?
To duplicate the content while piping you can use the tee utility. One straightforward and useful example is that tee can be used to write to multiple fil...
To make your 4 CPUs run flat out for 60 seconds:
du -hsc * | sort -h