{"id":517,"date":"2013-01-24T20:07:08","date_gmt":"2013-01-25T01:07:08","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2013\/01\/24\/using-the-linux-top-command-in-batch-mode\/"},"modified":"2021-08-16T23:23:38","modified_gmt":"2021-08-17T03:23:38","slug":"using-the-linux-top-command-in-batch-mode","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/using-the-linux-top-command-in-batch-mode\/","title":{"rendered":"Using the Linux top command in batch mode"},"content":{"rendered":"<p>In this article I&#8217;m going to teach you how you can use the popular Linux top command in batch mode on your VPS (Virtual Private Server) or dedicated server to track down possible problematic script executions.<\/p>\n<p>A lot of times there can be just a few scripts on your server that can quickly cause a lot of CPU usage and cause your server&#8217;s load average to spike. If you&#8217;ve already read my previous articles on either <a href=\"\/support\/server\/server-usage\/advanced-server-load-monitoring\/\" target=\"_blank\" rel=\"noopener\">advanced server load monitoring<\/a>, or on <a href=\"\/support\/server\/server-usage\/create-server-load-monitoring-bash-script\/\" target=\"_blank\" rel=\"noopener\">how to create a server load monitoring script<\/a>, you might have noticed that your server&#8217;s usage has been spiking. Being able to hop on your server and look for long running script executions can be a good troubleshooting tactic to use to see where this extra usage might be coming from.<\/p>\n<p>The <strong>top<\/strong> command on your server can be used to view dynamic real-time information about the processes and scripts running on your server. This information quickly refreshes and sometimes it can be difficult to track down exactly what was happening on the server watching the output from the <strong>top<\/strong> command fly by. So in this article I&#8217;m going to discuss how to use the batch mode of the <strong>top<\/strong> command so that we can log the activity going on, and then go back and review it.<\/p>\n<p>To follow along with the steps below, you&#8217;ll need to already have <a href=\"\/support\/server\/ssh\/root-access-faq\/\" target=\"_blank\" rel=\"noopener\">root access<\/a> to either your VPS or dedicated server so that you have full access to all of the processes running on your server.<\/p>\n<h2>Run top in batch mode and log activity<\/h2>\n<p>Following the steps below I&#8217;ll show you how to run <strong>top<\/strong> in batch mode and output that activity to a log file.<\/p>\n<ol class=\"article_list\">\n<li><a href=\"\/support\/server\/ssh\/how-to-login-ssh\/\" target=\"\u201d_blank\u201d\" rel=\"noopener\">Login to your server via SSH<\/a> as the root user.<\/li>\n<li>Run the following command to begin <strong>top<\/strong> in batch mode, logging to a file called <strong>TOP_LOG<\/strong>:\n<p class=\"cli\" style=\"width: 640px;  margin: 15px 0px 15px -50px;  padding: 15px 0px 15px 15px;  font-weight: 600;  font-size: 1.2em;\">top icbd .1 | egrep -v &#8220;top|Tasks|Cpu|Mem|Swap|PID|top icbd|^$|tee -a&#8221; | tee -a TOP_LOG<\/p>\n<div style=\"margin-left: -50px;\"> <strong>Code breakdown:<\/strong><\/p>\n<div>\n<p class=\"cli\" style=\"padding: 15px;  font-weight: 600;  font-size: 1.2em;\">top icbd .1<\/p>\n<p style=\"background: white; padding: 5px 0px 5px 5px;\">Run the <strong>top<\/strong> command with the <strong>i<\/strong>dle processes being shown, full <strong>c<\/strong>ommand line paths being shown, running in <strong>b<\/strong>atch mode, and with the <strong>d<\/strong>elay set to <strong>.1<\/strong> seconds so that it quickly refreshes.<\/p>\n<\/p><\/div>\n<div>\n<p class=\"cli\" style=\"padding: 15px;  font-weight: 600;  font-size: 1.2em;\">egrep -v &#8220;top|Tasks|Cpu|Mem|Swap|PID|top icbd|^$|tee -a&#8221;<\/p>\n<p style=\"background: white; padding: 5px 0px 5px 5px;\">Use the <strong>egrep<\/strong> command with the <strong>-v<\/strong> flag to not show any lines that include <strong>top<\/strong>, <strong>Tasks<\/strong>, <strong>Cpu<\/strong>, <strong>Mem<\/strong>, <strong>Swap<\/strong>, <strong>PID<\/strong>, <strong>top icbd<\/strong>, <strong>^$<\/strong> which is any blank line, or <strong>tee -a<\/strong>. This way we only see lines from <strong>top<\/strong> that have process information.<\/p>\n<\/p><\/div>\n<div>\n<p class=\"cli\" style=\"padding: 15px;  font-weight: 600;  font-size: 1.2em;\">tee -a TOP_LOG<\/p>\n<p style=\"background: white; padding: 5px 0px 5px 5px;\">Finally use the <strong>tee<\/strong> command with the <strong>-a<\/strong>ppend flag to simultaneously write the data from the <strong>top<\/strong> command out to a file called <strong>TOP_LOG<\/strong>.<\/p>\n<\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li>After you&#8217;ve let this run for some time to gather data, you can go ahead and hit <strong>Ctrl-C<\/strong> to stop the <strong>top<\/strong> command from gathering more data.<\/li>\n<\/ol>\n<h2>Parse top batch mode log<\/h2>\n<ol class=\"article_list\">\n<li>Run the following command to parse the data from our <strong>TOP_LOG<\/strong>\u00a0file and sort the processes by the longest amount of CPU time used:\n<p class=\"cli\" style=\"width: 640px;  margin: 15px 0px 15px -50px;  padding: 15px 0px 15px 15px;  font-weight: 600;  font-size: 1.2em;\">for PID in `sort -nk1 TOP_LOG | awk &#8216;{print $1}&#8217; | uniq`; <br \/>do grep $PID TOP_LOG | <br \/>sed -e &#8216;s#[ ]*$##&#8217; -e &#8216;s#([0-9]*):([0-9]*).([0-9]*)#1 2 3#&#8217; | <br \/> sort -nk1 -nk11 -nk12 -nk13 -k15 | <br \/>tail -1; done | sort -nk11 -nk12 -nk13<\/p>\n<div style=\"margin-left: -50px;\">\n<p><strong>Code breakdown:<\/strong><\/p>\n<div>\n<p class=\"cli\" style=\"padding: 15px;  font-weight: 600;  font-size: 1.2em;\">for PID in `sort -nk1 TOP_LOG | awk &#8216;{print $1}&#8217; | uniq`;<\/p>\n<p style=\"background: white; padding: 5px 0px 5px 5px;\">Start a bash for loop where we are setting the variable <strong>PID<\/strong> to the value we get from using the <strong>TOP_LOG<\/strong> file that we&#8217;ve alreaded used the <strong>sort -nk1<\/strong> command to sort the process IDs numerically, use the <strong>awk<\/strong> command to only print out the <strong>$1<\/strong>st column, then finally use the <strong>uniq<\/strong> command to only grab unique process IDs.<\/p>\n<\/p><\/div>\n<div>\n<p class=\"cli\" style=\"padding: 15px;  font-weight: 600;  font-size: 1.2em;\">do grep $PID TOP_LOG<\/p>\n<p style=\"background: white; padding: 5px 0px 5px 5px;\">Use the <strong>grep<\/strong> command to look for the current <strong>$PID<\/strong> in our loop from our <strong>TOP_LOG<\/strong> file.<\/p>\n<\/p><\/div>\n<div>\n<p class=\"cli\" style=\"padding: 15px;  font-weight: 600;  font-size: 1.2em;\">sed -e &#8216;s#[ ]*$##&#8217; -e &#8216;s#([0-9]*):([0-9]*).([0-9]*)#1 2 3#&#8217;<\/p>\n<p style=\"background: white; padding: 5px 0px 5px 5px;\">Use the <strong>sed<\/strong> command to first replace any blank lines with the <strong>-e &#8216;s#[ ]*$##&#8217;<\/strong> part, then take the CPU minute lines that look like <strong>0:00.20<\/strong> and break them up with spaces like <strong>0 00 20<\/strong> with the <strong>-e &#8216;s#([0-9]*):([0-9]*).([0-9]*)#1 2 3#&#8217;<\/strong> part.<\/p>\n<\/p><\/div>\n<div>\n<p class=\"cli\" style=\"padding: 15px;  font-weight: 600;  font-size: 1.2em;\">sort -nk1 -nk11 -nk12 -nk13 -k15<\/p>\n<p style=\"background: white; padding: 5px 0px 5px 5px;\">Sort our data numerically by the <strong>1<\/strong>st column which is the process ID, then by the <strong>11<\/strong>th which is the CPU minutes, followed by the <strong>12<\/strong>th which is the CPU seconds, then by the <strong>13<\/strong>th which is the miliseconds, and finally by the <strong>15<\/strong>th column which is the command run.<\/p>\n<\/p><\/div>\n<div>\n<p class=\"cli\" style=\"padding: 15px;  font-weight: 600;  font-size: 1.2em;\">tail -1; done<\/p>\n<p style=\"background: white; padding: 5px 0px 5px 5px;\">Use the <strong>tail -1<\/strong> command so that we only get back 1 entry per process ID, with the way we sorted them previously we should only get the line from the log file that had the highest recorded CPU usage. Then use the <strong>done<\/strong> command to complete our bash for loop.<\/p>\n<\/p><\/div>\n<div>\n<p class=\"cli\" style=\"padding: 15px;  font-weight: 600;  font-size: 1.2em;\">sort -nk11 -nk12 -nk13<\/p>\n<p style=\"background: white; padding: 5px 0px 5px 5px;\">Finally sort all of the data numerically so that it&#8217;s sorted by CPU time used.<\/p>\n<\/p><\/div>\n<\/p><\/div>\n<p>You should end up with something that looks like this:<\/p>\n<p class=\"cli\" style=\"margin-left: -50px;white-space: nowrap;overflow-x: scroll;\">30833 userna5 20 0 269m 52m 9084 R 90.1 0.1 0 04 19 \/usr\/bin\/php \/home\/userna5\/public_html\/index.php<br \/> 21983 userna5 20 0 269m 52m 9084 R 93.2 0.1 0 13 24 \/usr\/bin\/php \/home\/userna5\/public_html\/wp-comments-post.php<br \/> 21893 userna5 20 0 269m 52m 9084 R 94.7 0.1 1 15 23 \/usr\/bin\/php \/home\/userna5\/public_html\/wp-cron.php<\/p>\n<p>So in this case we can see that the <strong>\/home\/userna5\/public_html\/wp-cron.php<\/strong> script was the longest running script during the time we logged to our <strong>TOP_LOG<\/strong> file running for <strong>1<\/strong> minute and <strong>15.23<\/strong> seconds. If you have lots of scripts or processes that are having minute long script execution times this can cause server load spikes.<\/p>\n<\/li>\n<li>Once you are done reviewing the data in our <strong>TOP_LOG<\/strong> file you can run the following command to remove this file:\n<p class=\"cli\" style=\"width: 500px;\">rm -rf .\/TOP_LOG<\/p>\n<\/li>\n<\/ol>\n<p>You should now understand how you can use the <strong>top<\/strong> command in batch mode to help better troubleshooting long script executions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article I&#8217;m going to teach you how you can use the popular Linux top command in batch mode on your VPS (Virtual Private Server) or dedicated server to track down possible problematic script executions. A lot of times there can be just a few scripts on your server that can quickly cause a<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/using-the-linux-top-command-in-batch-mode\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4308],"tags":[],"class_list":["post-517","post","type-post","status-publish","format-standard","hentry","category-linux"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Using the Linux top command in batch mode | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"In this article I&#039;m going to teach you how you can use the popular Linux top command in batch mode on your VPS (Virtual Private Server) or dedicated server to track down possible problematic script executions.\" \/>\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.inmotionhosting.com\/support\/server\/linux\/using-the-linux-top-command-in-batch-mode\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using the Linux top command in batch mode | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"In this article I&#039;m going to teach you how you can use the popular Linux top command in batch mode on your VPS (Virtual Private Server) or dedicated server to track down possible problematic script executions.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/using-the-linux-top-command-in-batch-mode\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2013-01-25T01:07:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T03:23:38+00:00\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/using-the-linux-top-command-in-batch-mode\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/using-the-linux-top-command-in-batch-mode\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"Using the Linux top command in batch mode\",\"datePublished\":\"2013-01-25T01:07:08+00:00\",\"dateModified\":\"2021-08-17T03:23:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/using-the-linux-top-command-in-batch-mode\/\"},\"wordCount\":985,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/using-the-linux-top-command-in-batch-mode\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/using-the-linux-top-command-in-batch-mode\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/using-the-linux-top-command-in-batch-mode\/\",\"name\":\"Using the Linux top command in batch mode | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2013-01-25T01:07:08+00:00\",\"dateModified\":\"2021-08-17T03:23:38+00:00\",\"description\":\"In this article I'm going to teach you how you can use the popular Linux top command in batch mode on your VPS (Virtual Private Server) or dedicated server to track down possible problematic script executions.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/using-the-linux-top-command-in-batch-mode\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/using-the-linux-top-command-in-batch-mode\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/using-the-linux-top-command-in-batch-mode\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using the Linux top command in batch mode\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using the Linux top command in batch mode | InMotion Hosting","description":"In this article I'm going to teach you how you can use the popular Linux top command in batch mode on your VPS (Virtual Private Server) or dedicated server to track down possible problematic script executions.","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.inmotionhosting.com\/support\/server\/linux\/using-the-linux-top-command-in-batch-mode\/","og_locale":"en_US","og_type":"article","og_title":"Using the Linux top command in batch mode | InMotion Hosting","og_description":"In this article I'm going to teach you how you can use the popular Linux top command in batch mode on your VPS (Virtual Private Server) or dedicated server to track down possible problematic script executions.","og_url":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/using-the-linux-top-command-in-batch-mode\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2013-01-25T01:07:08+00:00","article_modified_time":"2021-08-17T03:23:38+00:00","author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/using-the-linux-top-command-in-batch-mode\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/using-the-linux-top-command-in-batch-mode\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"Using the Linux top command in batch mode","datePublished":"2013-01-25T01:07:08+00:00","dateModified":"2021-08-17T03:23:38+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/using-the-linux-top-command-in-batch-mode\/"},"wordCount":985,"commentCount":4,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["Linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/server\/linux\/using-the-linux-top-command-in-batch-mode\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/using-the-linux-top-command-in-batch-mode\/","url":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/using-the-linux-top-command-in-batch-mode\/","name":"Using the Linux top command in batch mode | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2013-01-25T01:07:08+00:00","dateModified":"2021-08-17T03:23:38+00:00","description":"In this article I'm going to teach you how you can use the popular Linux top command in batch mode on your VPS (Virtual Private Server) or dedicated server to track down possible problematic script executions.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/using-the-linux-top-command-in-batch-mode\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/server\/linux\/using-the-linux-top-command-in-batch-mode\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/using-the-linux-top-command-in-batch-mode\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Using the Linux top command in batch mode"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/517","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=517"}],"version-history":[{"count":3,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/517\/revisions"}],"predecessor-version":[{"id":85027,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/517\/revisions\/85027"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=517"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=517"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}