Details
-
Bug
-
Resolution: Fixed
-
P5
-
22
-
b27
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8326727 | 21.0.4-oracle | Kavya K S | P5 | Resolved | Fixed | b01 |
JDK-8328054 | 21.0.4 | Andrew Lu | P5 | Resolved | Fixed | b01 |
JDK-8326931 | 17.0.12-oracle | Kavya K S | P5 | Resolved | Fixed | b01 |
JDK-8328052 | 17.0.12 | Andrew Lu | P5 | Resolved | Fixed | b01 |
JDK-8327013 | 11.0.24-oracle | Kavya K S | P5 | Resolved | Fixed | b01 |
JDK-8328053 | 11.0.24 | Andrew Lu | P5 | Resolved | Fixed | b01 |
Description
process.top.app=top
process.top.args=-l 1
So top is run with the "-l 1" args, causing it to do one iteration and then exit. Unfortunately the first iteration always shows all 0's for CPU usage. If you do at least 2 iterations, you do see the proper CPU usage on the 2nd iteration. The user just needs to know to scroll down to see it. I suggest we start using "-l 2" unless someone has a better idea.
BTW, for proper CPU usage you can instead look at the failure handler "ps" output, which seems to be correct. But it is nice to have "top" produce the correct output so all the CPU hogs are at the top of the list.
Attachments
Issue Links
- backported by
-
JDK-8326727 "top" command during jtreg failure handler does not display CPU usage on OSX
-
- Resolved
-
-
JDK-8326931 "top" command during jtreg failure handler does not display CPU usage on OSX
-
- Resolved
-
-
JDK-8327013 "top" command during jtreg failure handler does not display CPU usage on OSX
-
- Resolved
-
-
JDK-8328052 "top" command during jtreg failure handler does not display CPU usage on OSX
-
- Resolved
-
-
JDK-8328053 "top" command during jtreg failure handler does not display CPU usage on OSX
-
- Resolved
-
-
JDK-8328054 "top" command during jtreg failure handler does not display CPU usage on OSX
-
- Resolved
-
- links to
-
Commit openjdk/jdk11u-dev/a097faa9
-
Commit openjdk/jdk17u-dev/09ebd1cc
-
Commit openjdk/jdk21u-dev/2a6688f6
-
Commit openjdk/jdk/8be3e392
-
Review openjdk/jdk11u-dev/2597
-
Review openjdk/jdk17u-dev/2286
-
Review openjdk/jdk21u-dev/347
-
Review openjdk/jdk/16915