weird jbase 5.5.1 error

24 views
Skip to first unread message

Richard Kann

unread,
May 20, 2021, 7:52:38 AM5/20/21
to jb...@googlegroups.com

Prior to today a jrf -R filename   would give me the stats on a file. Now I get this:

jsh DEMO ~ -->JRF -R Z
illegal argument: -D,
Usage: jstat -help|-options
       jstat -<option> [-t] [-h<lines>] <vmid> [<interval> [<count>]]

Definitions:
  <option>      An option reported by the -options option
  <vmid>        Virtual Machine Identifier. A vmid takes the following form:
                     <lvmid>[@<hostname>[:<port>]]
                Where <lvmid> is the local vm identifier for the target
                Java virtual machine, typically a process id; <hostname> is
                the name of the host running the target Java virtual machine;
                and <port> is the port number for the rmiregistry on the
                target host. See the jvmstat documentation for a more complete
                description of the Virtual Machine Identifier.
  <lines>       Number of samples between header lines.
  <interval>    Sampling interval. The following forms are allowed:
                    <n>["ms"|"s"]
                Where <n> is an integer and the suffix specifies the units as
                milliseconds("ms") or seconds("s"). The default units are "ms".
  <count>       Number of samples to take before terminating.
  -J<flag>      Pass <flag> directly to the runtime system.
 is not a j# file - ignored
-------------------------------------------------------------------------------
jsh DEMO ~ -->


Does not make sense as I am not typing a -D. Not the keyboard as I tried it on 2 units.

--

Richard Kann

cwslogo

Comp-Ware Systems, Inc.
phone: 800-494-7671
email: rk...@comp-ware.net
www.comp-ware.net

Mvreply

unread,
May 20, 2021, 8:19:08 AM5/20/21
to jb...@googlegroups.com

Richard,

On both Windows and Linux, jstat is also an Operating System utility:

 

C:\Users\zumasys>jstat -?

Usage: jstat -help|-options

       jstat -<option> [-t] [-h<lines>] <vmid> [<interval> [<count>]]

 

Definitions:

  <option>      An option reported by the -options option

  <vmid>        Virtual Machine Identifier. A vmid takes the following form:

                     <lvmid>[@<hostname>[:<port>]]

                Where <lvmid> is the local vm identifier for the target

                Java virtual machine, typically a process id; <hostname> is

                the name of the host running the target Java virtual machine;

                and <port> is the port number for the rmiregistry on the

                target host. See the jvmstat documentation for a more complete

                description of the Virtual Machine Identifier.

  <lines>       Number of samples between header lines.

  <interval>    Sampling interval. The following forms are allowed:

                    <n>["ms"|"s"]

                Where <n> is an integer and the suffix specifies the units as

                milliseconds("ms") or seconds("s"). The default units are "ms".

  <count>       Number of samples to take before terminating.

  -J<flag>      Pass <flag> directly to the runtime system.

 

Later versions of jBASE have been modified so as to always invoke the jBASE version of “jstat” rather than that of the operating system.

 

We would suggest that you upgrade to a more recent version of jBASE.

 

Mike

--
--
IMPORTANT: T24/Globus posts are no longer accepted on this forum.
 
To post, send email to jB...@googlegroups.com
To unsubscribe, send email to jBASE-un...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

---
You received this message because you are subscribed to the Google Groups "jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbase+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbase/58f61703-aaa4-18c6-f437-902e67feafc2%40COMP-WARE.NET.

Peter Falson

unread,
May 20, 2021, 8:51:52 AM5/20/21
to jb...@googlegroups.com
It looks like a Java install/upgrade has occurred. You can most likely amend your remote.cmd to put the %JBCRELEASEDIR%\bin at the start of your PATH.

Sent from my iPhone

On May 20, 2021, at 4:52 AM, Richard Kann <h...@comp-ware.net> wrote:


--

Richard Kann

<cwslogo.jpg>

Comp-Ware Systems, Inc.
phone: 800-494-7671
email: rk...@comp-ware.net
www.comp-ware.net

--

Richard Kann

unread,
May 20, 2021, 9:58:27 AM5/20/21
to jb...@googlegroups.com, Peter Falson

That worked! Thanks.

--

Richard Kann

cwslogo
Reply all
Reply to author
Forward
0 new messages