Comments (11)
Thank you for your report.
jvmtop is related to output "top-like", the scrolling mode is not intended and
only happens in some environments.
This issue is mostly related to issue #21, originally reported in a FreeBSD
terminal.
Can you please execute the following commands in your terminal and post their
results here:
echo $TERM
tput reset | hexdump -C
Can you also tell me if the following command will clear the screen in your
terminal:
echo -e \\x1b\\x5b\\x32\\x4a\\x1b\\x5b\\x48
Original comment by [email protected]
on 30 Jul 2013 at 8:07
from jvmtop.
Thanks for your quick reply.
here are the result u needed.
echo $TERM
xterm
tput reset | hexdump -C
00000000 1b 63 1b 5b 21 70 1b 5b 3f 33 3b 34 6c 1b 5b 34 |.c.[!p.[?3;4l.[4|
00000010 6c 1b 3e |l.>|
00000013
echo -e \\x1b\\x5b\\x32\\x4a\\x1b\\x5b\\x48 clears my screen in terminal.
My OS is centos 5.9 64bit.
Original comment by [email protected]
on 30 Jul 2013 at 8:15
from jvmtop.
Thanks again for the quick retest. I'll need to make some further tests with
other OS/terminal environments but I think I can release a fix for this soon.
Original comment by [email protected]
on 30 Jul 2013 at 1:06
- Changed state: Accepted
from jvmtop.
Happy to hear this from you. Thanks once again for your great work.
One more thing. Is it possible to make the output display only once.
when i excute ./jvmtop.sh
JvmTop 0.7.0 alpha - 09:10:52, amd64, 4 cpus, Linux 2.6.18-19, load avg 0.01
http://code.google.com/p/jvmtop
PID MAIN-CLASS HPCUR HPMAX NHCUR NHMAX CPU GC VM USERNAME #T DL
16786 m.jvmtop.JvmTop 7m 1820m 9m 130m 29.41% 0.00% S6U25 compiere 12
and then exit out. This is because to cut the values and store in variables to
get used as performance graph in nagios.
I am not so strong in java to decompile your .jar file and look into it. :-)
Original comment by [email protected]
on 30 Jul 2013 at 1:13
from jvmtop.
Good idea - I think this should be possible quite easily
I added this to my todo-list.
BTW: If you are successful integrating jvmtop into nagios monitoring, it would
be cool if you would share your work to the community.
Either here on this site (for this, just write me an email), on the nagios site
- or both.
I'm sure this would be interesting for other nagios/jvmtop users as well.
Original comment by [email protected]
on 30 Jul 2013 at 2:29
from jvmtop.
i trying my level best. but to start with.. i need the jvmtop.sh output to
display only once. now it scrolls up. and i can't perform cut command on that.
Indeed, it will be one of the interesting plugin that community and get benefit.
Thanks.
Original comment by [email protected]
on 30 Jul 2013 at 3:13
from jvmtop.
Would you please try the 0.7.1 version:
http://jvmtop.googlecode.com/files/jvmtop-0.7.1.tar.gz
Please let me know if this fixes the scrolling issue.
I also added the "once"-mode: just use the --once argument:
e.g.: ./jvmtop.sh --once
Original comment by [email protected]
on 30 Jul 2013 at 3:21
from jvmtop.
Great. Thank you.
ver 0.7.1 works on my centos 5.9 64bit. and scrolling issue solved.
Thank you again for adding --once argument.
You have given me task to work now. I work on nagios plugin in my free time and
update u.
Thanks. have a great day.
Original comment by [email protected]
on 30 Jul 2013 at 3:27
from jvmtop.
You're welcome.
Let us know if you made progress with your nagios progress.
Original comment by [email protected]
on 30 Jul 2013 at 4:51
- Changed state: Fixed
from jvmtop.
[deleted comment]
from jvmtop.
Hi,
It seems the scrolling problem still there. Now i closely noticed that the
screen does clears. but the previous history were kept in terminal and can be
viewed by scrolling up.
I have recorded a video of mine. 16 MB. thus giving out URL. please have a
look into it.
looking after a fix would be great.
http://www34.zippyshare.com/v/24978182/file.html
Thanks. (Though i m working on nagios plugin with --once argument)
Original comment by [email protected]
on 1 Aug 2013 at 1:20
from jvmtop.
Related Issues (20)
- APIs for jvmtop HOT 2
- NOT COMPATIBLE WITH RED_HAT_5 HOT 10
- sles11 s390x with IBM SDK - java.io.IOException: ATTACH_ERR HOT 1
- Enhancement : Need Break-up details on NHCUR HOT 2
- Connecting to a PID with -p or --pid does not work HOT 1
- Don't cut thread list in detail mode (as option) HOT 2
- Add sort options in detail mode HOT 1
- reports incorrect cpu usage when running on multi core server HOT 3
- ERROR: Connection refused/access denied HOT 5
- jvmtop.sh cannot be linked HOT 1
- Memory leak in VMOverviewView HOT 1
- HPMAX returns the committed memory of the application and not the actual memory allocated HOT 1
- ERROR: Connection refused/access denied HOT 1
- Processes running under a user with no shell cannot be examined by jvmtop HOT 2
- "Once" function does not show threads for PID
- Improve error message for AttachNotSupportedException
- jvmtop.bat throws an exception when JAVA_HOME has spaces
- JavaTop not running on Ubuntu 14.0
- Operation not permitted
- Exception in thread "main" java.lang.NoClassDefFoundError: com/jvmtop/JvmTop
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jvmtop.