-
-
Notifications
You must be signed in to change notification settings - Fork 418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rework CPU counting #656
Rework CPU counting #656
Commits on Jul 18, 2021
-
Currently htop does not support offline CPUs and hot-swapping, e.g. via echo 0 > /sys/devices/system/cpu/cpu2/online Split the current single cpuCount variable into activeCPUs and existingCPUs. Supersedes: htop-dev#650 Related: htop-dev#580
Configuration menu - View commit details
-
Copy full SHA for 41af31b - Browse repository at this point
Copy the full SHA 41af31bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11d2206 - Browse repository at this point
Copy the full SHA 11d2206View commit details -
UptimeMeter: treat all non-positive values as error
Bogus uptime measurements can result in wrap-arounds, leading to negative garbage values printed.
Configuration menu - View commit details
-
Copy full SHA for fbe3a21 - Browse repository at this point
Copy the full SHA fbe3a21View commit details -
FreeBSD: skip exe check for kernel thread
Kernel threads do not have an executable and the check can result in garbage values as unprivileged user.
Configuration menu - View commit details
-
Copy full SHA for af0b67c - Browse repository at this point
Copy the full SHA af0b67cView commit details -
FreeBSD: calculate whether to show entry last
Wait until it has been decided what kind of task the entry actually is.
Configuration menu - View commit details
-
Copy full SHA for 3451b6c - Browse repository at this point
Copy the full SHA 3451b6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for adcedf8 - Browse repository at this point
Copy the full SHA adcedf8View commit details -
Enable affinity support for non-Linux
sched_getaffinity() and sched_setaffinity() are also available on BSDs. Remove the Linux restraint.
Configuration menu - View commit details
-
Copy full SHA for 1fb0c72 - Browse repository at this point
Copy the full SHA 1fb0c72View commit details -
Configuration menu - View commit details
-
Copy full SHA for b148a4b - Browse repository at this point
Copy the full SHA b148a4bView commit details -
DragonFlyBSD: calculate whether to show entry last
Wait until it has been decided what kind of task the entry actually is.
Configuration menu - View commit details
-
Copy full SHA for f47e88f - Browse repository at this point
Copy the full SHA f47e88fView commit details -
Solaris: support offline CPUs and hot-swapping
Example hot-swapping: psradm -F -f 2
Configuration menu - View commit details
-
Copy full SHA for 90cc16e - Browse repository at this point
Copy the full SHA 90cc16eView commit details -
openbsd/OpenBSDProcessList.c:176:56: error: no member named 'ki_pid' in 'struct kinfo_proc'; did you mean 'p_pid'? const int mib[] = { CTL_KERN, KERN_PROC_CWD, kproc->ki_pid }; ^~~~~~ p_pid /usr/include/sys/sysctl.h:375:10: note: 'p_pid' declared here int32_t p_pid; /* PID_T: Process identifier. */ ^ openbsd/OpenBSDProcessList.c:458:33: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] if (opl->cpus[i].cpuIndex == id) ~~~~~~~~~~~~~~~~~~~~~ ^ ~~
Configuration menu - View commit details
-
Copy full SHA for f608fc5 - Browse repository at this point
Copy the full SHA f608fc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for edf236f - Browse repository at this point
Copy the full SHA edf236fView commit details