On Linux this will give you what the OS sees as resident for all java processes (use -ovsz for virtual):
With jrockit you could also use jrcmd <pid> print_memusage for more detailed info.
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Hi,
By using time command we can determine the execution time of a process or command.
bash-2.04$ time ls -l
total 0
-rw-r--r-- 1 admin tac 0 Oct 6 04:46 file1
-rw-r--r-- 1 admin tac 0 Oct 6 04:46 file2
real 0m0.002s
user 0m0.000s
sys 0m0.001s... (5 Replies)
When i changed jvm memory settings from 3048 to 3548, appsserver could not start. if no change , it was normal. How do we change .otherwise i had a out of swap space error appeared after 3hrs period when do the monitoring of java application. (1 Reply)
Hi Guys,
I have a script. It calls an executable inside (programmed in C). I will have to find the execution time of that script and amount of memory consumed by that process as well.
#!/bin/sh
echo "Script starting"
echo "executable staring"
executable parm1 parm2 parm3
echo... (4 Replies)
Hello,
i need just a Unix command line (AIX 6) that gives me the memory/CPU used by a WebSphere JVM from it's PID such as ps -ef | grep 'jvm name'.
I know jstat -gc PID but it didn't work
Could you help me please
Thanks
Christian (1 Reply)
Hi All,
In one of the solaris box aslert got triggered as ...
(Used_Real_Mem_Pct=93.0 Used_Swap_Space_Pct=75.0 )]
when i see the usage by vmstat and sar i am not able to relate the alert with the free memory and swap memory
please help to understand the vmstat output as below..
kthr ... (4 Replies)
Hi all,
I am starting a JVM in unix and when I use ps command on the pid of process starting JVM the output is something like this :-
java -Xms32M -Xmx64M -Xmx128M
I need to know what would be the value of Xmx in this case.
And how to check that this value be picked while starting JVM... (3 Replies)
Hi ,
Whenever I am starting JVM it is getting started with Xms as 256MB, which is 1/64 of the Memory available and by default this should happen.
But I want to change and start the every JVM with 128MB.
Is there any way to do or I have to manually specify Xms tag while starting JVM.
Thanks (1 Reply)
I have multiple oracle databases on one server. All the database are running from the same user i.e. oraent.
The process for each database can be distinguished by the ps -ef command
Eg : ps -ef | grep oraentThe Output :
oraent 5361 1 0 20:58:05 ? 0:00 oracledb1... (11 Replies)
Discussion started by: yashreads
11 Replies
LEARN ABOUT REDHAT
wbemconfig
wbemconfig(1M) System Administration Commands wbemconfig(1M)NAME
wbemconfig - convert a JavaSpaces datastore to the newer Reliable Log datastore format
SYNOPSIS
/usr/sadm/lib/wbem/wbemconfig convert
DESCRIPTION
A Reliable Log directory is created that contains the converted data. This directory is named /var/sadm/wbem/logr.
The convert argument is the only supported option of this command. You should only run this command after stopping WBEM (CIM Object Man-
ager) with the init.wbem stop command. Otherwise your data may be corrupted.
This command successfully converts any proprietary custom MOFs you have created in the datastore, but not any CIM or Solaris MOFs you have
modified. These will be destroyed. To recompile any modified CIM or Solaris MOFs into the new datastore, run the mofcomp command on the MOF
files containing the class definitions.
Because the wbemconfig convert command invokes the JVM (Java Virtual Machine) to perform conversion of the JavaSpaces datastore, you must
be running the same version of the JVM as when the original JavaSpaces storage was created. After the wbemconfig convert command is com-
pleted, you can change to any version of the JVM you want.
To see what version of the JVM you are running, issue the java -version command.
OPTIONS
The following options are supported:
convert Convert a JavaSpaces datastore to the newer Reliable Log datastore format.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWwbcou |
+-----------------------------+-----------------------------+
SEE ALSO init.wbem(1M), wbemadmin(1M), wbemlogviewer(1M), mofcomp(1M), attributes(5)SunOS 5.10 24 Aug 2000 wbemconfig(1M)