summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 2.1.02.1.0Hisham Muhammad2018-02-042-1/+31
|
* parseBatInfo: check `line` for NULL before passing it to String_getToken()Jan Chren (rindeal)2018-02-041-0/+2
|
* Clarify we are looking for the null terminationcoypoop2018-02-041-1/+1
| | | Not for a comparison to zero
* Typo in man pageViktor Szépe2018-02-041-2/+2
| | | *hightlight*
* Fix: infinite loop in tree view on macOSWataru Ashihara2018-02-041-0/+5
| | | | | | | | Fixes #688, the bug regressed on 584a9bc. On Mac OS X 10.11.6, all processes have their parents since there's a special process named "kernel_task", whose PID and PPID are 0. As a result, `this->processes` is never changed causing infinite `while`.
* Add support for Linux TASK_IDLEVladimir Panteleev2018-02-043-2/+6
| | | | | | | | | | | | | | Linux commit 06eb61844d841d0032a9950ce7f8e783ee49c0d0 ("sched/debug: Add explicit TASK_IDLE printing") exposes kthreads idling using TASK_IDLE in procfs as "I (idle)". Until now, when sorting the STATE ("S") column, htop used the raw value of the state character for comparison, however that led to the undesirable effect of TASK_IDLE ('I') tasks being sorted above tasks that were running ('R'). Thus, explicitly recognize the idle process state, and sort it below others.
* Darwin: disable thread reading due to bug in macOS High SierraHisham Muhammad2018-02-041-1/+2
|
* htop scans /proc to determine how many running tasks exist. Since thatLucas C. Villa Real2018-01-231-1/+1
| | | | | | | | | operation is not possible to be conducted in an atomic fashion, task scheduling effects can lead to a count greater than the number of actual processors; this is more easily noticed on machines with several CPUs and under heavy workload. This patch simply adds an upper bound on cpuCount to guarantee consistent reports of the number of running tasks at any given time.
* Adds support for linux delay accounting (#667)André Carvalho2017-12-046-2/+209
| | | | | | Adds support for showing columns with linux delay accounting. This information can be read from the netlink interface, and thus we set up a socket to read from that when initializing the LinuxProcessList (LinuxProcessList_initNetlinkSocket). After that, for each process we call LinuxProcessList_readDelayAcctData, which sends a message thru the socket after setting up a callback to get the answer from the Kernel. That callback sets the process total delay time attribute. We then set the delay percent as the percentage of time process cpu time since last scan.
* fix fallthough comments for GCC 7.xChristian Hesse2017-10-232-4/+4
| | | | | | | | | | GCC 7.x does some extended checks on fallthough for switch/case statement. The warning looks like this: warning: this statement may fall through [-Wimplicit-fallthrough=] It can be told about implicit fallthough, however it does not recognize comments within blocks, so move the comments outside.
* Merge pull request #678 from evelikov/remove-libtoolHisham Muhammad2017-10-131-3/+0
|\ | | | | Remove libtool references
| * Remove libtool referencesEmil Velikov2017-09-221-3/+0
|/ | | | | | | | | The project builds a single standalone binary. There are no libraries created - be that static or shared ones. Thus there's no need for libtool. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* Make 'c' key work with threads as well.Hisham Muhammad2017-09-144-2/+6
|
* minor style tweakHisham Muhammad2017-09-041-3/+4
|
* Merge pull request #676 from wangqr/masterHisham Muhammad2017-09-011-16/+38
|\ | | | | Find roots when constructing process tree, fix #587
| * Find roots when constructing process tree, fix #587wangqr2017-09-011-16/+38
|/
* Do not use xSnprintf when the result is used. Fixes #662.Hisham Muhammad2017-08-011-1/+1
|
* Merge pull request #659 from guoci/patch-1Hisham Muhammad2017-07-281-2/+5
|\ | | | | make script version agnostic
| * make script version agnosticguoci2017-07-271-2/+5
|/
* Security review: check results of snprintf.Hisham Muhammad2017-07-2725-120/+125
| | | | | Calls marked with xSnprintf shouldn't fail. Abort program cleanly if any of them does.
* Merge branch 'master' of https://github.com/hishamhm/htopHisham Muhammad2017-07-2617-39/+46
|\
| * Merge pull request #651 from Explorer09/graph-mode-drawHisham Muhammad2017-07-261-2/+2
| |\ | | | | | | Round values in graph drawing (instead of implicit truncate)
| | * Round values in graph drawing (instead of implicit truncate)Explorer092017-07-151-2/+2
| | |
| * | Merge pull request #656 from rsaxvc/masterHisham Muhammad2017-07-2616-34/+35
| |\ \ | | | | | | | | more const usage
| | * | Mark some things as constRichard2017-07-2215-34/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Several string pointer arrays pointed to const strings but were not const themselves. A few various structures and arrays were also marked const.
| | * | .gitignore vim & nano swp filesRichard2017-07-221-0/+1
| | | |
| * | | Merge pull request #657 from kalbasit/remove_whitespace_from_config_fileHisham Muhammad2017-07-251-3/+9
| |\ \ \ | | |/ / | |/| | Settings: do not emit trailing whitespace
| | * | Settings: do not emit trailing whitespaceWael M. Nasreddine2017-07-241-3/+9
| |/ /
* | | Security review: make privilege dropping-restoring optional.Hisham Muhammad2017-07-267-21/+92
| | | | | | | | | | | | | | | | | | | | | This is/was necessary only on macOS, because you needed root in order to read the process list. This was never necessary on Linux, and it also raises security concerns, so now it needs to be enabled explicitly at build time.
* | | Use regular readdir since readdir_r is deprecated and newer GCC complains.Hisham Muhammad2017-07-261-12/+6
|/ /
* | Add "no perm" status when other fields fail due to lack of permission.Hisham Muhammad2017-07-102-2/+15
| | | | | | | | | | Thanks @Sworddragon for the heads up. See #88.
* | Merge branch 'master' of https://github.com/hishamhm/htopHisham Muhammad2017-07-101-1/+1
|\ \
| * \ Merge pull request #647 from Explorer09/dragonfly-pid-maxHisham Muhammad2017-07-101-1/+1
| |\ \ | | |/ | |/| DragonFlyBSD PID_MAX is 999999.
| | * DragonFlyBSD PID_MAX is 999999.Explorer092017-07-071-1/+1
| |/ | | | | | | | | | | See DragonFlyBSD source "sys/sys/proc.h". Fixes #646
* / Add a clear warning about unsupported platforms.Hisham Muhammad2017-07-101-0/+14
|/ | | | Closes #648.
* Set idle I/O prio to 0x6007, like ionice.Hisham Muhammad2017-07-052-2/+2
| | | | As suggested by @wolfgang42 in #100.
* Use class value only to display idle I/O priority.Hisham Muhammad2017-07-051-1/+1
| | | | As suggested by @wolfgang42. Fixes #100.
* Merge branch 'master' into fixedgrayHisham2017-06-061-1/+1
|\
| * Merge pull request #624 from mklein-de/xterm-256colorHisham Muhammad2017-06-061-1/+1
| |\ | | | | | | make special keys also work with TERM=xterm-256color
| | * make special keys also work with TERM=xterm-256colorMichael Klein2017-06-011-1/+1
| |/
* / Work around the strange behavior of gray.Hisham2017-05-232-12/+28
|/
* Merge pull request #414 from Explorer09/meters-panel-editHisham Muhammad2017-04-242-7/+19
|\ | | | | Mouse-friendly functions bar for meters panel
| * Mouse-friendly functions bar for meters panelExplorer092016-07-162-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before: SpaceStyle EnterMove DelDeleteEscDone | ~~~~~ ~~~~~ ~~~ ~~~ | UpUp DnDown LtLeft RtRight EnterConfirmDelDeleteEscDone | ~~ ~~ ~~ ~~ ~~~~~ ~~~ ~~~ | After: SpaceStyle EnterMove DelDeleteF10Done ~~~~~ ~~~~~ ~~ ~~~ ~~~ SpaceStyle EnterLock UpUp DnDown <-Left ->Right DelDeleteF10Done ~~~~~ ~~~~~ ~~ ~~ ~~ ~~ ~~ ~~~ ~~~ * Align 'Delete' and 'Done' to the right to match functions on other screens. (Accidental clicking is avoided as a side benefit.) * You could change meter type while in moving mode. New bar now hints this. * Two Enter key functions are put in the same place and so mouse clicks there act like functions toggle. (The wording change to 'Lock' is also to reflect this.) * '<-' and '->' instead of 'Lt' and 'Rt' abbreviation as the latter is not widely seen and arrows shapes are obvious. :) * 'Esc' key for 'Done' in this context may not be intuitive, comparing to 'F10'. While I wish there be a Cancel/Undo function for 'Esc', it wouldn't hurt if we write 'F10' for 'Done' on functions bar for now.
| * Reword 'Type' to 'Style' for meters.Explorer092016-07-162-1/+5
| | | | | | | | | | Per @hishamhm's suggestion. This is UI change only. In code the class names and symbols still refer them as "modes".
* | F6 is actually used for both actions, depending on context.Hisham2017-04-241-1/+1
| |
* | Merge pull request #612 from ryenus/keymapHisham Muhammad2017-04-241-2/+2
|\ \ | | | | | | update keymap in help
| * | update keymap in helpryenus2017-04-191-2/+2
| | |
* | | Merge pull request #613 from dkgroot/masterHisham Muhammad2017-04-2413-10/+1259
|\ \ \ | | | | | | | | Initial addition of dragonflybsd (based on FreeBSD)
| * | | Enh: Add support for backtrace using execinfoDiederik de Groot2017-04-213-2/+19
| | | |
| * | | Fix: TreeViewDiederik de Groot2017-04-211-1/+2
| | | |

© 2014-2024 Faster IT GmbH | imprint | privacy policy