summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Prepare for release 2.0.1.2.0.1Hisham2016-03-074-49/+208
|
* Merge branch 'juanfra684-openbsd-mem-used'Hisham Muhammad2016-03-071-10/+23
|\
| * Merge branch 'openbsd-mem-used' of https://github.com/juanfra684/htop into ↵Hisham Muhammad2016-03-071-10/+23
|/| | | | | | | juanfra684-openbsd-mem-used
| * Add support for cachedMem and fix usedMem on OpenBSD.Juan Francisco Cantero Hurtado2016-02-141-8/+21
| |
* | Merge branch 'Sp1l-master'Hisham Muhammad2016-03-073-10/+6
|\ \
| * | Avoid global, as done by @gaod in #387.Hisham Muhammad2016-03-072-7/+1
| | |
| * | Merge branch 'master' of https://github.com/Sp1l/htop into Sp1l-masterHisham Muhammad2016-03-072-8/+10
|/| |
| * | Fix FreeBSD CPU% calculationBernard Spil2016-02-141-5/+5
| | |
| * | Fix memory percentage display on FreeBSDBernard Spil2016-02-141-3/+5
| | |
| * | Merge branch 'master' of https://github.com/hishamhm/htopBernard Spil2016-02-147-34/+46
| |\ \
| * | | Fix implicit define isnan()Bernard Spil2016-02-121-0/+1
| | |/ | |/|
* | | Merge pull request #436 from mmcco/tuneupHisham Muhammad2016-03-072-45/+73
|\ \ \ | | | | | | | | Misc. OpenBSD tuneup and improvement
| * | | A few more OpenBSD fixesMichael McConville2016-03-051-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Namely: o use malloc where an xCalloc slipped in o safeguard against an empty arg list - I don't think it's possible, but it would be potentially exploitable o we need to initialize the arg string to an empty string because we no longer use strlcpy(3) o annotate a tricky use of strlcpy(3)'s truncation
| * | | Misc. OpenBSD tuneup and improvementMichael McConville2016-03-052-44/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Including: o set *basenameEnd even in error cases (FreeBSD probably needs this) o use kvm_openfiles(3) rather than kvm_open(3) so that we can report errors (as with FreeBSD) o sanify the process argument list creation by using strlcat(3) o drop the pageSizeKb variable and use the PAGE_SIZE_KB macro directly, as the page size can't change anyway o clean up a few macros, add MINIMUM() and MAXIMUM() (should be mirrored to FreeBSD) o fix some syntax o add some useful comments
* | | | Merge pull request #435 from mmcco/freebsdHisham Muhammad2016-03-071-4/+8
|\ \ \ \ | |/ / / |/| | | Improve error reporting on FreeBSD libkvm call
| * | | Improve error reporting on FreeBSD libkvm callMichael McConville2016-03-051-4/+8
|/ / / | | | | | | | | | | | | | | | | | | This involves switching from kvm_open(3) to kvm_openfiles(3). The only difference is that the latter has saner error reporting (see the man page for details). We can now fatally report the error rather than just calling assert(3).
* | | Merge pull request #388 from mhinz/add-p-to-helpHisham Muhammad2016-02-291-2/+3
|\ \ \ | | | | | | | | Add "p" to Help
| * | | Add "p" to HelpMarco Hinz2016-03-011-2/+3
| | | |
* | | | Merge branch 'master' of https://github.com/hishamhm/htopHisham2016-02-291-3/+3
|\| | |
| * | | Merge pull request #427 from tcreech/masterHisham Muhammad2016-02-271-3/+3
| |\ \ \ | | | | | | | | | | Fix low CPU usage reporting in FreeBSD
| | * | | Fix low CPU usage reporting in FreeBSDTim Creech2016-02-261-3/+3
| |/ / /
* | | | Release resource when using hwlocHisham2016-02-291-0/+5
| | | |
* | | | any of these values may wrapHisham2016-02-291-22/+14
|/ / /
* | | Catch invalid IO values due to no permissions.Hisham2016-02-202-2/+10
| | | | | | | | | | | | Display them properly. Not fully convinced of the "no perm" message...
* | | Try to retain last full name of a zombie process.Hisham2016-02-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Once a process goes zombie on Linux, /proc/PID/cmdline gets empty. So, when we detect it is a zombie we stop reading this file. For processes that were zombies before htop started, there's no way to get the full name. Closes #49.
* | | Force -lgcov harder when running `make coverage`.Hisham2016-02-191-1/+1
| | | | | | | | | | | | Shouldn't be needed, but I had to make this tweak to make this work again.
* | | Tweaks on the test suite, still problematic.Hisham2016-02-191-78/+68
| | |
* | | Remove old commented code.Hisham2016-02-191-193/+0
| | |
* | | Fix error test — looks like nobody bumped into this one!Hisham2016-02-191-1/+2
| | |
* | | Merge branch 'master' of https://github.com/hishamhm/htopHisham2016-02-192-57/+16
|\ \ \
| * \ \ Merge branch 'master' of https://github.com/hishamhm/htopHisham Muhammad2016-02-181-1/+1
| |\ \ \
| * | | | Run through all command line arguments on Darwin.Hisham Muhammad2016-02-182-57/+16
| | | | | | | | | | | | | | | | | | | | | | | | | Also fixes the basename offset for highlighting the basename. Closes #379.
* | | | | Fix behavior of ESC key, getting rid of the annoying delay.Hisham2016-02-194-22/+17
| |/ / / |/| | | | | | | | | | | | | | | Thank you @Explorer09 for the push! Closes #417.
* | | | Fix behavior of Panel on empty lists.Hisham2016-02-181-1/+1
|/ / / | | | | | | | | | Closes #370.
* | | Scan threads for process state information.Hisham Muhammad2016-02-183-10/+69
| | | | | | | | | | | | | | | | | | Based on: http://stackoverflow.com/questions/6788274/ios-mac-cpu-usage-for-thread and https://github.com/max-horvath/htop-osx/blob/e86692e869e30b0bc7264b3675d2a4014866ef46/ProcessList.c This should be a fix for #361.
* | | Pre-reset 'show' for process.Hisham Muhammad2016-02-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This simplifies the protocol between the platform-independent and platform-specific parts. The platform-specific parts were supposed to re-determine the value of process->show on each iteration, and the Darwin subsystem wasn't doing that. Instead of adding the code to the Darwin part, I lifted the burden of the OS-specific of resetting process->show: now they can choose to hide a process if they want to (e.g. detecting kernel threads) but are not required to (e.g. on Darwin where we're not listing threads separately (yet?)). Fixes tree view collapsing/expanding on OSX. Closes #416.
* | | Fix tree organization on OSX.Hisham Muhammad2016-02-181-1/+2
| | | | | | | | | | | | Closes #393.
* | | Merge pull request #413 from koresar/masterHisham Muhammad2016-02-171-1/+1
|\ \ \ | | | | | | | | (Regression) Typo in the word "prority" -> "priority"
| * | | Typo in the word "priority"Vasyl Boroviak2016-02-171-1/+1
|/ / /
* | | Merge branch 'master' of https://github.com/hishamhm/htopHisham2016-02-162-13/+3
|\ \ \
| * \ \ Merge pull request #391 from gaod/masterHisham Muhammad2016-02-161-0/+2
| |\ \ \ | | | | | | | | | | Add MEM% for processes in process list on FreeBSD.
| | * | | Add MEM% for processes in process list on FreeBSD.Hung-Yi Chen2016-02-131-0/+2
| | | | |
| * | | | Merge pull request #380 from fingolfin/patch-1Hisham Muhammad2016-02-141-13/+1
| |\ \ \ \ | | |_|_|/ | |/| | | Simplify autogen.sh
| | * | | Simplify autogen.shMax Horn2016-02-141-13/+1
| |/ / / | | | | | | | | | | | | Make use of the autoreconf tool
* | | | Fix reading of io_syscr and io_syscw.Hisham2016-02-161-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | Issue noticed by GCC6 -Wmisleading-indentation. Thanks @JIghtuse and @Explorer09! Closes #409.
* | | | Portable affinity using hwlocHisham2016-02-146-17/+35
|/ / /
* | | Disable the syscall on systems that don't have it.Hisham2016-02-141-1/+8
| | | | | | | | | | | | | | | | | | | | | Got a report in #397 that htop runs in NetBSD masquerading as Linux and using a compatibility /proc (like we used to in FreeBSD) and that it builds fine apart from this syscall.
* | | Make unsupported platform build again.Hisham2016-02-142-27/+29
|/ / | | | | | | (Thanks @coypoop at #397 for the heads up!)
* | Fix buffer reuse.Hisham2016-02-131-1/+1
| |
* | Fix memory accounting in Darwin.Hisham2016-02-131-2/+2
| | | | | | | | | | | | | | | | | | | | htop currently expects m_size and m_resident in pages (Process.c). According to the proc_info.h header, the values returned by libproc are in bytes: http://www.opensource.apple.com/source/xnu/xnu-1456.1.26/bsd/sys/proc_info.h Eventually we should change the htop crossplatform API to expect memory in bytes, but this is the smaller change that should fix it. Closes #385.

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