Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Get file size using stat() for OpenFilesScreen if missing from lsof | Peter VandeHaar | 2021-11-28 | 1 | -0/+26 |
| | |||||
* | Strip prefix "0t" from OFFSET column of OpenFilesScreen | Peter VandeHaar | 2021-11-28 | 1 | -2/+10 |
| | |||||
* | Add OFFSET column to OpenFilesScreen | Peter VandeHaar | 2021-11-28 | 1 | -6/+9 |
| | |||||
* | Update license headers to explicitly say GPLv2+ | Daniel Lange | 2021-09-22 | 1 | -1/+1 |
| | |||||
* | Make Infoscreens the correct height | Daniel Lange | 2021-01-11 | 1 | -1/+1 |
| | |||||
* | Improving Command display/sort | Narendran Gopalakrishnan | 2020-11-24 | 1 | -1/+1 |
| | |||||
* | Embracing branches | Benny Baumann | 2020-11-02 | 1 | -5/+9 |
| | |||||
* | Spacing around operators | Benny Baumann | 2020-11-02 | 1 | -1/+1 |
| | |||||
* | Make all required includes explicit | Benny Baumann | 2020-10-18 | 1 | -11/+11 |
| | | | | Information as seen by IWYU 0.12 + clang 9 on Linux | ||||
* | Rename StringUtils.[ch] to XUtils.[ch] | Benny Baumann | 2020-10-16 | 1 | -1/+1 |
| | |||||
* | OpenFilesScreen update | Christian Göttsche | 2020-10-10 | 1 | -29/+100 |
| | | | | | | | | | | | | | | | | | | | | | | | - Remove local types and function from header file - Reduce OpenFiles_Data to neccessary size - Print file access mode (r/w/u) - Fix memory leak on consecutive items without an intermediate file item: ==15257==ERROR: LeakSanitizer: detected memory leaks Direct leak of 120 byte(s) in 12 object(s) allocated from: #0 0x48c864 in strdup (htop/htop+0x48c864) #1 0x542f68 in xStrdup htop/XAlloc.c:71:17 #2 0x50e225 in OpenFilesScreen_getProcessData htop/OpenFilesScreen.c:112:25 #3 0x50cd17 in OpenFilesScreen_scan htop/OpenFilesScreen.c:141:35 #4 0x4fd3eb in InfoScreen_run htop/InfoScreen.c:81:35 #5 0x4d58bb in actionLsof htop/Action.c:361:4 #6 0x501766 in MainPanel_eventHandler htop/MainPanel.c:80:19 #7 0x5289fa in ScreenManager_run htop/ScreenManager.c:227:19 #8 0x4f748e in main htop/htop.c:300:4 #9 0x7ff73e0d8cc9 in __libc_start_main csu/../csu/libc-start.c:308:16 SUMMARY: AddressSanitizer: 120 byte(s) leaked in 12 allocation(s). | ||||
* | Mark Object instances const | Christian Göttsche | 2020-10-07 | 1 | -1/+1 |
| | |||||
* | Update License consistently to GPLv2 as per COPYING file | Daniel Lange | 2020-10-05 | 1 | -1/+1 |
| | |||||
* | Check for fdopen failure in OpenFilesScreen_getProcessData | Christian Göttsche | 2020-09-17 | 1 | -0/+4 |
| | |||||
* | Properly close pipe handles when work is done | Benny Baumann | 2020-09-17 | 1 | -3/+14 |
| | |||||
* | Barely ever seen any 1000 digit PIDs … | Benny Baumann | 2020-09-17 | 1 | -2/+2 |
| | |||||
* | Axe automated header generation. | Zev Weiss | 2020-09-03 | 1 | -24/+0 |
| | | | | | | | | | | | | | | Reasoning: - implementation was unsound -- broke down when I added a fairly basic macro definition expanding to a struct initializer in a *.c file. - made it way too easy (e.g. via otherwise totally innocuous git commands) to end up with timestamps such that it always ran MakeHeader.py but never used its output, leading to overbuild noise when running what should be a null 'make'. - but mostly: it's just an awkward way of dealing with C code. | ||||
* | Close pipe after lsof | Jesin | 2019-06-23 | 1 | -0/+1 |
| | |||||
* | Use fork/exec instead of popen to run lsof (#757) | wangqr | 2018-03-16 | 1 | -6/+33 |
| | | | Fixes #675 | ||||
* | Replace size_t with int/void* union | Hisham Muhammad | 2018-02-18 | 1 | -1/+1 |
| | | | | | | | | I was occasionally passing negative values to size_t. Plus, this better reflects the intent of the variant argument. Reported by Coverity: https://scan8.coverity.com/reports.htm#v13253/p10402/fileInstanceId=22093891&defectInstanceId=7543346&mergedDefectId=174179&fileStart=251&fileEnd=500 | ||||
* | Security review: check results of snprintf. | Hisham Muhammad | 2017-07-27 | 1 | -2/+2 |
| | | | | | Calls marked with xSnprintf shouldn't fail. Abort program cleanly if any of them does. | ||||
* | Interpret TTY_NR column on Linux, | Hisham | 2016-10-01 | 1 | -1/+0 |
| | | | | | translate dev_t to major:minor on other platforms. Closes #316. | ||||
* | Dynamically adjust the size of line reads | Hisham Muhammad | 2016-06-19 | 1 | -12/+10 |
| | | | | | | | * Dynamically adjust the size of line reads. * Remove some more uses of fgets with arbitrary sizes. * Fix reading of lines and width of n column. Fixes #514. | ||||
* | Check for failure in allocations. | Hisham | 2016-02-02 | 1 | -4/+4 |
| | |||||
* | refactor *Screen classes, add InfoScreen superclass | Hisham Muhammad | 2016-01-12 | 1 | -111/+22 |
| | |||||
* | Clean up some needless malloc casts, convert some mallocs to callocs, and ↵ | Michael McConville | 2015-09-16 | 1 | -1/+1 |
| | | | | fix some style | ||||
* | Rename String to StringUtils. | David Hunt | 2015-08-19 | 1 | -1/+1 |
| | | | | | | | | | Fixes building on case-insensitive filesystems where String.h gets confused with <string.h>. From d734dacea0a10d0465dad4e95b3421511e7da112 Mon Sep 17 00:00:00 2001 From: David Hunt <dhunt@iolanthe.attlocal.net> Date: Sat, 11 Jul 2015 20:56:31 -0500 Subject: [PATCH 1/8] Rename String to StringUtils | ||||
* | incremental search and filter reintegrated! | Hisham Muhammad | 2015-03-23 | 1 | -3/+3 |
| | |||||
* | Move FunctionBar inside Panel | Hisham Muhammad | 2015-03-23 | 1 | -8/+7 |
| | |||||
* | Let's see if this assert makes static analyzers happier. | Hisham Muhammad | 2014-04-24 | 1 | -0/+1 |
| | |||||
* | Fix display of open files. | Hisham Muhammad | 2014-04-22 | 1 | -21/+26 |
| | | | | Cleanup the code to prevent this bug from happening again. | ||||
* | alignment improvements | Hisham Muhammad | 2014-02-27 | 1 | -1/+1 |
| | |||||
* | Fix order of calloc arguments. | Hisham Muhammad | 2014-01-16 | 1 | -2/+2 |
| | | | | (Patch by Dawid Gajownik) | ||||
* | Changes in object model: separate class objects to store vtable. Also, nicer ↵ | Hisham Muhammad | 2012-12-05 | 1 | -2/+3 |
| | | | | UTF-8 display of big numbers. | ||||
* | search and filter for the strace and lsof screens! | Hisham Muhammad | 2012-11-10 | 1 | -55/+86 |
| | |||||
* | major header cleanup | Hisham Muhammad | 2011-12-26 | 1 | -5/+9 |
| | |||||
* | Use strdup explicitly | Hisham Muhammad | 2011-12-25 | 1 | -1/+0 |
| | |||||
* | Mega-commit with features and tweaks for 1.0: | Hisham Muhammad | 2011-11-18 | 1 | -1/+1 |
| | | | | | | | | | | | * Performance improvements * Support for splitting CPU meters into two or four columns (thanks to Wim Heirman) * Switch from PLPA, which is now deprecated, to HWLOC. * Bring back support for native Linux sched_setaffinity, so we don't have to use HWLOC where we don't need to. * Support for typing in user names and column fields in selection panels. | ||||
* | launch lsof for parent process when called on threads. | Hisham Muhammad | 2011-03-22 | 1 | -3/+8 |
| | |||||
* | don't resolve port names | Hisham Muhammad | 2010-09-02 | 1 | -1/+1 |
| | |||||
* | add support for steal/guest CPU time measurement | Hisham Muhammad | 2010-08-24 | 1 | -4/+4 |
| | | | | | | simplify processor data accounting (add CPUData structure) remove Process_clone trick | ||||
* | fix memory leak | Hisham Muhammad | 2010-03-03 | 1 | -1/+4 |
| | |||||
* | warning fixes | Hisham Muhammad | 2010-02-25 | 1 | -4/+4 |
| | |||||
* | extra checks for lsof failures | Hisham Muhammad | 2009-10-16 | 1 | -8/+10 |
| | |||||
* | fix to minor bug affecting the build process, a maintenance release will ↵ | Hisham Muhammad | 2009-06-08 | 1 | -0/+1 |
| | | | | follow shortly. | ||||
* | oops, add missing files | Hisham Muhammad | 2009-06-02 | 1 | -0/+194 |