GithubHelp home page GithubHelp logo

Comments (11)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
[deleted comment]

from jvmtop.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.