<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Performance Monitor on Tech Notes by ClaudeXu</title>
        <link>https://blog.claudexu.top/categories/performance-monitor/</link>
        <description>Recent content in Performance Monitor on Tech Notes by ClaudeXu</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en-us</language>
        <lastBuildDate>Sun, 16 Aug 2026 15:35:08 +0800</lastBuildDate><atom:link href="https://blog.claudexu.top/categories/performance-monitor/index.xml" rel="self" type="application/rss+xml" /><item>
        <title>htop Essentials</title>
        <link>https://blog.claudexu.top/post/tools/task-manager/htop/</link>
        <pubDate>Sun, 16 Aug 2026 15:35:08 +0800</pubDate>
        
        <guid>https://blog.claudexu.top/post/tools/task-manager/htop/</guid>
        <description>&lt;h2 id=&#34;basic-usage&#34;&gt;Basic Usage
&lt;/h2&gt;&lt;p&gt;Start the program with htop. When running inside a desktop terminal emulator, htop supports mouse interaction — you can scroll, click to sort columns, and use the bottom menu.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://blog.claudexu.top/post/tools/task-manager/htop/htop-ui.png&#34;
	width=&#34;1383&#34;
	height=&#34;858&#34;
	srcset=&#34;https://blog.claudexu.top/post/tools/task-manager/htop/htop-ui_hu_f7ae33fa104314b.png 480w, https://blog.claudexu.top/post/tools/task-manager/htop/htop-ui_hu_22676c6eadfe60d.png 1024w&#34;
	loading=&#34;lazy&#34;
	
		alt=&#34;htop UI&#34;
	
	
		class=&#34;gallery-image&#34; 
		data-flex-grow=&#34;161&#34;
		data-flex-basis=&#34;386px&#34;
	
&gt;&lt;/p&gt;
&lt;h3 id=&#34;kill-a-process&#34;&gt;Kill a Process
&lt;/h3&gt;&lt;p&gt;Use the arrow keys to move through the process list. By default, Vim motion keys are not working.&lt;/p&gt;
&lt;p&gt;To kill a process, press &lt;code&gt;F9&lt;/code&gt; or &lt;code&gt;k&lt;/code&gt; and then choose the signal to send.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://blog.claudexu.top/post/tools/task-manager/htop/htop-send-signal-to-process.png&#34;
	width=&#34;1369&#34;
	height=&#34;845&#34;
	srcset=&#34;https://blog.claudexu.top/post/tools/task-manager/htop/htop-send-signal-to-process_hu_aebd16be96bd6925.png 480w, https://blog.claudexu.top/post/tools/task-manager/htop/htop-send-signal-to-process_hu_5cf33b861a475ca6.png 1024w&#34;
	loading=&#34;lazy&#34;
	
		alt=&#34;Send signal to a process&#34;
	
	
		class=&#34;gallery-image&#34; 
		data-flex-grow=&#34;162&#34;
		data-flex-basis=&#34;388px&#34;
	
&gt;&lt;/p&gt;
&lt;p&gt;Like the &lt;code&gt;kill&lt;/code&gt; command in shell:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;15 SIGTERM&lt;/code&gt; - recommended to try first&lt;/li&gt;
&lt;li&gt;&lt;code&gt;9 SIGKILL&lt;/code&gt; - forcibly terminates the process&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;code&gt;SIGKILL&lt;/code&gt; may leave behind artifacts such as stale terminal output because the process is terminated without cleanup. Example: terminate &lt;code&gt;htop&lt;/code&gt; process with &lt;code&gt;SIGKILL&lt;/code&gt;, and there will be leftover contents in terminal window.&lt;/p&gt;
&lt;h3 id=&#34;find-the-desired-process&#34;&gt;Find the Desired Process
&lt;/h3&gt;&lt;p&gt;Press &lt;code&gt;u&lt;/code&gt; to show the list of users, and then narrow down the process list by selecting one.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://blog.claudexu.top/post/tools/task-manager/htop/htop-show-processes-per-user.png&#34;
	width=&#34;1368&#34;
	height=&#34;842&#34;
	srcset=&#34;https://blog.claudexu.top/post/tools/task-manager/htop/htop-show-processes-per-user_hu_4c7d35950a080582.png 480w, https://blog.claudexu.top/post/tools/task-manager/htop/htop-show-processes-per-user_hu_c7705c9b003a8b8e.png 1024w&#34;
	loading=&#34;lazy&#34;
	
		alt=&#34;Show processes per user&#34;
	
	
		class=&#34;gallery-image&#34; 
		data-flex-grow=&#34;162&#34;
		data-flex-basis=&#34;389px&#34;
	
&gt;&lt;/p&gt;
&lt;p&gt;Press &lt;code&gt;F3&lt;/code&gt; or &lt;code&gt;/&lt;/code&gt; to search the process by name. The search is incremental and highlights matches.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://blog.claudexu.top/post/tools/task-manager/htop/htop-search-process-per-name.png&#34;
	width=&#34;1372&#34;
	height=&#34;842&#34;
	srcset=&#34;https://blog.claudexu.top/post/tools/task-manager/htop/htop-search-process-per-name_hu_1a828a0e229dad0b.png 480w, https://blog.claudexu.top/post/tools/task-manager/htop/htop-search-process-per-name_hu_a4cffbbe5323ed33.png 1024w&#34;
	loading=&#34;lazy&#34;
	
		alt=&#34;Search process per name&#34;
	
	
		class=&#34;gallery-image&#34; 
		data-flex-grow=&#34;162&#34;
		data-flex-basis=&#34;391px&#34;
	
&gt;&lt;/p&gt;
&lt;h3 id=&#34;shortcuts&#34;&gt;Shortcuts
&lt;/h3&gt;&lt;p&gt;Some commonly used shortcus:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;PgUp&lt;/code&gt;, &lt;code&gt;PgDn&lt;/code&gt;, &lt;code&gt;Home&lt;/code&gt; &amp;amp; &lt;code&gt;End&lt;/code&gt; - move the cursor as expected&lt;/li&gt;
&lt;li&gt;&lt;code&gt;\&lt;/code&gt; - &lt;strong&gt;filter the process list by keyword&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;t&lt;/code&gt; - toggle tree view&lt;/li&gt;
&lt;li&gt;&lt;code&gt;/&lt;/code&gt; - &lt;strong&gt;search by process name&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Shift + p&lt;/code&gt; - sort by CPU usage&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Shift + m&lt;/code&gt; - sort by memory usage&lt;/li&gt;
&lt;li&gt;&lt;code&gt;H&lt;/code&gt; - &lt;strong&gt;toggle userland threads&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;threads appear under their parent process&lt;/li&gt;
&lt;li&gt;&lt;code&gt;MEM%&lt;/code&gt; is &lt;strong&gt;a process-level meter&lt;/strong&gt;, so &lt;strong&gt;all threads under the same process show the same value&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;code&gt;q&lt;/code&gt; - quit &lt;code&gt;htop&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;ui-setup&#34;&gt;UI Setup
&lt;/h2&gt;&lt;p&gt;Press F2 to open Setup, where you can customize what htop displays. Some useful options include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Tree view&lt;/strong&gt; - show processes in parent/children relationships
&lt;ul&gt;
&lt;li&gt;&lt;img src=&#34;https://blog.claudexu.top/post/tools/task-manager/htop/htop-settings-tree-view.png&#34;
	width=&#34;1371&#34;
	height=&#34;841&#34;
	srcset=&#34;https://blog.claudexu.top/post/tools/task-manager/htop/htop-settings-tree-view_hu_81f77d865f4abde2.png 480w, https://blog.claudexu.top/post/tools/task-manager/htop/htop-settings-tree-view_hu_d94a29a2f7d90073.png 1024w&#34;
	loading=&#34;lazy&#34;
	
		alt=&#34;Tree view settings&#34;
	
	
		class=&#34;gallery-image&#34; 
		data-flex-grow=&#34;163&#34;
		data-flex-basis=&#34;391px&#34;
	
&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;CPU temporature&lt;/strong&gt; - display per‑core or overall temperature if supported by your system
&lt;ul&gt;
&lt;li&gt;&lt;img src=&#34;https://blog.claudexu.top/post/tools/task-manager/htop/htop-settings-cpu.png&#34;
	width=&#34;1373&#34;
	height=&#34;846&#34;
	srcset=&#34;https://blog.claudexu.top/post/tools/task-manager/htop/htop-settings-cpu_hu_d208dd77f0fc1073.png 480w, https://blog.claudexu.top/post/tools/task-manager/htop/htop-settings-cpu_hu_db519d1e4634c100.png 1024w&#34;
	loading=&#34;lazy&#34;
	
		alt=&#34;CPU settins&#34;
	
	
		class=&#34;gallery-image&#34; 
		data-flex-grow=&#34;162&#34;
		data-flex-basis=&#34;389px&#34;
	
&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;CPU usage layout - control how multiple CPU cores are grouped and shown. Example: on a 32-core CPU, selecting &lt;code&gt;CPUs (1-4/8): first half in 4 shorter columns&lt;/code&gt;
&lt;ul&gt;
&lt;li&gt;&lt;img src=&#34;https://blog.claudexu.top/post/tools/task-manager/htop/htop-settings-cpu-layout.png&#34;
	width=&#34;1373&#34;
	height=&#34;844&#34;
	srcset=&#34;https://blog.claudexu.top/post/tools/task-manager/htop/htop-settings-cpu-layout_hu_2ea323e94d5d231b.png 480w, https://blog.claudexu.top/post/tools/task-manager/htop/htop-settings-cpu-layout_hu_e767cb205d1e9d13.png 1024w&#34;
	loading=&#34;lazy&#34;
	
		alt=&#34;CPU layout&#34;
	
	
		class=&#34;gallery-image&#34; 
		data-flex-grow=&#34;162&#34;
		data-flex-basis=&#34;390px&#34;
	
&gt;
&lt;ul&gt;
&lt;li&gt;first half - CPU cores from number 0 to number 15&lt;/li&gt;
&lt;li&gt;in 4 shorter columns - 0-15 cores are shown in 4 columns, so 4 CPU cores per column&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
</description>
        </item>
        
    </channel>
</rss>
