Difference between nmserver and nmshell

0 Likes

Problem:

What is the different between nmserver and nmshell

Resolution:

nmserver

The nmserver utility enables you to profile programs run through an application server without launching the DevPartner Java Edition Web interface.

Syntax:

nmserver [-config Configuration-name] {-attach, -detach, -kill} {-perf, -mem, -cov} [-timeout seconds] [-batch] [-nmv] [-help] <APPSERVER_NAME>

nmshell

The nmshell utility invokes a new console (shell) in which all Java programs are monitored. This utility could be used, for example, to launch a browser and profile an applet <../Common/DPJ_How_to_Profile_Applets.html> in that browser, or to launch a batch file or executable.

To terminate monitoring, exit the shell.

While this command is active, invoking additional nmshell commands in the same console will result in an error. You can, however, invoke the nmjava or nmserver commands in the same console; these commands will behave normally, as if they were invoked outside of this console.

Note: To use nmshell with an unsupported application server, first use the DevPartner Java Edition Administration Console to configure the server, then use nmshell as usual. For details, see the online help for the Administration Console.

Syntax:

nmshell -config Configuration-name {-perf, -mem, -cov} [-batch] [-nmv] [-help]

nmshell -config Configuration-name {-perf, -mem, -cov} [-batch] [-nmv] [-help] -exec command

Old KB# 11188
Comment List
Anonymous
Related Discussions
Recommended