htop.1.in 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707
  1. .TH "HTOP" "1" "2024" "@PACKAGE_STRING@" "User Commands"
  2. .SH "NAME"
  3. htop, pcp-htop \- interactive process viewer
  4. .SH "SYNOPSIS"
  5. .B htop
  6. .RB [ \-dCFhpustvH ]
  7. .br
  8. .B pcp-htop
  9. .RB [ \-dCFhpustvH ]
  10. .RB [ \-\-host/-h\ host ]
  11. .SH "DESCRIPTION"
  12. .B htop
  13. is a cross-platform ncurses-based process viewer.
  14. .LP
  15. It is similar to
  16. .BR top ,
  17. but allows you to scroll vertically and horizontally, and interact using
  18. a pointing device (mouse).
  19. You can observe all processes running on the system, along with their
  20. command line arguments, as well as view them in a tree format, select
  21. multiple processes and act on them all at once.
  22. .LP
  23. Tasks related to processes (killing, renicing) can be done without
  24. entering their PIDs.
  25. .LP
  26. .B pcp-htop
  27. is a version of
  28. .B htop
  29. built using the Performance Co-Pilot (PCP) Metrics API (see \c
  30. .BR PCPIntro (1),
  31. .BR PMAPI (3)),
  32. allowing to extend
  33. .B htop
  34. to display values from arbitrary metrics.
  35. See the section below titled
  36. .B "CONFIG FILES"
  37. for further details.
  38. .br
  39. .SH "COMMAND-LINE OPTIONS"
  40. Mandatory arguments to long options are mandatory for short options too.
  41. .TP
  42. \fB\-d \-\-delay=DELAY\fR
  43. Delay between updates, in tenths of a second. If the delay value is
  44. less than 1, it is increased to 1, i.e. 1/10 second. If the delay value
  45. is greater than 100, it is decreased to 100, i.e. 10 seconds.
  46. .TP
  47. \fB\-C \-\-no-color \-\-no-colour\fR
  48. Start
  49. .B htop
  50. in monochrome mode
  51. .TP
  52. \fB\-F \-\-filter=FILTER
  53. Filter processes by terms matching the commands. The terms are matched
  54. case-insensitive and as fixed strings (not regexs). You can separate multiple terms with "|".
  55. .TP
  56. \fB\-h \-\-help
  57. Display a help message and exit
  58. .TP
  59. \fB\-p \-\-pid=PID,PID...\fR
  60. Show only the given PIDs
  61. .TP
  62. \fB\-s \-\-sort\-key COLUMN\fR
  63. Sort by this column (use \-\-sort\-key help for a column list).
  64. This will force a list view unless you specify -t at the same time.
  65. .TP
  66. \fB\-u \-\-user=USERNAME|UID\fR
  67. Show only the processes of a given user
  68. .TP
  69. \fB\-U \-\-no-unicode\fR
  70. Do not use unicode but ASCII characters for graph meters
  71. .TP
  72. \fB\-M \-\-no-mouse\fR
  73. Disable support of mouse control
  74. .TP
  75. \fB\-\-readonly\fR
  76. Disable all system and process changing features
  77. .TP
  78. \fB\-V \-\-version
  79. Output version information and exit
  80. .TP
  81. \fB\-t \-\-tree
  82. Show processes in tree view. This can be used to force a tree view when
  83. requesting a sort order with -s.
  84. .TP
  85. \fB\-H \-\-highlight-changes=DELAY\fR
  86. Highlight new and old processes
  87. .TP
  88. \fB\-\-drop-capabilities[=off|basic|strict]\fR
  89. Linux only; this option needs to have been enabled at compile-time and
  90. requires libcap support at runtime.
  91. .br
  92. Drop unneeded Linux capabilities.
  93. In strict mode features like killing, changing process priorities and reading
  94. process delay accounting information will not work due to fewer capabilities
  95. being held.
  96. .SH "INTERACTIVE COMMANDS"
  97. The following commands are supported while in
  98. .BR htop :
  99. .TP 5
  100. .B Tab, Shift-Tab
  101. Select the next / the previous screen tab to display.
  102. You can enable showing the screen tab names in the Setup screen (F2).
  103. .TP
  104. .B Up, Alt-k
  105. Select (highlight) the previous process in the process list. Scroll the list
  106. if necessary.
  107. .TP
  108. .B Down, Alt-j
  109. Select (highlight) the next process in the process list. Scroll the list if
  110. necessary.
  111. .TP
  112. .B Left, Alt-h
  113. Scroll the process list left.
  114. .TP
  115. .B Right, Alt-l
  116. Scroll the process list right.
  117. .TP
  118. .B PgUp, PgDn
  119. Scroll the process list up or down one window.
  120. .TP
  121. .B Home
  122. Scroll to the top of the process list and select the first process.
  123. .TP
  124. .B End
  125. Scroll to the bottom of the process list and select the last process.
  126. .TP
  127. .B Ctrl-A, ^
  128. Scroll left to the beginning of the process entry (i.e. beginning of line).
  129. .TP
  130. .B Ctrl-E, $
  131. Scroll right to the end of the process entry (i.e. end of line).
  132. .TP
  133. .B Space
  134. Tag or untag a process. Commands that can operate on multiple processes,
  135. like "kill", will then apply over the list of tagged processes, instead
  136. of the currently highlighted one.
  137. .TP
  138. .B c
  139. Tag the current process and its children. Commands that can operate on multiple
  140. processes, like "kill", will then apply over the list of tagged processes,
  141. instead of the currently highlighted one.
  142. .TP
  143. .B U
  144. Untag all processes (remove all tags added with the Space or c keys).
  145. .TP
  146. .B s
  147. Trace process system calls: if strace(1) is installed, pressing this key
  148. will attach it to the currently selected process, presenting a live
  149. update of system calls issued by the process.
  150. .TP
  151. .B l
  152. Display open files for a process: if lsof(1) is installed, pressing this key
  153. will display the list of file descriptors opened by the process.
  154. .TP
  155. .B w
  156. Display the command line of the selected process in a separate screen, wrapped
  157. onto multiple lines as needed.
  158. .TP
  159. .B x
  160. Display the active file locks of the selected process in a separate screen.
  161. .TP
  162. .B F1, h, ?
  163. Go to the help screen
  164. .TP
  165. .B F2, S
  166. Go to the setup screen, where you can configure the meters displayed at the top
  167. of the screen, set various display options, choose among color schemes, and
  168. select which columns are displayed, in which order.
  169. .TP
  170. .B F3, /
  171. Incrementally search the command lines of all the displayed processes. The
  172. currently selected (highlighted) command will update as you type. While in
  173. search mode, pressing F3 will cycle through matching occurrences.
  174. Pressing Shift-F3 will cycle backwards.
  175. Alternatively the search can be started by simply typing the command
  176. you are looking for, although for the first character normal key
  177. bindings take precedence.
  178. .TP
  179. .B F4, \\\\
  180. Incremental process filtering: type in part of a process command line and
  181. only processes whose names match will be shown. To cancel filtering,
  182. enter the Filter option again and press Esc.
  183. The matching is done case-insensitive. Terms are fixed strings (no regex).
  184. You can separate multiple terms with "|".
  185. .TP
  186. .B F5, t
  187. Tree view: organize processes by parenthood, and layout the relations
  188. between them as a tree. Toggling the key will switch between tree and
  189. your previously selected sort view. Selecting a sort view will exit
  190. tree view.
  191. .TP
  192. .B F6, <, >
  193. Selects a field for sorting, also accessible through < and >.
  194. The current sort field is indicated by a highlight in the header.
  195. .TP
  196. .B F7, ]
  197. Increase the selected process's priority (subtract from 'nice' value).
  198. This can only be done by the superuser.
  199. .TP
  200. .B F8, [
  201. Decrease the selected process's priority (add to 'nice' value)
  202. .TP
  203. .B Shift-F7, }
  204. Increase the selected process's autogroup priority (subtract from autogroup 'nice' value).
  205. This can only be done by the superuser.
  206. .TP
  207. .B Shift-F8, {
  208. Decrease the selected process's autogroup priority (add to autogroup 'nice' value)
  209. .TP
  210. .B F9, k
  211. "Kill" process: sends a signal which is selected in a menu, to one or a group
  212. of processes. If processes were tagged, sends the signal to all tagged processes.
  213. If none is tagged, sends to the currently selected process.
  214. .TP
  215. .B F10, q
  216. Quit
  217. .TP
  218. .B I
  219. Invert the sort order: if sort order is increasing, switch to decreasing, and
  220. vice-versa.
  221. .TP
  222. .B +, \-, *
  223. When in tree view mode, expand or collapse subtree. When a subtree is collapsed
  224. a "+" sign shows to the left of the process name.
  225. Pressing "*" will expand or collapse all children of PIDs without parents, so
  226. typically PID 1 (init) and PID 2 (kthreadd on Linux, if kernel threads are shown).
  227. .TP
  228. .B a (on multiprocessor machines)
  229. Set CPU affinity: mark which CPUs a process is allowed to use.
  230. .TP
  231. .B u
  232. Show only processes owned by a specified user.
  233. .TP
  234. .B N
  235. Sort by PID.
  236. .TP
  237. .B M
  238. Sort by memory usage (top compatibility key).
  239. .TP
  240. .B P
  241. Sort by processor usage (top compatibility key).
  242. .TP
  243. .B T
  244. Sort by time (top compatibility key).
  245. .TP
  246. .B F
  247. "Follow" process: if the sort order causes the currently selected process
  248. to move in the list, make the selection bar follow it. This is useful for
  249. monitoring a process: this way, you can keep a process always visible on
  250. screen. When a movement key is used, "follow" loses effect.
  251. .TP
  252. .B K
  253. Hide kernel threads: prevent the threads belonging the kernel to be
  254. displayed in the process list. (This is a toggle key.)
  255. .TP
  256. .B H
  257. Hide user threads: on systems that represent them differently than ordinary
  258. processes (such as recent NPTL-based systems), this can hide threads from
  259. userspace processes in the process list. (This is a toggle key.)
  260. .TP
  261. .B O
  262. Hide containerized processes: prevent processes running in a container
  263. from being displayed in the process list. (This is a toggle key.)
  264. .TP
  265. .B p
  266. Show full paths to running programs, where applicable. (This is a toggle key.)
  267. .TP
  268. .B Z
  269. Pause/resume process updates.
  270. .TP
  271. .B m
  272. Merge exe, comm and cmdline, where applicable. (This is a toggle key.)
  273. .TP
  274. .B Ctrl-L
  275. Refresh: redraw screen and recalculate values.
  276. .TP
  277. .B Numbers
  278. PID search: type in process ID and the selection highlight will be moved to it.
  279. .PD
  280. .SH "COLUMNS"
  281. The following columns can display data about each process. A value of '\-' in
  282. all the rows indicates that a column is unsupported on your system, or
  283. currently unimplemented in
  284. .BR htop .
  285. The names below are the ones used in the
  286. "Available Columns" section of the setup screen. If a different name is
  287. shown in
  288. .BR htop 's
  289. main screen, it is shown below in parenthesis.
  290. .TP 5
  291. .B Command
  292. The full command line of the process (i.e. program name and arguments).
  293. If the option 'Merge exe, comm and cmdline in Command' (toggled by the 'm' key)
  294. is active, the executable path (/proc/[pid]/exe) and the command name
  295. (/proc/[pid]/comm) are also shown merged with the command line, if available.
  296. The program basename is highlighted if set in the configuration. Additional
  297. highlighting can be configured for stale executables (cf. EXE column below).
  298. .TP
  299. .B COMM
  300. The command name of the process obtained from /proc/[pid]/comm, if readable.
  301. Requires Linux kernel 2.6.33 or newer.
  302. .TP
  303. .B EXE
  304. The abbreviated basename of the executable of the process, obtained from
  305. /proc/[pid]/exe, if readable. htop is able to read this file on linux for ALL
  306. the processes only if it has the capability CAP_SYS_PTRACE or root privileges.
  307. The basename is marked in red if the executable used to run the process has
  308. been replaced or deleted on disk since the process started. The information is
  309. obtained by processing the contents of /proc/[pid]/exe.
  310. Furthermore the basename is marked in yellow if any library is reported as having
  311. been replaced or deleted on disk since it was last loaded. The information is
  312. obtained by processing the contents of /proc/[pid]/maps.
  313. When deciding the color the replacement of the main executable always takes
  314. precedence over replacement of any other library. If only the memory map indicates
  315. a replacement of the main executable, this will show as if any other library had
  316. been replaced or deleted.
  317. This additional color markup can be configured in the "Display Options" section of
  318. the setup screen.
  319. Displaying EXE requires CAP_SYS_PTRACE and PTRACE_MODE_READ_FSCRED.
  320. .TP
  321. .B PID
  322. The process ID.
  323. .TP
  324. .B STATE (S)
  325. The state of the process:
  326. \fBS\fR for sleeping
  327. \fBI\fR for idle (longer inactivity than sleeping on platforms that distinguish)
  328. \fBR\fR for running
  329. \fBD\fR for disk sleep (uninterruptible)
  330. \fBZ\fR for zombie (waiting for parent to read its exit status)
  331. \fBT\fR for traced or suspended (e.g by SIGTSTP)
  332. \fBW\fR for paging
  333. .TP
  334. .B PPID
  335. The parent process ID.
  336. .TP
  337. .B PGRP
  338. The process's group ID.
  339. .TP
  340. .B SESSION (SID)
  341. The process's session ID.
  342. .TP
  343. .B TTY
  344. The controlling terminal of the process.
  345. .TP
  346. .B TPGID
  347. The process ID of the foreground process group of the controlling terminal.
  348. .TP
  349. .B MINFLT
  350. The number of page faults happening in the main memory.
  351. .TP
  352. .B CMINFLT
  353. The number of minor faults for the process's waited-for children (see MINFLT above).
  354. .TP
  355. .B MAJFLT
  356. The number of page faults happening out of the main memory.
  357. .TP
  358. .B CMAJFLT
  359. The number of major faults for the process's waited-for children (see MAJFLT above).
  360. .TP
  361. .B UTIME (UTIME+)
  362. The user CPU time, which is the amount of time the process has spent executing
  363. on the CPU in user mode (i.e. everything but system calls), measured in clock
  364. ticks.
  365. .TP
  366. .B STIME (STIME+)
  367. The system CPU time, which is the amount of time the kernel has spent
  368. executing system calls on behalf of the process, measured in clock ticks.
  369. .TP
  370. .B CUTIME (CUTIME+)
  371. The children's user CPU time, which is the amount of time the process's
  372. waited-for children have spent executing in user mode (see UTIME above).
  373. .TP
  374. .B CSTIME (CSTIME+)
  375. The children's system CPU time, which is the amount of time the kernel has spent
  376. executing system calls on behalf of all the process's waited-for children (see
  377. STIME above).
  378. .TP
  379. .B PRIORITY (PRI)
  380. The kernel's internal priority for the process, usually just its nice value
  381. plus twenty. Different for real-time processes.
  382. .TP
  383. .B NICE (NI)
  384. The nice value of a process, from 19 (low priority) to -20 (high priority). A
  385. high value means the process is being nice, letting others have a higher
  386. relative priority. The usual OS permission restrictions for adjusting priority apply.
  387. .TP
  388. .B STARTTIME (START)
  389. The time the process was started.
  390. .TP
  391. .B PROCESSOR (CPU)
  392. The ID of the CPU the process last executed on.
  393. .TP
  394. .B M_VIRT (VIRT)
  395. The size of the virtual memory of the process.
  396. .TP
  397. .B M_RESIDENT (RES)
  398. The resident set size (text + data + stack) of the process (i.e. the size of the
  399. process's used physical memory).
  400. .TP
  401. .B M_SHARE (SHR)
  402. The size of the process's shared pages.
  403. .TP
  404. .B M_TRS (CODE)
  405. The text resident set size of the process (i.e. the size of the process's
  406. executable instructions).
  407. .TP
  408. .B M_DRS (DATA)
  409. The data resident set size (data + stack) of the process (i.e. the size of anything
  410. except the process's executable instructions).
  411. .TP
  412. .B M_LRS (LIB)
  413. The library size of the process.
  414. .TP
  415. .B M_SWAP (SWAP)
  416. The size of the process's swapped pages.
  417. .TP
  418. .B M_PSS (PSS)
  419. The proportional set size, same as M_RESIDENT but each page is divided by the
  420. number of processes sharing it.
  421. .TP
  422. .B M_M_PSSWP (PSSWP)
  423. The proportional swap share of this mapping, unlike M_SWAP this does not take
  424. into account swapped out page of underlying shmem objects.
  425. .TP
  426. .B ST_UID (UID)
  427. The user ID of the process owner.
  428. .TP
  429. .B PERCENT_CPU (CPU%)
  430. The percentage of the CPU time that the process is currently using.
  431. This is the default way to represent CPU usage in Linux. Each process can
  432. consume up to 100% which means the full capacity of the core it is running
  433. on. This is sometimes called "Irix mode" e.g. in
  434. .BR top (1).
  435. .TP
  436. .B PERCENT_NORM_CPU (NCPU%)
  437. The percentage of the CPU time that the process is currently using normalized
  438. by CPU count. This is sometimes called "Solaris mode" e.g. in
  439. .BR top (1).
  440. .TP
  441. .B PERCENT_MEM (MEM%)
  442. The percentage of memory the process is currently using (based on the process's
  443. resident memory size, see M_RESIDENT above).
  444. .TP
  445. .B USER
  446. The username of the process owner, or the user ID if the name can't be
  447. determined.
  448. On Linux the username is highlighted if the process has elevated privileges,
  449. i.e. if it has been started from binaries with file capabilities set or
  450. retained Linux capabilities, via the ambient set, after switching from the
  451. root user.
  452. .TP
  453. .B TIME (TIME+)
  454. The time, measured in clock ticks that the process has spent in user and system
  455. time (see UTIME, STIME above).
  456. .TP
  457. .B NLWP
  458. The number of Light-Weight Processes (=threads) in the process.
  459. .TP
  460. .B TGID
  461. The thread group ID.
  462. .TP
  463. .B CTID
  464. OpenVZ container ID, a.k.a virtual environment ID.
  465. .TP
  466. .B VPID
  467. OpenVZ process ID.
  468. .TP
  469. .B VXID
  470. VServer process ID.
  471. .TP
  472. .B RCHAR (RD_CHAR)
  473. The number of bytes the process has read.
  474. .TP
  475. .B WCHAR (WR_CHAR)
  476. The number of bytes the process has written.
  477. .TP
  478. .B SYSCR (RD_SYSC)
  479. The number of read(2) syscalls for the process.
  480. .TP
  481. .B SYSCW (WR_SYSC)
  482. The number of write(2) syscalls for the process.
  483. .TP
  484. .B RBYTES (IO_RBYTES)
  485. Bytes of read(2) I/O for the process.
  486. .TP
  487. .B WBYTES (IO_WBYTES)
  488. Bytes of write(2) I/O for the process.
  489. .TP
  490. .B CNCLWB (IO_CANCEL)
  491. Bytes of cancelled write(2) I/O.
  492. .TP
  493. .B IO_READ_RATE (DISK READ)
  494. The I/O rate of read(2) in bytes per second, for the process.
  495. .TP
  496. .B IO_WRITE_RATE (DISK WRITE)
  497. The I/O rate of write(2) in bytes per second, for the process.
  498. .TP
  499. .B IO_RATE (DISK R/W)
  500. The I/O rate, IO_READ_RATE + IO_WRITE_RATE (see above).
  501. .TP
  502. .B CGROUP
  503. Which cgroup the process is in. For a shortened view see the CCGROUP column below.
  504. .TP
  505. .B CCGROUP
  506. Shortened view of the cgroup name that the process is in.
  507. This performs some pattern-based replacements to shorten the displayed string and thus condense the information.
  508. \fB/*.slice\fR is shortened to \fB/[*]\fR (exceptions below)
  509. \fB/system.slice\fR is shortened to \fB/[S]\fR
  510. \fB/user.slice\fR is shortened to \fB/[U]\fR
  511. \fB/user-*.slice\fR is shortened to \fB/[U:*]\fR (directly preceding \fB/[U]\fR before dropped)
  512. \fB/machine.slice\fR is shortened to \fB/[M]\fR
  513. \fB/machine-*.scope\fR is shortened to \fB/[SNC:*]\fR (SNC: systemd nspawn container), uppercase for the monitor
  514. \fB/lxc.monitor.*\fR is shortened to \fB/[LXC:*]\fR
  515. \fB/lxc.payload.*\fR is shortened to \fB/[lxc:*]\fR
  516. \fB/*.scope\fR is shortened to \fB/!*\fR
  517. \fB/*.service\fR is shortened to \fB/*\fR (suffix removed)
  518. Encountered escape sequences (e.g. from systemd) inside the cgroup name are not decoded.
  519. .TP
  520. .B OOM
  521. OOM killer score.
  522. .TP
  523. .B CTXT
  524. Incremental sum of voluntary and nonvoluntary context switches.
  525. .TP
  526. .B IO_PRIORITY (IO)
  527. The I/O scheduling class followed by the priority if the class supports it:
  528. \fBR\fR for Realtime
  529. \fBB\fR for Best-effort
  530. \fBid\fR for Idle
  531. .TP
  532. .B PERCENT_CPU_DELAY (CPUD%)
  533. The percentage of time spent waiting for a CPU (while runnable). Requires CAP_NET_ADMIN.
  534. .TP
  535. .B PERCENT_IO_DELAY (IOD%)
  536. The percentage of time spent waiting for the completion of synchronous block I/O. Requires CAP_NET_ADMIN.
  537. .TP
  538. .B PERCENT_SWAP_DELAY (SWAPD%)
  539. The percentage of time spent swapping in pages. Requires CAP_NET_ADMIN.
  540. .TP
  541. .B AGRP
  542. The autogroup identifier for the process. Requires Linux CFS to be enabled.
  543. .TP
  544. .B ANI
  545. The autogroup nice value for the process autogroup. Requires Linux CFS to be enabled.
  546. .TP
  547. .B All other flags
  548. Currently unsupported (always displays '-').
  549. .SH "EXTERNAL LIBRARIES"
  550. While
  551. .B htop
  552. depends on most of the libraries it uses at build time there are two
  553. noteworthy exceptions to this rule. These exceptions both relate to
  554. data displayed in meters displayed in the header of
  555. .B htop
  556. and were intentionally created as optional runtime dependencies instead.
  557. These exceptions are described below:
  558. .TP
  559. .B libsystemd
  560. The bindings for libsystemd are used in the SystemD meter to determine
  561. the number of active services and the overall system state. Looking for
  562. the functions to determine these information at runtime allows for
  563. builds to support these meters without forcing the package manager
  564. to install these libraries on systems that otherwise don't use systemd.
  565. Summary: no build time dependency, optional runtime dependency on
  566. .B libsystemd
  567. via dynamic loading, with
  568. .B systemctl(1)
  569. fallback.
  570. .TP
  571. .B libsensors
  572. The bindings for libsensors are used for the CPU temperature readings
  573. in the CPU usage meters if displaying the temperature is enabled through
  574. the setup screen. In order for
  575. .B htop
  576. to show these temperatures correctly though, a proper configuration
  577. of libsensors through its usual configuration files is assumed and that
  578. all CPU cores correspond to temperature sensors from the
  579. .B coretemp
  580. driver with core 0 corresponding to a sensor labelled "Core 0". The
  581. package temperature may be given as "Package id 0". If missing it is
  582. inferred as the maximum value from the available per-core readings.
  583. Summary: build time dependency on
  584. .B libsensors(3)
  585. C header files, optional runtime dependency on
  586. .B libsensors(3)
  587. via dynamic loading.
  588. .SH "CONFIG FILES"
  589. By default
  590. .B htop
  591. reads its configuration from the XDG-compliant path
  592. .IR ~/.config/htop/htoprc .
  593. The configuration file is overwritten upon clean exit by
  594. .BR htop 's
  595. in-program Setup configuration, so it should not be hand-edited.
  596. If no user configuration exists
  597. .B htop
  598. tries to read the system-wide configuration from
  599. .I @sysconfdir@/htoprc
  600. and as a last resort, falls back to its hard coded defaults.
  601. .LP
  602. You may override the location of the configuration file using the $HTOPRC
  603. environment variable (so you can have multiple configurations for different
  604. machines that share the same home directory, for example).
  605. .LP
  606. The
  607. .B pcp-htop
  608. utility makes use of
  609. .I htoprc
  610. in a similar way.
  611. However,
  612. .B pcp-htop
  613. reads its configuration from a path more conventionally used by
  614. Performance Co-Pilot tools,
  615. .IR ~/.pcp/htop/htoprc ,
  616. in order to provide separate configuration when both
  617. .B htop
  618. and
  619. .B pcp-htop
  620. are installed and in use.
  621. .B pcp-htop
  622. supports additional configuration files below the same directory
  623. allowing new meters, columns and screen tabs to be added via the
  624. Setup screen (F2).
  625. This displays additional Available Meters, Available Column and
  626. Screen Tabs for each meter, column or screen configuration file.
  627. .LP
  628. These
  629. .B pcp-htop
  630. configuration files are read once at startup.
  631. The format of these files is described in detail in the
  632. .BR pcp-htop (5)
  633. manual page.
  634. .LP
  635. This functionality makes available many thousands of Performance
  636. Co-Pilot metrics for display by
  637. .BR pcp-htop ,
  638. as well as the ability to display custom metrics added at individual sites.
  639. Applications and services instrumented using the OpenMetrics format
  640. .B https://openmetrics.io
  641. can also be displayed by
  642. .B pcp-htop
  643. if the
  644. .BR pmdaopenmetrics (1)
  645. component is configured.
  646. .LP
  647. The configuration for both
  648. .B htop
  649. and
  650. .B pcp-htop
  651. is only saved when a clean exit is performed. Sending any signal will cause
  652. .I all configuration changes to be lost.
  653. .SH "MEMORY SIZES"
  654. Memory sizes in
  655. .B htop
  656. are displayed in a human-readable form.
  657. Sizes are printed in powers of 1024 using binary IEC units.
  658. If no suffix is shown the units are implicitly K as in KiB (kibibyte, 1 KiB = 1024 bytes).
  659. .LP
  660. The decision to use this convention was made in order to conserve screen
  661. space and make memory size representations consistent throughout
  662. .B htop
  663. as allocations are granular to full memory pages (4 KiB for most platforms).
  664. .SH "SEE ALSO"
  665. .BR proc (5),
  666. .BR top (1),
  667. .BR free (1),
  668. .BR ps (1),
  669. .BR uptime (1)
  670. and
  671. .BR limits.conf (5).
  672. .SH "SEE ALSO FOR PCP"
  673. .BR pmdaopenmetrics (1),
  674. .BR PCPIntro (1),
  675. .BR PMAPI (3),
  676. and
  677. .BR pcp-htop (5).
  678. .SH "AUTHORS"
  679. .B htop
  680. was originally developed by Hisham Muhammad.
  681. Nowadays it is maintained by the community at <htop@groups.io>.
  682. .LP
  683. .B pcp-htop
  684. is maintained as a collaboration between the <htop@groups.io> and <pcp@groups.io>
  685. communities, and forms part of the Performance Co-Pilot suite of tools.
  686. .SH "COPYRIGHT"
  687. Copyright \(co 2004-2019 Hisham Muhammad.
  688. .br
  689. Copyright \(co 2020-2024 htop dev team.
  690. .LP
  691. License GPLv2+: GNU General Public License version 2 or, at your option, any later version.
  692. .LP
  693. This is free software: you are free to change and redistribute it.
  694. There is NO WARRANTY, to the extent permitted by law.