Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | IWYU update | Christian Göttsche | 2020-12-06 | 1 | -3/+2 |
| | |||||
* | Initialize buffer for retrieved path | Benny Baumann | 2020-12-06 | 1 | -1/+2 |
| | | | | | | This avoids a warning on GCC 11. Fixes #369 | ||||
* | LinuxProcessList: add underscore suffix for raw struct name | Christian Göttsche | 2020-12-05 | 1 | -1/+1 |
| | | | | Fit the general coding style | ||||
* | Linux: avoid float division by 0 after system sleep | Christian Göttsche | 2020-12-03 | 1 | -2/+3 |
| | | | | | linux/LinuxProcessList.c:1403:63: runtime error: division by zero SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior linux/LinuxProcessList.c:1403:63 in | ||||
* | Add Linux cwd process column | Christian Göttsche | 2020-12-03 | 1 | -0/+29 |
| | |||||
* | Dynamically load libsensors at runtime | Christian Göttsche | 2020-12-02 | 1 | -40/+6 |
| | |||||
* | Add xReadfile wrapper for reading small to medium size files | Christian Göttsche | 2020-12-02 | 1 | -77/+16 |
| | | | | | | Inspired by proposed Linux syscall Avoid file descriptor leaks like 4af8c63f | ||||
* | Use String_eq for readability and consistency | Christian Göttsche | 2020-12-02 | 1 | -3/+3 |
| | |||||
* | Add cast to unsigned char to avoid signed char misuse | Christian Göttsche | 2020-12-02 | 1 | -1/+1 |
| | |||||
* | Merge identical conditional branches | Christian Göttsche | 2020-12-02 | 1 | -3/+1 |
| | |||||
* | Linux: fix process parsing for hidden pid directories | Christian Göttsche | 2020-11-29 | 1 | -2/+2 |
| | |||||
* | Fix reading of device nodes > 2 chars from memory maps | Daniel Lange | 2020-11-28 | 1 | -4/+4 |
| | |||||
* | Add compat mode for systems without openat(2) | Christian Göttsche | 2020-11-28 | 1 | -41/+63 |
| | |||||
* | LinuxProcessList: use openat instead of building path strings | Christian Göttsche | 2020-11-28 | 1 | -96/+97 |
| | | | | openat() is available since Linux 2.6.16 | ||||
* | Drop unused global ProcessList memory fields | Nathan Scott | 2020-11-27 | 1 | -3/+3 |
| | | | | | | | | | | The global ProcessList structure contains a couple of unused fields. 'sharedMem' has never been used by any Meter, since its not been anything other than zero in Linux /proc/meminfo for many, many years. The freeMem field is only used in the usedMem calculation, so it can reside on the stack like some other memory variables used within-calculations-only and not exposed to the user via a Meter. | ||||
* | Randomly refresh M_LRS calculation, but latest after 2s | Benny Baumann | 2020-11-26 | 1 | -8/+7 |
| | |||||
* | Roll our own strtoull implementation specialized to handle the parsing ↵ | Benny Baumann | 2020-11-26 | 1 | -20/+54 |
| | | | | requirements | ||||
* | Hardcode actual conversions to read the maps file data | Benny Baumann | 2020-11-26 | 1 | -8/+49 |
| | |||||
* | Only calculate M_LRS size every 5 seconds | Benny Baumann | 2020-11-26 | 1 | -3/+21 |
| | |||||
* | Calculate library size (M_LRS column) from maps file | Fynn Wulf | 2020-11-26 | 1 | -2/+74 |
| | |||||
* | LinuxProcessList_recurseProcTree: compute time only once and mark parent const | Christian Göttsche | 2020-11-25 | 1 | -5/+6 |
| | |||||
* | Drop taskstats conditional | Christian Göttsche | 2020-11-25 | 1 | -12/+1 |
| | | | | | | | | | | taskstats is only checked on runtime if the column RCHAR, WCHAR, SYSCR, SYSCW, RBYTES, WBYTES, CNCLWB, IO_READ_RATE, IO_WRITE_RATE or IO_RATE is selected. taskstats is currently enabled by default. Drop the taskstats configuration switch, to reduce the maintenance cost. | ||||
* | Drop cgroup conditional | Christian Göttsche | 2020-11-25 | 1 | -6/+0 |
| | | | | | | | | | cgroup is only checked on runtime if the column CGROUP is selected. cgroup is currently disabled by default, but most distributions do enable it. Drop the cgroup configuration switch, to reduce the maintenance cost. | ||||
* | LinuxProcessList: fix misspelling | Christian Göttsche | 2020-11-25 | 1 | -5/+5 |
| | |||||
* | Fix file descriptor leak in LinuxProcessList_readCmdlineFile after xread failure | Christian Göttsche | 2020-11-24 | 1 | -1/+3 |
| | | | | Found by Coverity | ||||
* | Include comm before cmdline if exe could not be read, but comm mismatches ↵ | Benny Baumann | 2020-11-24 | 1 | -0/+10 |
| | | | | | | basename from cmdline Also highlights entries where exe was marked deleted | ||||
* | Add heuristic for space-separated cmdline | Benny Baumann | 2020-11-24 | 1 | -5/+91 |
| | |||||
* | Compatibility function for faccessat | Benny Baumann | 2020-11-24 | 1 | -0/+1 |
| | |||||
* | Improving Command display/sort | Narendran Gopalakrishnan | 2020-11-24 | 1 | -4/+73 |
| | |||||
* | LinuxProcess_adjustTime: simplify by not using double | Christian Göttsche | 2020-11-24 | 1 | -8/+6 |
| | | | | Does not work with -ffast-math else. | ||||
* | LinuxProcessList: fix misspelling | Christian Göttsche | 2020-11-24 | 1 | -1/+1 |
| | |||||
* | Linux: fix display of new thread for one cycle when hidden | Christian Göttsche | 2020-11-23 | 1 | -2/+3 |
| | |||||
* | LinuxProcessList: skip parsing threads if the kind of thread is disabled | Christian Göttsche | 2020-11-22 | 1 | -2/+23 |
| | |||||
* | Reduce scope of local variables | Benny Baumann | 2020-11-22 | 1 | -2/+1 |
| | |||||
* | Rename virtual memory column from M_SIZE to M_VIRT | Christian Göttsche | 2020-11-21 | 1 | -1/+1 |
| | | | | Closes: #325 | ||||
* | Spelling corrections | Christian Göttsche | 2020-11-18 | 1 | -1/+1 |
| | |||||
* | Show CPU temperature in CPU meter | Christian Göttsche | 2020-11-16 | 1 | -0/+78 |
| | | | | | Show the CPU temperature in the CPU meter, like CPU frequency, instead of using an extra Meter. | ||||
* | Use spaceship comparison for TTYs | Christian Göttsche | 2020-11-15 | 1 | -1/+6 |
| | |||||
* | Early skip non-directories when searching for process information | Christian Göttsche | 2020-11-15 | 1 | -4/+9 |
| | |||||
* | Drop hideThreads Setting | Christian Göttsche | 2020-11-15 | 1 | -1/+1 |
| | | | | | It is only used to read process directories on RedHat beginning with a dot. Unconditionally accept directories with a starting dot. | ||||
* | Resolve merge conflicts, merge #298 "Macro cleanup" from @BenBE | Daniel Lange | 2020-11-15 | 1 | -142/+221 |
|\ | |||||
| * | Remove unnecessary braces | Benny Baumann | 2020-11-02 | 1 | -1/+1 |
| | | |||||
| * | Integrate NAN check into assignment | Benny Baumann | 2020-11-02 | 1 | -4/+1 |
| | | | | | | | | The check for NAN is kept to avoid relying on implementation details of the CLAMP macro/function | ||||
| * | Embracing branches | Benny Baumann | 2020-11-02 | 1 | -41/+105 |
| | | |||||
| * | Spacing around operators | Benny Baumann | 2020-11-02 | 1 | -46/+48 |
| | | |||||
| * | Whitespace and indentation issues | Benny Baumann | 2020-11-02 | 1 | -11/+13 |
| | | |||||
| * | Fix indentation to 3 spaces | Benny Baumann | 2020-11-02 | 1 | -18/+18 |
| | | |||||
| * | Spacing after keywords (for) | Benny Baumann | 2020-11-02 | 1 | -5/+5 |
| | | |||||
| * | Spacing after keywords (if) | Benny Baumann | 2020-11-02 | 1 | -16/+16 |
| | | |||||
| * | Spacing after keywords (while) | Benny Baumann | 2020-11-02 | 1 | -7/+7 |
| | |