{"id":1645,"date":"2019-05-20T07:35:14","date_gmt":"2019-05-20T02:05:14","guid":{"rendered":"http:\/\/jaipurhosting.com\/blog\/?p=1645"},"modified":"2019-06-12T07:45:09","modified_gmt":"2019-06-12T02:15:09","slug":"ttyload-shows-a-color-coded-graph-of-linux-load-average-in-terminal","status":"publish","type":"post","link":"https:\/\/www.jaipurhosting.com\/blog\/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":"\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p><strong>Description<\/strong><\/p>\n\n\n\n<p><strong>ttyload<\/strong>&nbsp;is a lightweight utility which is intended to offer a color-coded graph of load averages over time on Linux and other Unix-like systems. <\/p>\n\n\n\n<p>It enables a graphical tracking of system load average in a terminal (\u201c<strong>tty<\/strong>\u201c). <\/p>\n\n\n\n<p>It is known to run on systems such as Linux, IRIX, Solaris, FreeBSD, MacOS X (Darwin) and Isilon OneFS. <\/p>\n\n\n\n<p>It is designed to be easy to port to other platforms, but this comes with some hard work.<\/p>\n\n\n\n<p>Some of its notable features are: it uses fairly standard, but hard-coded, ANSI escape sequences for screen manipulation and colorization. <\/p>\n\n\n\n<p>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\n\n\n<p>In this article, we will show you how to install and use&nbsp;<strong>ttyload<\/strong>&nbsp;in Linux to view a color-coded graph of your system load average in a terminal.<\/p>\n\n\n\n<p>On Debian\/Ubuntu based distributions, you can install&nbsp;<strong>ttyload<\/strong>&nbsp;from the default system respositores by typing the following&nbsp;apt-get command. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo apt-get install ttyload<\/code><\/pre>\n\n\n\n<p>On Other Linux distributions you can install&nbsp;<strong>ttyload<\/strong>&nbsp;from the source as shown.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ git clone https:\/\/github.com\/lindes\/ttyload.git\n$ cd ttyload\n$ make\n$ .\/ttyload\n$ sudo make install<\/code><\/pre>\n\n\n\n<p>Once installed, you can start it by typing the following command. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ ttyload<\/code><\/pre>\n\n\n\n<p><strong>Note<\/strong>: To close the program simply press&nbsp;<code>[Ctrl+C]<\/code>&nbsp;keys. <\/p>\n\n\n\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\n\n\n<p>To run it in a monochrome mode which turns off ANSI escapes, use the&nbsp;<code>-m<\/code>&nbsp;as follows. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ ttyload -m<\/code><\/pre>\n\n\n\n<p>To get the ttyload usage info and help, type.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ ttyload -h<\/code><\/pre>\n\n\n\n<p>Below are some of its important features yet to be added:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Support for arbitrary sizing.<\/li><li>Make an X front end using the same basic engine, to have \u201c3xload\u201d.<\/li><li>Logging-oriented mode.<\/li><\/ul>\n\n\n\n<p><br> We hope you\u2019ve found this useful! <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Description ttyload&nbsp;is 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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1646,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-1645","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/posts\/1645","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/comments?post=1645"}],"version-history":[{"count":2,"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/posts\/1645\/revisions"}],"predecessor-version":[{"id":1649,"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/posts\/1645\/revisions\/1649"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/media\/1646"}],"wp:attachment":[{"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/media?parent=1645"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/categories?post=1645"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/tags?post=1645"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}