ddusnoki / jvmtop

Automatically exported from code.google.com/p/jvmtop
0 stars 0 forks source link

The --once argument clears the display #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Enhancement.

What steps will reproduce?
1. jvmtop.sh --once <pid>

What is the expected output? What do you see instead?
When running a monitoring program like top once, the screen doesn't clear 
before displaying output, the results simply appends to existing location in 
the window.  This allows me to see, for example, the results of --once twice in 
the same window.

What version of jvmtop are you using? On what operating system?
v0.7.1 on RHEL 6.4

Please post the output of the following commands:
java -version:
java version "1.7.0_25"
OpenJDK Runtime Environment (rhel-2.3.10.4.el6_4-x86_64)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

[jboss@testbox ~]$ echo $JAVA_HOME
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.x86_64

Please provide any additional information below.

Original issue reported on code.google.com by DaveParillo on 8 Aug 2013 at 11:20

GoogleCodeExporter commented 9 years ago

Original comment by patric.r...@gmail.com on 9 Aug 2013 at 8:00

GoogleCodeExporter commented 9 years ago
A suggestion: --once is a rather limited (imp lice a --twice, --thrice).   An 
argument -n <iterations> might be more flexible.

Original comment by DaveParillo on 9 Aug 2013 at 2:24

GoogleCodeExporter commented 9 years ago
Good idea!

Original comment by patric.r...@gmail.com on 9 Aug 2013 at 3:59

GoogleCodeExporter commented 9 years ago
should be fixed with 0.8.0

Original comment by patric.r...@gmail.com on 14 Aug 2013 at 2:47