Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
procps
procps-v3.3.3-large_pcpu.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File procps-v3.3.3-large_pcpu.patch of Package procps
--- top/top.c +++ top/top.c 2012-06-04 10:36:26.252009786 +0000 @@ -1777,7 +1777,10 @@ always: Fieldstab[P_CPU].fmts = " %#4.1f "; if (Rc.mode_irixps && smp_num_cpus() > 1 && !Thread_mode) { Cpu_pmax = 100.0 * smp_num_cpus(); - if (smp_num_cpus() > 10) { + if (smp_num_cpus() > 100) { + if (Cpu_pmax > 999999.0) Cpu_pmax = 999999.0; + Fieldstab[P_CPU].fmts = "%6.0f "; + } else if (smp_num_cpus() > 10) { if (Cpu_pmax > 99999.0) Cpu_pmax = 99999.0; Fieldstab[P_CPU].fmts = "%5.0f "; } else {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor