Discussion

This page is to share your ideas with CyclopsGroup team. Most forum categories allows anonymous post.

general
Discussion not specific to a project
Category nameThreadsPostsLast post
General discussion not specific to any project
00 
projects
Discussion around several open source projects.
Category nameThreadsPostsLast post
General discussions about Jmxterm project. For bug reporting, please goto http://launchpad.net/jmxterm
1124by jiaqijiaqi
27 Jan 2012 20:08Jump!
Discussion around open source project Jcli
37by jiaqijiaqi
24 Mar 2010 06:02Jump!

Show hidden

rss icon RSS: New threads | New posts

Latest posts

From categories:
page 1123...next »

I'm not sure how VisualVM works but listing JVM processes(started with same run as user) is supported in JDK(like in jps or jconsole). Jmxterm takes advantage of this feature and allows you to list pids or connect to a pid.

In Jmxterm, you may use jvms command to list all running JMV processes started with current user and use open command to open it. For example

$>jvms
5641 ( ) - jmxterm-1.0-alpha-3-uber.jar
20276 ( ) - org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar -os linux -ws gtk -arch x86 -showsplash -launcher /opt/local/eclipse/eclipse-java-helios-SR2-linux-gtk/eclipse -name Eclipse —launcher.library /opt/local/eclipse/eclipse-java-helios-SR2-linux-gtkplugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.2.R36x_v20101019_1345/eclipse_1310.s -startup /opt/local/eclipse/eclipse-java-helios-SR2-linux-gtkplugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar -exitdata 72800b -product org.eclipse.epp.package.java.product -vm /opt/local/sun/jdk1.7.0/bin/java -vmargs -Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms40m -Xmx384m -jar /opt/local/eclipse/eclipse-java-helios-SR2-linux-gtk//plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
$>open 5641
#Connection to 5641 is opened
$>domains
#following domains are available
JMImplementation
com.sun.management
java.lang
java.util.logging

VisualVM automatically lists the Java processes running on my local box, and I just double-click my appserver instance in the list, and I can see my jmx mbeans. I can't figure out how to do something equivalent with jmxterm. How do I connect to a local instance with jmxterm?

How to do a "local connection" like VisualVM does? by David Karr (guest), 26 Jan 2012 21:19
Kevin Mullet (guest) 02 Dec 2011 19:17
in discussion projects / jmxterm » Executing several commands in non-interactive-mode

I've had good luck wrapping the commands in a bash script, though this technique isn't peculiar to any particular shell:

#!/bin/bash
/opt/yaddayadda/java -jar
/opt/sumthin/utilities/jars/jmxterm-1.0-alpha-4-uber.jar«EOF
open localhost:1234
domains
quit
EOF

by Kevin Mullet (guest), 02 Dec 2011 19:17
mike (guest) 16 Nov 2011 21:48
in discussion projects / jmxterm » Executing several commands in non-interactive-mode

somehow I need to stop the '&' from being recognized as a delimiter

by mike (guest), 16 Nov 2011 21:48
mike (guest) 16 Nov 2011 21:03
in discussion projects / jmxterm » Executing several commands in non-interactive-mode

I'm trying to set the jmxproperty to a value that has multiple "=" in the string. For example: open PID && bean BeanName && set propertyX queryString?arg1=x&arg2=y&arg3=z && bye | java -jar jmxterm-1.0-alpha-uber.jar -n

by mike (guest), 16 Nov 2011 21:03

For example
$>bean
java.lang:type=Memory
$>get Verbose
#mbean = java.lang:type=Memory:
Verbose = false;

$>get -s Verbose
#mbean = java.lang:type=Memory:
false

Wim Deblauwe (guest) 16 Mar 2011 15:23
in discussion Hidden / Per page discussions » E. Embed in script language

What does the '-s' stand for? I keep getting an exception using the 1.0-alpha-4 version if I try to use that.

by Wim Deblauwe (guest), 16 Mar 2011 15:23

When the NFL playoffs kick off Saturday in a wild-card round of exciting new league rules will be available.

After last season's NFC championship game went to overtime, the competition committee of the league has recommended a modified form of sudden death where both teams will be allowed to possess the ball.

The new standard, approved by the owners in March, a team keeps winning the lottery, then a field goal on the first possession to win the game.

However, a touchdown in the first series would win the game.

If the team makes a field goal after the opposing team receives possession of the ball for a field goal or score a touchdown victory. If the team matches in a basket, then come back to play the sudden death rules.

"We, the coaches were not expected, number one, change the way the games are over," said Rich McKay, president of Falcon, co-president of competition . "In other words, change the way you play the last two minutes of regulation time. Number two, it would not change their behavior in the way they played overtime … taking the blow sent. I think the rule does both objectives. "

The new system does not guarantee that the possession of each team. It does not guarantee "the opportunity to be" the ball if the results of the first team to score. So if a team kicks the kick-return game and the ball , you could win half the field of play the home team was a "possibility" in the possession of the ball.

—-
cheap authentic nfl jerseys : http://www.buycnjersey.com

nfl jerseys throwback classic : http://www.buycnjersey.com/en/nfl-jersey-1-2.html

Yes, it can be shown that the Seattle Seahawks are the worst playoff team in NFL history with a record of 7-9 and a number of beatdowns got into double figures this season . But, according to Football Outsiders "handy-dandy efficiency ratings of a team playoff could be worse (2004 St. Louis Rams), and in 1998 was close to the Arizona Cardinals

Now, here's the scary part: Each of these teams won their first playoff game. As Butler said, "New Orleans, watch out!"

In general, I think the current seeding system undermines the idea that excellence should be rewarded. Or the Seahawks and Rams play-off place was secured by the power of their NFC West title, while Tampa Bay Buccaneers - who will win both teams during the regular season and had a better overall record than either of the team - had to ask for help get the tournament. And the New York Giants, the team that beat a record of 10-6 barrel out of the Seahawks in week 9, sitting at home wondering why not play The Cool Kids.

The need for a return to spot seeding NFL best team in the playoffs did not get traction on BCS playoffs, but I would say that it is equally important for the integrity of sport. NFL commissioner Roger Goodell has responded strongly and quickly to several things during his tenure - and certainly not always successfully - but it is a case where he will play more fairly. The best team to return, period end of story. And the argument that a division series victory over a team with more than sentenced to death it deserves.

—-
cheap authentic nfl jerseys : http://www.buycnjersey.com

nfl jerseys throwback classic : http://www.buycnjersey.com/en/nfl-jersey-1-2.html

Seahawks Near Its All-time Worst by nfl jerseys (guest), 06 Jan 2011 02:34
Wiki
anabolic steroids (guest) 09 Apr 2010 11:01
in discussion Hidden / Per page discussions » Wiki

I like this site really much. This is such a outstanding web. And it is not like other money directed website, the content here is truly useful.
I am definitely bookmarking it as well as sharin it with my friends. Regards David, CEO Pariuri Live

Wiki by anabolic steroids (guest), 09 Apr 2010 11:01

I created bug https://bugs.launchpad.net/jcli/+bug/545757 to trace the progress of supporting option without short name.

This is also in my todo list. I created https://bugs.launchpad.net/jcli/+bug/545756 to trace the progress. Thank you for bringing it out and going through detail, which is very constructive.

This is in my todo list. Jmxterm command line implemented such feature but the code wasn't decoupled yet. I created bug https://bugs.launchpad.net/jcli/+bug/545750 to trace the progress. Meanwhile, people needs to subarray the argument by themselves.

Re: Sub-commands in JCli by jiaqijiaqi, 24 Mar 2010 05:55
seanfseanf 19 Mar 2010 02:45
in discussion Hidden / Per page discussions » E. Example

Couple of missing things:

The main class APojo should have the annotation Cli:
@Cli(name="something")
public class APojo {

The left over arguments will not be passed in unless the class has a setter method (naturally enough):
public void setArguments(List<String> arguments) {
this.arguments = arguments;
}

See also https://bugs.launchpad.net/jcli/+bug/537132 .

by seanfseanf, 19 Mar 2010 02:45

Thank you very much for participation. JCli project just started recently so many features, even documentation, are still under development. I'll look into all three of your comments and make corresponding changes soon.

Re: Data format
jiaqijiaqi 16 Mar 2010 06:52
in discussion projects / jmxterm » Data format

I don't have an official document yet. Will create one.
In short, the format is either of following three:

For Collection or array, it's [ ele1, ele2, …], the expression of element follows same rules
For Map, it's { key1 = value1, key2 = value2, …}, the expression of key and value follows same rules
For others, it's what toString() returns.

Re: Data format by jiaqijiaqi, 16 Mar 2010 06:52

I don't seem to be able to define options which only have a longName. Sometimes, a —long-name option is all I want.

Sub-commands in JCli
seanfseanf 12 Mar 2010 04:33
in discussion projects / jcli » Sub-commands in JCli

Suppose I wanted to implement a command like the "svn" command, which has subcommands ("svn commit", "svn checkout", and even "svn help commit")? Sub-commands in svn have their own options, as well as the global options. Can JCli help with any of that?

Sub-commands in JCli by seanfseanf, 12 Mar 2010 04:33

Is there some way I can specify the order of options in the help? They don't seem to have any particular order at present. Can I sort them, or specify my own order, perhaps using priorities?

Also, can I group options together (separated by blank lines), so that —username and —password can be together, for instance?

How to control the help output? by seanfseanf, 12 Mar 2010 04:31

thanks for reply. it's clear.

Re: jmxterm: Operation requires JDK instead of JRE by ivan (guest), 02 Mar 2010 09:45
page 1123...next »
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License