{"id":7145,"date":"2018-10-25T13:15:11","date_gmt":"2018-10-25T10:15:11","guid":{"rendered":"https:\/\/www.howtoforge.com\/linux-tload-command\/"},"modified":"2018-10-25T13:15:11","modified_gmt":"2018-10-25T10:15:11","slug":"linux-tload-command-tutorial-for-beginners-with-examples","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/linux-tload-command-tutorial-for-beginners-with-examples\/","title":{"rendered":"Linux tload Command Tutorial for Beginners (with Examples)"},"content":{"rendered":"<p>While there are a lot of UI-based tools in Linux that you can use to see a graphical representation of system load, the number of command line tools that do the same work is pretty less. One such utility is <strong>tload<\/strong>, which will be discussing in this tutorial.<\/p>\n<p>But before we do that, it&#8217;s worth mentioning that all examples in this article have been tested on an Ubuntu 18.04 LTS machine.<\/p>\n<h2 id=\"linux-tload-command\">Linux tload command<\/h2>\n<p>The tload command in Linux provides you with a graphic representation of system load average. Following is its syntax:<\/p>\n<p class=\"command\">tload [options] [tty]<\/p>\n<p>And here&#8217;s how the tool&#8217;s man page explains it:<\/p>\n<pre>tload\u00a0 prints\u00a0 a\u00a0 graph\u00a0 of the current system load average to the specified tty (or the tty of <br\/>the tload process if none is specified).<\/pre>\n<p>Following are some Q&amp;A-styled examples that should give you a better idea on how the tload command works.<\/p>\n<h2 id=\"q-how-to-use-tload\">Q1. How to use tload?<\/h2>\n<p>Basic usage is pretty straight forward &#8211; just execute &#8216;tload&#8217; sans any option. The graph produced in output will likely take some time to build up, but after sometime, you&#8217;ll see something like this:<\/p>\n<p><a class=\"fancybox\" id=\"img-tload-graph\" href=\"https:\/\/www.howtoforge.com\/images\/command-tutorial\/big\/tload-graph.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/linux-tload-command-tutorial-for-beginners-with-examples.png\" alt=\"\" title=\"\"><\/a><\/p>\n<p>The graph, as you can see, consists of symbols like *, =, and -. While the tool&#8217;s man page doesn&#8217;t say anything about these symbols, there&#8217;s some useful explanation about this on a <a href=\"https:\/\/serverfault.com\/questions\/370447\/what-do-different-characters-in-tload-output-mean\" target=\"_blank\" rel=\"noopener noreferrer\">serverfault thread<\/a>.<\/p>\n<pre readability=\"8\">It's just the graphical (weird) representation of the last minute load average of the system over <br\/>the time.<p>The \"*\"s are just the representation of the level of load average. Understand it as a clasical <br\/>\"area graph\". The \"-\" sings just define the unities of load, and the \"=\" substitute the \"-\" when <br\/>the bar passes the line that marks the unit of the graph.<\/p><\/pre>\n<h2 id=\"q-does-tload-provide-any-scaling-option\">Q2. Does tload provide any scaling option?<\/h2>\n<p>Yes, it does. The option is -s. Here&#8217;s how the tool&#8217;s man page explains it:<\/p>\n<pre>The scale option allows a vertical scale to be specified for the display\u00a0 (in\u00a0 characters\u00a0 <br\/>between\u00a0 graph\u00a0 ticks);\u00a0 thus, a smaller value represents a larger scale, and vice versa.<\/pre>\n<p>For example:<\/p>\n<pre>tload -s 20<\/pre>\n<h2 id=\"q-how-to-set-delay-in-graph-updates\">Q3. How to set delay in graph updates?<\/h2>\n<p>When you run the tload command, you&#8217;ll notice that the graph it produces\u00a0continuously updates. However, if you want, you can set a delay between graph updates.<\/p>\n<p>This can be done using the -d command line option. For example:<\/p>\n<p class=\"command\">tload -d 5<\/p>\n<p>This command will ensure the graph updates after 5 seconds.<\/p>\n<h2 id=\"conclusion\">Conclusion<\/h2>\n<p>Agreed, this command is mostly for system admins. The number of options it offers is also limited. We have already discussed the major options this utility offers. To learn more, head to the tload <a href=\"https:\/\/linux.die.net\/man\/1\/tload\" target=\"_blank\" rel=\"noopener noreferrer\">man page<\/a>.<\/p>\n<div class=\"authorbox\" readability=\"15\">\n<img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/linux-tload-command-tutorial-for-beginners-with-examples.jpg\" alt=\"Himanshu Arora\" title=\"\"> <\/p>\n<p><strong>About Himanshu Arora<\/strong><\/p>\n<p>Himanshu Arora has been working on Linux since 2007. He carries professional experience in system level programming, networking protocols, and command line. In addition to HowtoForge, Himanshu&#8217;s work has also been featured in some of world&#8217;s other leading publications including Computerworld, IBM DeveloperWorks, and Linux Journal.<\/p>\n<\/div>\n<div>\n<p><b>Share this page:<\/b><\/p>\n<p>\n<a href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fwww.howtoforge.com%2Flinux-tload-command%2F\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/linux-tload-command-tutorial-for-beginners-with-examples-1.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Fwww.howtoforge.com%2Flinux-tload-command%2F&amp;text=Linux+tload+Command+Tutorial+for+Beginners+%28with+Examples%29&amp;via=howtoforgecom&amp;related=howtoforgecom\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/linux-tload-command-tutorial-for-beginners-with-examples-2.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/twitter.com\/howtoforgecom\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/linux-tload-command-tutorial-for-beginners-with-examples-3.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/plus.google.com\/share?url=https%3A%2F%2Fwww.howtoforge.com%2Flinux-tload-command%2F\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/10\/linux-tload-command-tutorial-for-beginners-with-examples-4.png\" height=\"20\" alt=\"\" title=\"\"><\/a>\n<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>While there are a lot of UI-based tools in Linux that you can use to see a graphical representation of system load, the number of command line tools that do the same work is pretty less. One such utility is tload, which will be discussing in this tutorial. But before we do that, it&#8217;s worth [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-7145","post","type-post","status-publish","format-standard","hentry","category-36"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/7145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=7145"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/7145\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=7145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=7145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=7145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}