There are a number of common command line tools that we can use to monitor system resources. We have df for disk space, free for RAM usage, top for processes, bmon for network usage, etc. Quite often though, I find it useful to monitor them all simultaneously, and constantly switching commands or using ‘watch’ with free/df is annoying.
I came across dstat recently that gives a nice colorful overview of a choice of statistics. Here are some useful command line options from the man page:
You can also output to CSV with –csv and disable color with –nocolor.
(more…)
Tags: bandwidth usage, bmon, df, disk space, dstat, free, io statistics, linux benchmark, linux statistics, monitor, network usage, process, processes, RAM usage, system statistics, top