From bb8a00ab9aa4efcca5723032fa26fa8bf1b57bcc Mon Sep 17 00:00:00 2001 From: MT <59728838+mt-empty@users.noreply.github.com> Date: Tue, 18 Feb 2020 07:33:27 +1100 Subject: [PATCH] dstat: add page (#3851) --- pages/linux/dstat.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/linux/dstat.md diff --git a/pages/linux/dstat.md b/pages/linux/dstat.md new file mode 100644 index 000000000..622e09e62 --- /dev/null +++ b/pages/linux/dstat.md @@ -0,0 +1,28 @@ +# dstat + +> Versatile tool for generating system resource statistics. +> More information: . + +- Display CPU, disk, net, paging and system statistics: + +`dstat` + +- Display statistics every 5 seconds and 4 updates only: + +`dstat {{5}} {{4}}` + +- Display CPU and memory statistics only: + +`dstat --cpu --mem` + +- List all available dstat plugins: + +`dstat --list` + +- Display the process using the most memory and most CPU: + +`dstat --top-mem --top-cpu` + +- Display battery percentage and remaining battery time: + +`dstat --battery --battery-remain`