Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Separate display from sampling in SysArch and Hostname Meters | Nathan Scott | 2021-03-04 | 2 | -0/+14 | |
| | | | | | | | | | Several of our newer meters have merged coding concerns in terms of extracting values and displaying those values. This commit rectifies that for the SysArch and Hostname meters, allowing use of this code with alternative front/back ends. The SysArch code is also refined to detect whether the platform has an os-release file at all and/or the sys/utsname.h header via configure.ac. | |||||
* | Unsupported: add normalized CPU percentage column | Daniel Lange | 2021-03-03 | 1 | -0/+1 | |
| | ||||||
* | Fix compilation of the 'unsupported' platform (Process flags) | Nathan Scott | 2021-03-02 | 1 | -1/+0 | |
| | ||||||
* | Fix integer sizing issues in the NetworkIO Meter | Nathan Scott | 2021-03-01 | 2 | -12/+4 | |
| | | | | | | | | | On Linux kernels the size of the values exported for network device bytes and packets has used a 64 bit integer for quite some time (2.6+ IIRC). Make the procfs value extraction use correct types and change internal types used to rate convert these counters (within the NetworkIO Meter) 64 bit integers, where appropriate. | |||||
* | [#480] SysArchMeter to view kernel/arch info | ahgamut | 2021-01-31 | 1 | -0/+2 | |
| | | | | | | | At start, SysArchMeter calls the uname function to obtain the kernel version and architecture. If available, the distro version is obtained by calling lsb_release. The obtained values are stored in static variables and used when updating the meter. | |||||
* | Unsupported: pass compilation | Christian Göttsche | 2021-01-29 | 6 | -21/+95 | |
| | ||||||
* | Sort out the mess around column sorting that had accumulated over time | Daniel Lange | 2021-01-21 | 1 | -7/+7 | |
| | ||||||
* | Mark Platform_defaultFields const | Christian Göttsche | 2020-12-19 | 2 | -2/+2 | |
| | ||||||
* | Merge Process_pidColumns into Process_fields and rework auto-fit for ↵ | Christian Göttsche | 2020-12-19 | 4 | -16/+8 | |
| | | | | PID-like columns | |||||
* | Rework enum ProcessField | Christian Göttsche | 2020-12-19 | 5 | -7/+17 | |
| | | | | | | Use only one enum instead of a global and a platform specific one. Drop Platform_numberOfFields global variable. Set known size of Process_fields array | |||||
* | Move Process_fields from unsupported/Platform to unsupported/UnsupportedProcess | Dániel Bakai | 2020-12-13 | 4 | -31/+30 | |
| | ||||||
* | Unify naming of first argument of Platform_getBattery | Christian Göttsche | 2020-11-25 | 1 | -2/+2 | |
| | | | | Use percent throughout | |||||
* | Merge branch 'cleanup-init-done' into master | Nathan Scott | 2020-11-23 | 2 | -8/+19 | |
|\ | ||||||
| * | Minor cleanups to platform-specific init and done | Nathan Scott | 2020-11-19 | 2 | -8/+19 | |
| | | | | | | | | | | | | | | Move platform-specific code out of the htop.c main function and into the platform sub-directories - primarily this is the Linux procfs path check and sensors setup/teardown; not needed on any other platforms. No functional changes here. | |||||
* | | Rename virtual memory column from M_SIZE to M_VIRT | Christian Göttsche | 2020-11-21 | 2 | -3/+3 | |
|/ | | | | Closes: #325 | |||||
* | Merge individual Battery.[ch] files into Platform.[ch] | Nathan Scott | 2020-11-18 | 4 | -16/+7 | |
| | | | | | Consistent with everything else involving platform-specific calls from core htop code. | |||||
* | Show CPU temperature in CPU meter | Christian Göttsche | 2020-11-16 | 1 | -0/+1 | |
| | | | | | Show the CPU temperature in the CPU meter, like CPU frequency, instead of using an extra Meter. | |||||
* | Resolve merge conflicts, merge #298 "Macro cleanup" from @BenBE | Daniel Lange | 2020-11-15 | 3 | -49/+50 | |
|\ | ||||||
| * | Embracing branches | Benny Baumann | 2020-11-02 | 1 | -1/+2 | |
| | | ||||||
| * | Spacing around operators | Benny Baumann | 2020-11-02 | 2 | -8/+8 | |
| | | ||||||
| * | Whitespace and indentation issues | Benny Baumann | 2020-11-02 | 1 | -39/+39 | |
| | | ||||||
* | | Split platform dependent parts for file locks screen | Benny Baumann | 2020-11-14 | 2 | -0/+16 | |
|/ | ||||||
* | FreeBSD: implement Platform_getDiskIO() | Christian Goettsche | 2020-10-29 | 2 | -7/+4 | |
| | ||||||
* | Improve handling of no data in Disk and Network IO Meters | Christian Göttsche | 2020-10-26 | 2 | -4/+10 | |
| | ||||||
* | Continue to update generic data in paused mode | Christian Göttsche | 2020-10-19 | 2 | -3/+8 | |
| | | | | | | | | | Generic data, as CPU and memory usage, are used by Meters. In paused mode they would stop receiving updates and especially Graph Meters would stop showing continuous data. Improves: #214 Closes: #253 | |||||
* | Add NetworkIOMeter | Christian Göttsche | 2020-10-16 | 2 | -0/+15 | |
| | ||||||
* | Refactor generating starttime string into Process class | Christian Göttsche | 2020-10-16 | 1 | -1/+1 | |
| | ||||||
* | Centralise fault handling | Benny Baumann | 2020-10-12 | 2 | -35/+0 | |
| | | | | This should be done as all platforms essentially did the same anyway and there was nothing platform specific. | |||||
* | Mark process argument of Process_isThread const | Christian Göttsche | 2020-10-09 | 2 | -2/+2 | |
| | ||||||
* | Some more locations for ARRAYSIZE | Benny Baumann | 2020-10-08 | 1 | -1/+2 | |
| | ||||||
* | Mark Object instances const | Christian Göttsche | 2020-10-07 | 2 | -2/+2 | |
| | ||||||
* | Merge branch 'update-license-and-copyright-info' | Nathan Scott | 2020-10-06 | 8 | -8/+8 | |
|\ | ||||||
| * | Update License consistently to GPLv2 as per COPYING file | Daniel Lange | 2020-10-05 | 8 | -8/+8 | |
| | | ||||||
* | | Add a date and datetime meter (#159) | Michael F. Schönitzer | 2020-10-05 | 1 | -0/+4 | |
|/ | | | | | | Add a date meter and sort header and source files in Makefile Change the lists of header and source files sorted alphabetical and one file per line. This way diffs become better readable and merges easier. | |||||
* | Add DiskIOMeter for IO read/write usage | Christian Göttsche | 2020-10-03 | 2 | -0/+6 | |
| | ||||||
* | CPUMeter: add octuple-column CPU meters. | multi | 2020-09-28 | 1 | -0/+3 | |
| | | | | | | | This is a straightforward extension of the existing multi-column CPU meter code, which now allows for up CPU meters to be displayed in up to 16 columns. This also adds the meter declarations to all the platform-specific code. | |||||
* | Add missing 4-column CPU meters to non-Linux platforms. | multi | 2020-09-28 | 1 | -0/+3 | |
| | ||||||
* | Add -Wmissing-prototypes compiler warning | Christian Göttsche | 2020-09-25 | 2 | -2/+4 | |
| | ||||||
* | Update CPU freq display to use NAN on error | Benny Baumann | 2020-09-24 | 1 | -1/+3 | |
| | ||||||
* | Update battery API to use NAN on error | Benny Baumann | 2020-09-24 | 1 | -1/+2 | |
| | ||||||
* | Mark noreturn functions | Christian Göttsche | 2020-09-18 | 2 | -1/+4 | |
| | ||||||
* | Use strict function prototypes | Christian Göttsche | 2020-09-18 | 1 | -2/+2 | |
| | | | | int foo(); declares a function taking any number of arguments. | |||||
* | Switch variable/field naming from WhiteList to MatchList | Nathan Scott | 2020-09-09 | 2 | -3/+3 | |
| | ||||||
* | Further, minor cleanups to headers post-MakeHeaders | Nathan Scott | 2020-09-08 | 4 | -6/+0 | |
| | | | | | Remove leftover empty ifdef/endif pairs, whitespace. The generated htop.h file was also unused - removed. | |||||
* | Axe automated header generation. | Zev Weiss | 2020-09-03 | 8 | -25/+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. | |||||
* | Remove trailing whitespaces | Christian Göttsche | 2020-08-21 | 3 | -3/+0 | |
| | ||||||
* | Merge branch 'hishamhm-pull-932' | Nathan Scott | 2020-08-20 | 1 | -1/+4 | |
|\ | ||||||
| * | Show N/A on unsupported platforms instead of 0KHz | Arnavion | 2019-08-10 | 1 | -1/+4 | |
| | | ||||||
* | | Merge branch 'hishamhm-pull-960' | Nathan Scott | 2020-08-20 | 1 | -1/+1 | |
|\ \ | ||||||
| * | | Clean up existing whitespace | Daniel Flanagan | 2019-10-31 | 1 | -1/+1 | |
| |/ |