]> granicus.if.org Git - procps-ng/commit
top: raise %CPU maximum if large numbers of processors
authorJim Warner <james.warner@comcast.net>
Sat, 9 Apr 2022 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Mon, 11 Apr 2022 06:41:12 +0000 (16:41 +1000)
commit7279cd8e4d21f8fab62e34e4695b46e86cba2442
treefc3c46685b4efdb6359f255ff0c90e9756b6b3c1
parent6aec3ec93ac9e7cbcf75d9ec9b9b45e71cda5ac5
top: raise %CPU maximum if large numbers of processors

It would appear that openSUSE was the first to release
procps-ng version 4.0.0 (in the tumbleweed distro). As
a result I checked their source rpm and found a couple
of patches I'm porting to newlib for the next release.

This particulate patch, with some changes, is openSUSE
patch 'procps-ng-3.3.10-large_pcpu.patch'. The changes
were strictly cosmetic. They involved whitespace only.

[ it should be noted that the net effect for raising ]
[ the maximum is to produce a '?' in the %CPU field. ]
[ that's because its width is fixed at five columns. ]
[ but at least the '?' won't distort actual results. ]

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c