{"id":68635,"date":"2023-09-27T18:01:30","date_gmt":"2023-09-27T10:01:30","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=68635"},"modified":"2023-09-27T18:10:33","modified_gmt":"2023-09-27T10:10:33","slug":"linux-command-glances","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/linux-command-glances\/","title":{"rendered":"How to Use the &#8216;glances&#8217; Command in Linux"},"content":{"rendered":"<p>The <code>glances<\/code> command in Linux provides a comprehensive overview of system performance. Acting as a real-time monitoring system, it offers insights into CPU, memory, disk usage, and more, all in an easy-to-read interface. Similar to commands like <code><a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-top\/\">top<\/a><\/code> and <code><a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-htop\/\">htop<\/a><\/code>, glances takes system monitoring a step further by displaying additional information and allowing for more customization.<\/p>\n<p>Whether you\u2019re a system admin or web developer, the <code>glances<\/code> command can be an essential part of your toolkit. It\u2019s particularly handy for those who need to keep an eye on system resources, troubleshoot performance issues, or optimize system efficiency. Alongside tools like <code>vmstat<\/code> and <code>iostat<\/code>, <code>glances<\/code> can provide a more holistic view of your system\u2019s health and performance.<\/p>\n<h2>How to Install the <code>glances<\/code> Command<\/h2>\n<p><code>glances<\/code> is not typically included by default in most Linux distributions, so you will need to install it. Here\u2019s how you can install and uninstall <code>glances<\/code> on various Linux systems:<\/p>\n<p><strong>For Ubuntu\/Debian-based systems:<\/strong><\/p>\n<p>To install:<\/p>\n<pre>sudo apt-get update\r\nsudo apt-get install glances<\/pre>\n<p>To uninstall:<\/p>\n<pre>sudo apt-get remove glances<\/pre>\n<p><strong>For Fedora:<\/strong><\/p>\n<p>To install:<\/p>\n<pre>sudo dnf install glances<\/pre>\n<p>To uninstall:<\/p>\n<pre>sudo dnf remove glances<\/pre>\n<p><strong>For CentOS\/RHEL:<\/strong><\/p>\n<p>To install:<\/p>\n<pre>sudo yum install glances<\/pre>\n<p>To uninstall:<\/p>\n<pre>sudo yum remove glances<\/pre>\n<p><strong>For macOS (using Homebrew):<\/strong><\/p>\n<p>To install:<\/p>\n<pre>brew install glances<\/pre>\n<p>To uninstall:<\/p>\n<pre>brew uninstall glances<\/pre>\n<h2>How to Use <code>glances<\/code><\/h2>\n<h3>1. Monitor System Resources<\/h3>\n<p><strong>Syntax:<\/strong> <code>glances<\/code><\/p>\n<p><strong>Explanation<\/strong>: Displays a real-time overview of system resources.<\/p>\n<p><strong>Example:<\/strong> <code>glances<\/code><\/p>\n<p><strong>Output:<\/strong><\/p>\n<pre>\r\nCPU     5.6%  MEM    42.1%  SWAP    0.0%  LOAD    0.45  0.36  0.31 \r\nNETWORK   rx   102Kb\/s   tx   58Kb\/s \r\nDISK I\/O  read  0b\/s     write 20Kb\/s\r\n<\/pre>\n<p>This output shows the current CPU usage at 5.6%, memory usage at 42.1%, no swap usage, network and disk I\/O rates, and system load averages.<\/p>\n<hr>\n<h3>2. Monitor System Resources with a Specific Refresh Interval<\/h3>\n<p><strong>Syntax:<\/strong> <code>glances -t &lt;seconds&gt;<\/code><\/p>\n<p><strong>Explanation<\/strong>: Refreshes the display at a specific interval in seconds.<\/p>\n<p><strong>Example:<\/strong> <code>glances -t 5<\/code><\/p>\n<p><strong>Output:<\/strong><\/p>\n<pre>\r\nCPU     3.2%  MEM    40.2%  SWAP    0.0%  LOAD    0.25  0.30  0.28\r\n<\/pre>\n<p>This output is similar to the basic command but refreshes every 5 seconds.<\/p>\n<hr>\n<h3>3. Monitor Specific Processes by Name<\/h3>\n<p><strong>Syntax:<\/strong> <code>glances -p &lt;process_name&gt;<\/code><\/p>\n<p><strong>Explanation<\/strong>: Filters the display to show only specific processes by name.<\/p>\n<p><strong>Example:<\/strong> <code>glances -p firefox<\/code><\/p>\n<p><strong>Output:<\/strong><\/p>\n<pre>\r\nPID  1234  USER  john  VIRT  2.3G  RES  200M  CPU  12%  MEM  5%  TIME+  2:03  NAME  firefox\r\n<\/pre>\n<p>This output shows details about the Firefox process, including PID, user, virtual and resident memory, CPU and memory usage, and total time.<\/p>\n<hr>\n<h3>4. Run Glances in Web Server Mode<\/h3>\n<p><strong>Syntax:<\/strong> <code>glances -w<\/code><\/p>\n<p><strong>Explanation<\/strong>: Runs <code>glances<\/code> in web server mode, allowing access via a web browser.<\/p>\n<p><strong>Example:<\/strong> <code>glances -w<\/code><\/p>\n<p><strong>Output:<\/strong><\/p>\n<pre>\r\nGlances Web User Interface started on http:\/\/0.0.0.0:61208\/\r\n<\/pre>\n<p>This output indicates that <code>glances<\/code> is running as a web server, and the user interface can be accessed through the provided URL.<\/p>\n<hr>\n<h3>5. Monitor System Resources with a Specific Configuration File<\/h3>\n<p><strong>Syntax:<\/strong> <code>glances -C &lt;path_to_config_file&gt;<\/code><\/p>\n<p><strong>Explanation<\/strong>: Starts <code>glances<\/code> with a specific configuration file.<\/p>\n<p><strong>Example:<\/strong> <code>glances -C \/etc\/glances\/glances.conf<\/code><\/p>\n<p>This command allows you to use a custom configuration file to modify the behavior and appearance of <code>glances<\/code>.<\/p>\n<hr>\n<h3>6. Export Statistics to a CSV File<\/h3>\n<p><strong>Syntax:<\/strong> <code>glances --export csv --output-file &lt;file.csv&gt;<\/code><\/p>\n<p><strong>Explanation<\/strong>: Exports the statistics to a CSV file.<\/p>\n<p><strong>Example:<\/strong> <code>glances --export csv --output-file stats.csv<\/code><\/p>\n<p>This command exports the monitored data to a CSV file named <code>stats.csv<\/code>, allowing for further analysis or record-keeping.<\/p>\n<hr>\n<h3>7. Monitor Disk I\/O by Disk Name<\/h3>\n<p><strong>Syntax:<\/strong> <code>glances -d &lt;disk_name&gt;<\/code><\/p>\n<p><strong>Explanation<\/strong>: Monitors specific disk I\/O by disk name.<\/p>\n<p><strong>Example:<\/strong> <code>glances -d sda<\/code><\/p>\n<p><strong>Output:<\/strong><\/p>\n<pre>\r\nDISK I\/O  sda  read  100Kb\/s  write  50Kb\/s\r\n<\/pre>\n<p>This output shows the read and write speeds specifically for the <code>sda<\/code> disk.<\/p>\n<hr>\n<h3>8. Monitor with Docker Plugin<\/h3>\n<p><strong>Syntax:<\/strong> <code>glances --enable-plugin docker<\/code><\/p>\n<p><strong>Explanation<\/strong>: Monitors Docker containers using the Docker plugin.<\/p>\n<p><strong>Example:<\/strong> <code>glances --enable-plugin docker<\/code><\/p>\n<p><strong>Output:<\/strong><\/p>\n<pre>\r\nDOCKER  ID  12345678  NAME  my_container  CPU  5%  MEM  10%  STATUS  Up 3 hours\r\n<\/pre>\n<p>This output shows details about a specific Docker container, including its ID, name, CPU and memory usage, and status.<\/p>\n<hr>\n<h3>9. Display Network Cumulative Stats<\/h3>\n<p><strong>Syntax:<\/strong> <code>glances --enable-plugin ip<\/code><\/p>\n<p><strong>Explanation<\/strong>: Displays cumulative network stats using the IP plugin.<\/p>\n<p><strong>Example:<\/strong> <code>glances --enable-plugin ip<\/code><\/p>\n<p><strong>Output:<\/strong><\/p>\n<pre>\r\nNETWORK  eth0  rx  1.2GB  tx  800MB\r\n<\/pre>\n<p>This output shows the cumulative received <code>rx<\/code> and transmitted <code>tx<\/code> data for the <code>eth0<\/code> network interface.<\/p>\n<hr>\n<h3 style=\"padding-bottom:10px\">More Linux commands:<\/h3>\n<table>\n<tbody>\n<tr>\n<td width=\"150\">Directory Operations<\/td>\n<td><a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-rm-rmdir\/\"><code>rmdir<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-cd\/\"><code>cd<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-pwd\/\"><code>pwd<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-exa\/\"><code>exa<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-ls\/\"><code>ls<\/code><\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"150\">File Operations<\/td>\n<td><a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-cat\/\"><code>cat<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-cp\/\"><code>cp<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-dd\/\"><code>dd<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-less\/\"><code>less<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-touch\/\"><code>touch<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-ln\/\"><code>ln<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-rename\/\"><code>rename<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-more\/\"><code>more<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-head\/\"><code>head<\/code><\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"150\">File System Operations<\/td>\n<td><a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-chown\/\"><code>chown<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-mkfs\/\"><code>mkfs<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-locate\/\"><code>locate<\/code><\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"150\">Networking<\/td>\n<td><a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-ping\/\"><code>ping<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-curl\/\"><code>curl<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-wget\/\"><code>wget<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-iptables\/\"><code>iptables<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-mtr\/\"><code>mtr<\/code><\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"150\">Search and Text Processing<\/td>\n<td><a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-find\/\"><code>find<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-grep\/\"><code>grep<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-sed\/\"><code>sed<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-whatis\/\"><code>whatis<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-ripgrep\/\"><code>ripgrep<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-fd\/\"><code>fd<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-tldr\/\"><code>tldr<\/code><\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"150\">System Information and Management<\/td>\n<td><a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-env\/\"><code>env<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-history\/\"><code>history<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-top\/\"><code>top<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-who\/\"><code>who<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-htop\/\"><code>htop<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-glances\/\"><code>glances<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-lsof\/\"><code>lsof<\/code><\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"150\">User and Session Management<\/td>\n<td><a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-screen\/\"><code>screen<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-su\/\"><code>su<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-sudo\/\"><code>sudo<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-open\/\"><code>open<\/code><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>","protected":false},"excerpt":{"rendered":"<p>From CPU to disk usage, &#8216;glances&#8217; offers real-time insights into your Linux system.<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3397],"tags":[888,3316],"topic":[],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Use the &#039;glances&#039; Command in Linux - Hongkiat<\/title>\n<meta name=\"description\" content=\"From CPU to disk usage, &#039;glances&#039; offers real-time insights into your Linux system.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-glances\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use the &#039;glances&#039; Command in Linux\" \/>\n<meta property=\"og:description\" content=\"From CPU to disk usage, &#039;glances&#039; offers real-time insights into your Linux system.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/linux-command-glances\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-27T10:01:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-27T10:10:33+00:00\" \/>\n<meta name=\"author\" content=\"Hongkiat.com\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hongkiat.com\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/linux-command-glances\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/linux-command-glances\\\/\"},\"author\":{\"name\":\"Hongkiat.com\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/7cc686597d92f9086729e4bcc1577ba3\"},\"headline\":\"How to Use the &#8216;glances&#8217; Command in Linux\",\"datePublished\":\"2023-09-27T10:01:30+00:00\",\"dateModified\":\"2023-09-27T10:10:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/linux-command-glances\\\/\"},\"wordCount\":504,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"keywords\":[\"Linux\",\"Linux Commands\"],\"articleSection\":[\"Desktop\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/linux-command-glances\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/linux-command-glances\\\/\",\"name\":\"How to Use the 'glances' Command in Linux - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"datePublished\":\"2023-09-27T10:01:30+00:00\",\"dateModified\":\"2023-09-27T10:10:33+00:00\",\"description\":\"From CPU to disk usage, 'glances' offers real-time insights into your Linux system.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/linux-command-glances\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/linux-command-glances\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/linux-command-glances\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Use the &#8216;glances&#8217; Command in Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/7cc686597d92f9086729e4bcc1577ba3\",\"name\":\"Hongkiat.com\",\"description\":\"This post is published by an HKDC (hongkiat.com) staff. (I.e., intern, staff writer, or editor).\",\"sameAs\":[\"https:\\\/\\\/www.hongkiat.com\"],\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/com\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Use the 'glances' Command in Linux - Hongkiat","description":"From CPU to disk usage, 'glances' offers real-time insights into your Linux system.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hongkiat.com\/blog\/linux-command-glances\/","og_locale":"en_US","og_type":"article","og_title":"How to Use the 'glances' Command in Linux","og_description":"From CPU to disk usage, 'glances' offers real-time insights into your Linux system.","og_url":"https:\/\/www.hongkiat.com\/blog\/linux-command-glances\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2023-09-27T10:01:30+00:00","article_modified_time":"2023-09-27T10:10:33+00:00","author":"Hongkiat.com","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Hongkiat.com","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/linux-command-glances\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/linux-command-glances\/"},"author":{"name":"Hongkiat.com","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/7cc686597d92f9086729e4bcc1577ba3"},"headline":"How to Use the &#8216;glances&#8217; Command in Linux","datePublished":"2023-09-27T10:01:30+00:00","dateModified":"2023-09-27T10:10:33+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/linux-command-glances\/"},"wordCount":504,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"keywords":["Linux","Linux Commands"],"articleSection":["Desktop"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/linux-command-glances\/","url":"https:\/\/www.hongkiat.com\/blog\/linux-command-glances\/","name":"How to Use the 'glances' Command in Linux - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"datePublished":"2023-09-27T10:01:30+00:00","dateModified":"2023-09-27T10:10:33+00:00","description":"From CPU to disk usage, 'glances' offers real-time insights into your Linux system.","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/linux-command-glances\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/linux-command-glances\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/linux-command-glances\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Use the &#8216;glances&#8217; Command in Linux"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/7cc686597d92f9086729e4bcc1577ba3","name":"Hongkiat.com","description":"This post is published by an HKDC (hongkiat.com) staff. (I.e., intern, staff writer, or editor).","sameAs":["https:\/\/www.hongkiat.com"],"url":"https:\/\/www.hongkiat.com\/blog\/author\/com\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-hR1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/68635","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=68635"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/68635\/revisions"}],"predecessor-version":[{"id":69656,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/68635\/revisions\/69656"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=68635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=68635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=68635"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=68635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}