{"id":13008,"date":"2019-03-30T02:31:45","date_gmt":"2019-03-30T02:31:45","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=13008"},"modified":"2019-03-30T02:31:45","modified_gmt":"2019-03-30T02:31:45","slug":"ttyload-shows-a-color-coded-graph-of-linux-load-average-in-terminal","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/30\/ttyload-shows-a-color-coded-graph-of-linux-load-average-in-terminal\/","title":{"rendered":"ttyload \u2013 Shows a Color-coded Graph of Linux Load Average in Terminal"},"content":{"rendered":"<p><strong>ttyload<\/strong>\u00a0is a lightweight utility which is intended to offer a color-coded graph of load averages over time on Linux and other Unix-like systems. It enables a graphical tracking of system load average in a terminal (\u201c<strong>tty<\/strong>\u201c).<\/p>\n<p>It is known to run on systems such as Linux, IRIX, Solaris, FreeBSD, MacOS X (Darwin) and Isilon OneFS. It is designed to be easy to port to other platforms, but this comes with some hard work.<\/p>\n<p>Some of its notable features are: it uses fairly standard, but hard-coded, ANSI escape sequences for screen manipulation and colorization. And also comes with (but doesn\u2019t install, or even build by default) a relatively self-contained load bomb, if you want to view how things work on an otherwise unloaded system.<\/p>\n<p><b>Suggested Read:<\/b>\u00a0<a href=\"https:\/\/www.tecmint.com\/gotty-share-linux-terminal-in-web-browser\/\" target=\"_blank\" rel=\"noopener noreferrer\">GoTTY \u2013 Share Your Linux Terminal (TTY) as a Web Application<\/a><\/p>\n<p>In this article, we will show you how to install and use\u00a0<strong>ttyload<\/strong>\u00a0in Linux to view a color-coded graph of your system load average in a terminal.<\/p>\n<h3>How to Install ttyload in Linux Systems<\/h3>\n<p>On Debian\/Ubuntu based distributions, you can install\u00a0<strong>ttyload<\/strong>\u00a0from the default system respositores by typing the following\u00a0<a href=\"https:\/\/www.tecmint.com\/useful-basic-commands-of-apt-get-and-apt-cache-for-package-management\/\" target=\"_blank\" rel=\"noopener noreferrer\">apt-get command<\/a>.<\/p>\n<pre>$ sudo apt-get install ttyload\r\n<\/pre>\n<p>On Other Linux distributions you can install\u00a0<strong>ttyload<\/strong>\u00a0from the source as shown.<\/p>\n<pre>$ git clone https:\/\/github.com\/lindes\/ttyload.git\r\n$ cd ttyload\r\n$ make\r\n$ .\/ttyload\r\n$ sudo make install\r\n<\/pre>\n<p>Once installed, you can start it by typing the following command.<\/p>\n<pre>$ ttyload\r\n<\/pre>\n<div id=\"attachment_25558\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/05\/ttyload-Graphical-View-of-Linux-Load-Average-.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-25558\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/05\/ttyload-Graphical-View-of-Linux-Load-Average-.png\" sizes=\"auto, (max-width: 888px) 100vw, 888px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/05\/ttyload-Graphical-View-of-Linux-Load-Average-.png 888w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/05\/ttyload-Graphical-View-of-Linux-Load-Average--768x462.png 768w\" alt=\"ttyload - Graphical View of Linux Load Average\" width=\"888\" height=\"534\" aria-describedby=\"caption-attachment-25558\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-25558\" class=\"wp-caption-text\">ttyload \u2013 Graphical View of Linux Load Average<\/p>\n<\/div>\n<p><strong>Note<\/strong>: To close the program simply press\u00a0<code>[Ctrl+C]<\/code>\u00a0keys.<\/p>\n<p>You can also define the number of seconds in the interval between refreshes. Default value is 4, and the minimum is 1.<\/p>\n<pre>$ ttyload -i 5\r\n$ ttyload -i 1\r\n<\/pre>\n<p>To run it in a monochrome mode which turns off ANSI escapes, use the\u00a0<code>-m<\/code>\u00a0as follows.<\/p>\n<pre>$ ttyload -m\r\n<\/pre>\n<div id=\"attachment_25556\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/05\/ttyload-monochrome-mode.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-25556\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/05\/ttyload-monochrome-mode.png\" sizes=\"auto, (max-width: 818px) 100vw, 818px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/05\/ttyload-monochrome-mode.png 818w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/05\/ttyload-monochrome-mode-768x430.png 768w\" alt=\"ttyload - Monochrome Mode\" width=\"818\" height=\"458\" aria-describedby=\"caption-attachment-25556\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-25556\" class=\"wp-caption-text\">ttyload \u2013 Monochrome Mode<\/p>\n<\/div>\n<p>To get the ttyload usage info and help, type.<\/p>\n<pre>$ ttyload -h \r\n<\/pre>\n<p>Below are some of its important features yet to be added:<\/p>\n<ul>\n<li>Support for arbitrary sizing.<\/li>\n<li>Make an X front end using the same basic engine, to have \u201c3xload\u201d.<\/li>\n<li>Logging-oriented mode.<\/li>\n<\/ul>\n<p>For more information, check out the ttyload Homepage:\u00a0<a href=\"http:\/\/www.daveltd.com\/src\/util\/ttyload\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">http:\/\/www.daveltd.com\/src\/util\/ttyload\/<\/a><\/p>\n<p>Thats all for now! In this article, we showed you how to install and use ttyload in Linux. Write back to us via the comment section below.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/ttyload-shows-color-coded-graph-of-linux-load-average\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ttyload\u00a0is a lightweight utility which is intended to offer a color-coded graph of load averages over time on Linux and other Unix-like systems. It enables a graphical tracking of system load average in a terminal (\u201ctty\u201c). It is known to run on systems such as Linux, IRIX, Solaris, FreeBSD, MacOS X (Darwin) and Isilon OneFS. &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/30\/ttyload-shows-a-color-coded-graph-of-linux-load-average-in-terminal\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;ttyload \u2013 Shows a Color-coded Graph of Linux Load Average in Terminal&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-13008","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13008","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=13008"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13008\/revisions"}],"predecessor-version":[{"id":13009,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13008\/revisions\/13009"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=13008"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=13008"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=13008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}