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

From: [email protected] <[email protected]> On Behalf Of Richard Kann
Sent: 20 May 2021 12:53
To: [email protected]
Subject: weird jbase 5.5.1 error


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: [email protected]<mailto:[email protected]>
www.comp-ware.net<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.comp-ware.net%2F&data=04%7C01%7Cmikes%40jbase.com%7C1c3444e31f2448d1fdf108d91b85c418%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C1%7C637571083609740339%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=7EJDcfyFFegtQucs2wNdPSZSRKDMKUcjpsL9NSgO7z8%3D&reserved=0>
--
--
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to [email protected]<mailto:[email protected]>
To unsubscribe, send email to 
[email protected]<mailto:[email protected]>
For more options, visit this group at 
http://groups.google.com/group/jBASE?hl=en<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.google.com%2Fgroup%2FjBASE%3Fhl%3Den&data=04%7C01%7Cmikes%40jbase.com%7C1c3444e31f2448d1fdf108d91b85c418%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C1%7C637571083609750332%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=X2o3Hk4fqt2zxk25phkhyfVtf8bTM73EnAsFTLvFgtU%3D&reserved=0>

---
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 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/58f61703-aaa4-18c6-f437-902e67feafc2%40COMP-WARE.NET<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fjbase%2F58f61703-aaa4-18c6-f437-902e67feafc2%2540COMP-WARE.NET%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Cmikes%40jbase.com%7C1c3444e31f2448d1fdf108d91b85c418%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C1%7C637571083609750332%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2F5VzgqaQ3Lg86mYTkieMnw5uSEUixnq4KQUYs1S8YJU%3D&reserved=0>.

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/DM6PR18MB2939E97C1509E906E896D0E9B32A9%40DM6PR18MB2939.namprd18.prod.outlook.com.

Reply via email to