Re: about jmxterm - thanks/suggestions

17 views
Skip to first unread message

Jiaqi Guo

unread,
Aug 15, 2008, 7:41:08 PM8/15/08
to Celal Ziftci, cyclopsgrou...@googlegroups.com
Thanks for the good suggestions. I can make changes for #1 quickly but
you'd have to build from source code in order to use the change.

For #2, the latest code in SVN does tab autocompletion when you select
domain or bean, which I feel is a more engineer friendly way to speed
up typing than selecting a number. Print out beans in domain command
sounds a good idea. In my case I have a ridiculous domain with 80
beans, which fills up the console. Right now you can do "domain xyz &&
beans" to run two commands in one line. Later I could either come up
with some options for domain, or list top 10 beans under domain, or do
which ever makes sense. What do you think?

Best regards
-Jiaqi


On Fri, Aug 15, 2008 at 1:33 PM, Celal Ziftci
<celal.zi...@gmail.com> wrote:
> Hi,
> it is great to use jmxterm. It has nice properties that I would like to use.
> However, I have some questions/feedback:
>
> 1) On shebang feature: Can we have the return code of the java process
> change based on whether the script succeeds?
> As an example, after I run:
> java -jar jmxterm-0.2-uber.jar -i commands.txt
>
> If a command fails in commands.txt, you could return -n where n is the line
> number of the failing command in commands.txt.
> And it could return 0 on success.
>
> 2) Can we have number-based browsing? As an example, in browse mode, there
> are certain domains lets say, ideally I wanna select a domain by inputting
> the number next to it on the screen. And once I enter the domain, you could
> immediately print the beans in that domain. That way, it could be a much
> smoother browsing.
>
> Thank you for providing this tool.
> I will be looking forward to your reply.
> Thanks.
>

--
Best Regards

Jiaqi Guo

Jiaqi Guo

unread,
Aug 30, 2008, 5:07:38 PM8/30/08
to Celal Ziftci, cyclopsgrou...@googlegroups.com
Does -i option do what you need?

java -jar jmxterm-1.0-alpha-1-uber.jar -i ./myscript.txt


Regards
-Jiaqi

Celal Ziftci wrote:
> Hi,
> I think your suggestions sound good.
> However, in my opinion, the most important piece would be the ability
> to use jmxterm as a standalone script executor.
> This requires that it can run commands from a file, and it returns
> proper error codesat the end of the run.
> Is it possible to implement this feature?


>
> On Fri, Aug 15, 2008 at 7:41 PM, Jiaqi Guo <jiaq...@gmail.com
> <mailto:jiaq...@gmail.com>> wrote:
>
> Thanks for the good suggestions. I can make changes for #1 quickly but
> you'd have to build from source code in order to use the change.
>
> For #2, the latest code in SVN does tab autocompletion when you select
> domain or bean, which I feel is a more engineer friendly way to speed
> up typing than selecting a number. Print out beans in domain command
> sounds a good idea. In my case I have a ridiculous domain with 80
> beans, which fills up the console. Right now you can do "domain xyz &&
> beans" to run two commands in one line. Later I could either come up
> with some options for domain, or list top 10 beans under domain, or do
> which ever makes sense. What do you think?
>
> Best regards
> -Jiaqi
>
>
> On Fri, Aug 15, 2008 at 1:33 PM, Celal Ziftci

> <celal.zi...@gmail.com <mailto:celal.zi...@gmail.com>>

Reply all
Reply to author
Forward
0 new messages