|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Does java MQ API invoke shell commands?.. on Tandem |
« View previous topic :: View next topic » |
Author |
Message
|
pcrparimi |
Posted: Mon May 20, 2002 4:05 am Post subject: Does java MQ API invoke shell commands?.. on Tandem |
|
|
Apprentice
Joined: 09 Oct 2001 Posts: 43 Location: NY
|
Hi,
We have MQ installed on tandem and using java pgms to interact with MQ.
We run java pgms from OSS command prompt.
During performnce analysis of these java pgms we found that, There are many time OSS commands like ‘ls’, ‘expr’, ‘ksh’ are getting executed when
application is running which are also causing very high utilization for short duration.
Just for example, it was observed that ksh command was executed 15 times by application (excluding shells open for running application) in short span on 5 second with each execution causing 15 to 20 % average utilization.
So I would like to know, when we invoke any java MQ API, does it call any shell commands internallY?.
Thanks in Advance,
Poorna |
|
Back to top |
|
 |
mqonnet |
Posted: Mon May 20, 2002 4:57 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
I dont think so. MQ Java api is embedded into the SRL if you are using native and the respective libraries when using non-native. You forgot to mention what you were using.
Coming to "ksh". This command would be used only if you have multiple oss sessions created through your application. Because a single app run on OSS would not need to start/run "ksh". Hence i would go back to the source of the app on this one.
And the basic test to clarify all your doubts would be to run one of the java samples and monitor to see if you get "ksh" and others started.
But otherwise, would like to know more about your env.
1) What Version of java are you using.
2) What version of NSJ are you using.
3) Is your app native or non-native.
4) How are you linking and running your prog.
Hope this helps.
Cheers.
Kumar _________________ IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|