How to start GC logs?

hello
i was reading this article
http://www.jivesoftware.com/jive/entry.jspa?externalID=701
and i wanted to track my GC logs.
we start our jvm using this script. can someone please tell me what arguments would i need to and how i would edit this script to start the JVM in verbose mode or start GC logs
PLATFORM=`/bin/uname`
case $PLATFORM in
  AIX)
    EXTSHM=ON
    LIBPATH="$WAS_LIBPATH":$LIBPATH
    export LIBPATH EXTSHM ;;
  Linux)
    LD_LIBRARY_PATH="$WAS_LIBPATH":$LD_LIBRARY_PATH
    export LD_LIBRARY_PATH ;;
  SunOS)
    LD_LIBRARY_PATH="$WAS_LIBPATH":$LD_LIBRARY_PATH
    export LD_LIBRARY_PATH ;;
  HP-UX)
    SHLIB_PATH="$WAS_LIBPATH":$SHLIB_PATH
    export SHLIB_PATH ;;
esac
"$JAVA_HOME"/bin/java \
  $DEBUG \
  -Dws.ext.dirs="$WAS_EXT_DIRS" \
  -classpath "$WAS_CLASSPATH" \
  -Dwas.install.root="$WAS_HOME" \
  -Dibm.websphere.preload.classes=true \
  $USER_INSTALL_PROP \
  com.ibm.ws.bootstrap.WSLauncher \
  $SHELL "$CONFIG_ROOT" "$WAS_CELL" "$WAS_NODE" "$@"

It's an argument to your java command, so it would be something like:
"$JAVA_HOME"/bin/java \
-XX:-PrintGCDetails \
$DEBUG \
-Dws.ext.dirs="$WAS_EXT_DIRS" \
-classpath "$WAS_CLASSPATH" \
-Dwas.install.root="$WAS_HOME" \
-Dibm.websphere.preload.classes=true \
$USER_INSTALL_PROP \
com.ibm.ws.bootstrap.WSLauncher \
$SHELL "$CONFIG_ROOT" "$WAS_CELL" "$WAS_NODE" "$@"
more details here: http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp
Alper

Similar Messages

  • MMC how to start the log to see traffic on my dsl channels

    I want to see the traffic on my dsl channel in my area, I had read I could change channel if I wanted
    I only want to see that, not all things in the event viewer
    I don't know what to type in the command line
    I read the instruction page which told me nothing on how to do this.
    Thanks in advance

    some small tools are easier to use, see these two links
    https://blogs.manageengine.com/product-blog/netflowanalyzer/2010/02/05/monitoring-a-dsl-connection-with-netflow-and-netflow-analyzer.html
    http://www.byteometer.com/thirdlevel/dsl-modem-monitor.html

  • How to start logging again?

    I don't think my logging is working correctly. I just sent an
    email using CFMAIL and it wasn't logged into mail.log.
    What could I have done to make this happen? and how can I get
    logging to work again?
    Thanks!
    John

    I do now.
    Is there a setting to turn on application logging as well???
    Thanks!
    John

  • How to start a application with a login window?

    hi there
    does anyone have any idea on how to start an application with a login window? a login window is the first frame or window to be displayed when an application starts running. and only correct login id and password have been entered the real application will start. any sample out there? thank you.

    You can start a new thread by making a thread object and passing it an implementation of a runnable object. Runnable has just one method, public void run(), this is was gets executed in a second thread. perhaps the code you would use would look something like this.
    <code>
    // set up thread for login window
    new Thread(new Runnable() {
    public void run() {
    // construct your login window here
    // when you are done processing the
    // password....
    if(goodPassword) {
    authorized = true; // a global variable
    notifyAll(); // don't forget this
    else {
    System.exit(42);
    }).start();
    // control does not stop this code gets executed while
    // the above thread is running.
    // Set up main program here. This is done in the
    // backround.
    while(!authorized) {
    synchronized(this)
    { wait(50); }
    // now when the user logs in this frame pops
    // up real quick.
    myFrame.setVisible(true);
    </code>
    Hope you can figure it out.. good luck :)

  • How to create different log files for each of web applications deployed in OC4J

    Hi All,
    I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
    1. how to create different log files for each of my deployed web applications ?
    2. what are the advantages in running multiple instances of oc4j and in what case we should run
    multiple instances of OC4J ?
    3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
    Thanks and Regards,
    Kumar.

    Hi Avi,
    First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
    I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
    I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
    Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
    Thanks and Regards,
    Ravi.

  • How to read Update log/RFC Log IN SMSY programatically ?

    Hi all,
    In SMSY we have option to look at <b>update log/RFC Log</b> which shows the connection status for each RFC connection. there are cases where the connection has failed and we get logs as shown below
    Start of automatic data capture with source 'RFC_CALL'
    Start of data capture for system 'A1D'
    Get clients for system 'A1D'
    Clients for system 'A1D' found in RFC destination 'SM_A1DCLNT010_READ'
    Get software components for system 'A1D'
    Software components for system 'A1D' found in RFC destination 'SM_A1DCLNT010_READ'
    Determine the installed Support Packs for the system 'A1D'
    Support Packs for system 'A1D' determined by RFC destination 'SM_A1DCLNT010_READ'
    Get clients for system 'A1D'
    Clients for system 'A1D' found in RFC destination 'SM_A1DCLNT010_READ'
    Get server and instances for system 'A1D'
    Server for system 'A1D' found in RFC destination 'SM_A1DCLNT010_READ'
    Start of data capture for system 'AAE'
    Get clients for system 'AAE'
    Clients for system 'AAE' found in RFC destination 'SM_AAECLNT010_READ'
    Get software components for system 'AAE'
    Software components for system 'AAE' found in RFC destination 'SM_AAECLNT010_READ'
    Determine the installed Support Packs for the system 'AAE'
    Support Packs for system 'AAE' determined by RFC destination 'SM_AAECLNT010_READ'
    my question is:
    1) what does these logs signify
    2) how to read these logs in program and based on what selection
    need ur inputs on this....
    Best regards,
    Subba

    FOUND...

  • How to start with Acrobat SDK on Xcode?

    Hello,
    I'm a newer with acrobat sdk, does anyone know how to start and give me some commend for  good books.
    Does acrobat SDK 9 support Snow Leopard and Xcode 3.2?

    OK, I installed the savage driver package and ran (as root)
    X -configure
    I took the resulting xorg,conf.new to /etc/X11 as xorg.conf.
    When I startx as a user, the laptop screen stays black.
    When I run
    xdpyinfo
    I get
    unable to open display ""
    When I enable "startkde" in ~/.xinitcr, the KDED configuration dialog comes up, but in a poor resolution.
    In a way, X seems to work basically, but I suppose the resolution is at 640*480.
    At /var/log/xorg.0.log I can't find any errors (EE), just 3D warnings, which shouldn't bother.
    BUT..... it seems the X is taking mode 111 (640*480), but my 14" laptop would like 117 (1024*768).
    Can you tell me, where and how I can switch the resolution in X ? I read about the "Displaysize" in the Monitor Section, but I couldn't figure that out. The funny thing is, I have a second laptop running, with 1024*768 (vesa driver), and there is no DisplaySize in its Monitor section, but this machine is running at the correct resolution. Strange. 

  • How to Start and Stop Processes?

    How to Start and Stop Processes?
    Im trying to create a program which allows me to Start and Stop (and Restart) GameServers. I will then expand on this so i can start and stop them through a web applet with build in useraccounts.
    Currently the way we do this is to log into the server using a RemoteAssistance. Which is not very safe as the users have the abbility to do anything on the server and potentially corrupt it.
    Below is my code for how i start the servers. But i dont know how i would stop the process.
                    private void startServers()
                   for(GameServer gs : servers)
                        int ID = Integer.parseInt(gs.getID());
                        if(isChecked(ID))
                             try
                                  String cmd[] = gs.getStartString();
                                  Runtime.getRuntime().exec(cmd);
                                  int sleepPeriod = Integer.parseInt(sleepField.getText());
                                  Thread.sleep(sleepPeriod*100);     
                             catch(Exception e)
                             System.out.println(e);
                   }//end of iterator
                   JOptionPane.showMessageDialog(null,"All Selected Servers Have been started.","Servers Started",2);     
         }//end of startserversAnyhelp would be great thanks.

    Using the process class would give you a nicer API, but using destroy isn't a nice way to shutdown a process. Its like killing the process with your task manager. You should make a connection in some way with the game server and tell it to shutdown in stead (gracefull termination).

  • How to start GUI in SOLARIS

    I recently installed SOLARIS 10 and it logged me IN automatically as "root". I wanna know how to start the GUI shell. Ma sys is P-4 3.2 with 512 DDR 266 RAM
    The steps that show up are
    grub loading stage2...
    <options> (bootmenu)
    1)Solaris 10 1/06 s10x_u1wos_19a x86
    2)solaris fail (something like that-can't remmember)
    3)windows
    Pressed ENTER on1 and licence screen showed up.
    Hostname : satyam-9665 (I entered it earlier)
    checking ufs filesystem
    Satyam-9665 console login
    aug(date n time) Satyam-9665 sendmail[372]:My unqualified host name(local host) unknown; sleeping for retry
    Starting desktop login on display:0
    wait for the Desktop screen before logging in
    The X Server can not be started on display:0
    The screen flickered a bit here
    aug(date n time) Satyam-9665 sendmail[315]:My unqualified my own domain name(local host) --using short name
    After this I was in the terminal/console as "root"
    PS: I made the following choices during installation.
    * opted for NON-NETWORKED
    * selected ENTIRE GROUP
    * Hostname was given as Satyam-9665

    Are you taking about the Oracle DBCA utility?

  • How to start & stop SAP J2EE services.

    Hello,
    Can anyone tell me the steps how to Start and Stop SAP J2EE operations and how to troubleshoot the problems when the Java doesn't come-up.
    Regards,
    Murali

    Hi,
    In windows,
    go to SAP management console,Right click on the SID and then <b>start all tasks</b>
    similarly to stop,Right click,
    <b>stop all tasks</b>
    If it is linux machine,
    switch to SIDadm user,by giving the command <b>su sidadm</b>
    ex:if SID is J2E,then it will be <b>j2eadm</b>.and then it is <b>startsap</b> or <b>stopsap</b>.
    For troubleshooting,
    1.go to /usr/sap/SID/JCxx/j2ee/cluster/server0/log
    look for <b>defaulttrace.trc file.</b>
    you can get to know the errors here and find teh root cause of it.
    2.you can also look for <b>devp_trace</b> in SAPmanagement console.
    3.Before doing all this,first check if <b>JAVA_HOME,path</b> and <b>LD_LIBRARY_PATH</b> is set properly and proper JDK is taken.
    4.check id <b>DB is up and running.</b>
    reward points if helpful
    Message was edited by:
            usha rani

  • How to start TOOLSProcessManager  in linux R12

    Hi,
    We are using Oracle Apps R12 windows and Linux.
    i have start in windows OracleSIT_sitartha_TOOLSProcessManager from services.msc
    but how to start in linux ?
    i have check in linux
    [applmgr@r12 ~]$ /ora/oracle/VIS/apps/tech_st/10.1.2/opmn/bin/opmnctl status
    Processes in Instance: APPS_C_HOME.ap6004bld.us.oracle.com
    ------------------------------------------------+---------
    ias-component | process-type | pid | status
    ------------------------------------------------+---------
    DSA | DSA | N/A | Down
    LogLoader | logloaderd | N/A | Down
    HTTP_Server | HTTP_Server | N/A | Down
    dcm-daemon | dcm-daemon | N/A | Down
    WebCache | WebCache | N/A | Down
    WebCache | WebCacheAdmin | N/A | Down
    OC4J | home | 14760 | Alive
    I need start HTTP_Server only (forms Home 10.1.2)
    Regds
    Murali.R

    i have start TOOLSProcessManager bellow the error
    [applmgr@r12 ~]$ /ora/oracle/VIS/apps/tech_st/10.1.2/opmn/bin/opmnctl startall
    opmnctl: starting opmn and all managed processes...
    ================================================================================
    opmn id=r12.apps.com:6001
    1 of 4 processes started.
    ias-instance id=APPS_C_HOME.ap6004bld.us.oracle.com
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    HTTP_Server/HTTP_Server/HTTP_Server
    Error
    --> Process (pid=6947)
    failed to start a managed process after the maximum retry limit
    Log:
    /ora/oracle/VIS/apps/tech_st/10.1.2/opmn/logs/HTTP_Server~1
    ias-component/process-type/process-set:
    WebCache/WebCache/WebCache
    Error
    --> Process (pid=6955)
    failed to start a managed process after the maximum retry limit
    Log:
    /ora/oracle/VIS/apps/tech_st/10.1.2/opmn/logs/WebCache~WebCache~1
    ias-component/process-type/process-set:
    WebCache/WebCacheAdmin/WebCacheAdmin
    Error
    --> Process (pid=6939)
    failed to start a managed process after the maximum retry limit
    Log:
    /ora/oracle/VIS/apps/tech_st/10.1.2/opmn/logs/WebCache~WebCacheAdmin~1

  • How to start MWA in 11i apps

    Hi,
    how to start and stop MWA, and how to check the MWA process on OS level .
    its 11i apps
    os : HP

    Sawwan,
    I can see some errors in log file
    [Tue Jan 26 13:24:20 EST 2010] (Thread-343) PH: caught IOException
    java.io.IOException: -1 is read from input stream
         at oracle.apps.mwa.presentation.telnet.ProtocolHandler.readChar(ProtocolHandler.java:1385)
         at oracle.apps.mwa.presentation.telnet.ProtocolHandler.enterHighlight(ProtocolHandler.java:2011)
         at oracle.apps.mwa.presentation.telnet.ProtocolHandler.run(ProtocolHandler.java:731)
    [Tue Jan 26 13:35:39 EST 2010] (Thread-344) PH: User E011436 got disconnected...
    [Tue Jan 26 13:35:39 EST 2010] (Thread-344) PH: caught IOException
    java.io.IOException: -1 is read from input stream
         at oracle.apps.mwa.presentation.telnet.ProtocolHandler.readChar(ProtocolHandler.java:1385)
         at oracle.apps.mwa.presentation.telnet.ProtocolHandler.enterHighlight(ProtocolHandler.java:2011)
         at oracle.apps.mwa.presentation.telnet.ProtocolHandler.run(ProtocolHandler.java:731)
    any clue ..?

  • How i can access log file in servlet?

    How i can access log file in servlet then display it to browser.
              Can i have peice of codes...
              Thanks in advance.!
              

    This is not something that can be answered easily. There is quite alot of code involved....
    To get started I suggest you read up on the built-in package 'DBMS_LOB' from Oracle . Most of what you need you should find there.
    regards Dave.

  • How to start a GP process from a url within EP?

    I know how to start a GP process from the webdynpro url generated from the instantiation tab of a GP process.
    But if I use this url, the end-user will be prompted with a login screen to authenticate to the J2ee server because it's a webdynpro url and it doesn't recognized that the user is already logged in the Portal.
    How can i avoid this login screen or how can I get a Portal url that launch the GP process directly? Thanks, Andre

    Hi Austin,
    There is a strange problem when creating a web dynpro with the URL parameters. It web dynpro window pops up a new portal window in which the process is displayed. Rather, if I create a URL iView of the form http://<host>:port>/webdynpro/dispatcher/sap.com/cafeugpuiinst/AInstantiation?process.template.id=<...>&process.autostart=t it works fine!
    I'd like the web dynpro iView to work cause otherwise I'll have to add static sapcssurl parametes for the theme etc. which I want to avoid.
    Regards,
    Nirav

  • How open and see Log File in Active Directory

    Hello Friends..   ^-^
    how i can open log files active directory and see this data files ?
    Can export this logs ?
    thanks for help.

    And adds a definition of edbxxxxx.log for completeness:
    These are auxiliary transaction logs used to store changes if the main Edb.log file
    gets full before it can be flushed toNtds.dit.
    The xxxxx stands for a sequential number in hex. When the Edb.log file
    fills up, an Edbtemp.log file
    is opened. The original Edb.log file
    is renamed to Edb00001.log, and Edbtemp.log is
    renamed to Edb.log file,
    and the process starts over again. Excess log files are deleted after they have been committed. You may see more than one Edbxxxxx.log file
    if a busy domain controller has many updates pending.
    Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable. This helps the community, keeps the forums tidy, and recognises useful contributions. Thank you!

Maybe you are looking for

  • ABAP RuntimeError SYSTEM_IMODE_TOO_LARGE

    Hello Experts, I get this error SYSTEM_IMODE_TOO_LARGE, when i try to load some 888,000 records, we run loads over 12 million records and never faced this problem. I tried to run for a specific selection of 4000 records bassed on idoc numbers and i m

  • Row Selection in table

    Hi All, I created a table with three columns - Select(Checkbox), EmpID(TextView), Status(TextView). The data for EmpId column and Status column is coming from a webservice. While i created a node with a boolean attribute and bound to the "Checked" pr

  • Save Image from excel

    Hi, I want to export images from an excel sheet. Cell A1 would be the input of the folder name where the images would be saved.Column C will contain images. Once a user click on a button all the images that are in column C will be exported to the fol

  • Importing Fireworks HTML HELP!

    When I'm trying to import my Fireworks image/html into Dreamweaver I'm getting an erroro code (The correct file os not the correct format. Please select an HTML file which was exported from Fireworks). The problem is I AM exporting it from Fireworks.

  • How do i convert a clip from youtube to imovie

    I am doing an imovie project for school and i am trying to get a clip from youtube on to my imovie.  How do i do this?