Is there a way to log the PID at the same time as GC ?

Hi there, I have two JVMS running inside a j2ee container. If I log GC with -Xloggc, the output only goes to the one file, written to by both JVMs, and the PID of the JVM does not get output so I cannot tell in which JVM the GC has occurred.
Was wondering if there was some obscure XX or D option to enable the output of this extra information ?
Or any other way of doing it.. ok I can poll the two PIDs in jstat, and infer GC from a heap reduction, but that's not very nice.. and I've heard I can use a third party log system like log4j .. but was wondering if anyone had a nice simple solution :-)
Alternatively, any unix gurus here, I don't know a way of monitoring a file for processes opening it in unix, if so I could log that as well... could I tail the file? doesn't seem to help.. run lsof on it? would need to poll so no good.. struggling! help!
thanks.

Two JVM's ? I thought that J2EE worked within a single JVM and run everything in containers. Can you see the two processes?

Similar Messages

  • Is there a way to delete from album and at same time from library?

    What I am doing now is deleting from the album, then searching out the pix from the library and deleting that. Awkward. Is there a more direct way?

    Yes. Flag the pics and go control-command-delete or just select the pic option=command-delete
    Regards
    TD

  • My itunes account was disabled for some reason.  I changed password in iforgot and still didn't work.  I could log in but not make purchases from the store so I set up a new login/account .  Is there any way to move my music to the new account?

    My itunes account was disabled for some reason.  I changed password in iforgot and still didn't work.  I could log in and see my music but not make purchases from the store or even redeem an itunes gift card so I set up a new login/account with another email account of mine. On the new account I can redeem my gift card and download items onto my ipad2.  Is there any way to move my music to the new account?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Importing a lot of video clips from a Sony camera to FCE; during the Log and Transfer process, is there a way to add multiple clips to the browser instead of one at a time?

    Importing a lot of video clips from a Sony camera to FCE; during the Log and Transfer process, is there a way to add multiple clips to the browser instead of one at a time?

    Select one and click cmd-A which selects them all.
    Then click the import button if it hasn't started already.

  • Is there a way to log out of my itunes or app store account without having the device?

    is there a way to log out of anitunes and app store account thats on a device, without having the device?

    It prevent using the account change the account password on another device

  • My iPhone recently got smashed and I've been receiving some very important messages that I cannot view. Is there a way to log on and see my phones messages from a tablet/computer?

    My iPhone recently got smashed and I've been receiving some very important messages that I cannot view. Is there a way to log on and see my phones messages from a tablet/computer?

    iMessage can be viewed and responded to on another Apple device.  IPad, iPod or Mac computer.
    regular SMS from non iPhone users will not show and you can't send to those phones.
    bummer about the phone....

  • Is there any way to log in using a skype account, not a Microsoft one?

    I can only log into the app using the Microsoft account, however I have most of my skype contacts in my old skype account, is there a way to log in to the app using the skype account instead?

    Hi and welcome to the Skype Community,
    I'm afraid you can only sign in to Skype Translator using a Microsoft account. You can - however - link your Microsoft account to your "old" Skype account and then juse Skype Translator that way. Keep in mind though that you will lose the contact list of your Microsoft account based Skype account that way. More info on account linking: https://support.skype.com/en/faq/FA12060/how-do-i-link-my-skype-and-microsoft-accounts

  • HT201303 using a new computer, and cannot download music without being able to answer security questions.  Is there a way to reset these or get the answers sent to you for one's security questions.

    using a new computer, and cannot download music without being able to answer security questions.  Is there a way to reset these or get the answers sent to you for one's security questions.

    If you have a rescue email address set up on your account then you can try going to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you might see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email address set up then go to Express Lane  and select 'iTunes' from the list of 'products' in the middle of the screen.
    Then select 'iTunes Store', and on the next screen select 'Account Management'
    Next choose 'iTunes Store Account Security' and fill in that you'd like your security questions/answers reset.
    You should get an email reply within, I think, about 24 to 48 hours (and check your Spam folder as well as your Inbox)

  • I have a new mac book pro which i use in england but I need to use German charachters frequently, is there a way of having both visable on the keyboard?

    I have a new mac book pro which i use in england but I need to use German charachters frequently, is there a way of having both visable on the keyboard?
    For example so that I can just press shift or another key to get the German character.

    Some may already exist, but you will have to learn them.  On my old system these can be found through keyviewer.app  For example, if I press option+s I get ß   Umlaut is a bit cumbersome as option+u then the actual letter.  It may be possible to bind a key to do this function, possibly through System Preferences > Keyboard > Shortcuts
    I have old, old references for utilities that let you rebind keys to other functions, and you would have to see if they have modern equivalents.
    Ukelele Mac OS X Keyboard Layout Editor - http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=ukelele - mostly useful for character, not function mapping.
    Check Butler, ikeys, quickeys or Spark

  • Is there a way to get a version of the Garage Band app that runs on version 5.1.1?  I have an iPad 1 and can't get any higher iOS.  The App store is telling me that Garage Band only runs on iOS 7.

    Is there a way to get a version of the Garage Band app that runs on version 5.1.1?  I have an iPad 1 and can't get any higher iOS.  The App store is telling me that Garage Band only runs on iOS 7.

    Unfortunately the answer is still no.

  • Is there a way to create a playlist from the now playing screen on ios7?

    Is there a way to create a playlist from the now playing screen on ios7? I want to be able to hear a song in my collection and immediately add it to an existing playlist or create a new playlist.
    Thank you in advance

    Hi Cornellius,
    From the now playing screen there's a Create button at the bottom that allows you to create a
    Genius Playlist
    New Station form Artist
    New Station from Song
    IPhone Help, Browse and play
    http://help.apple.com/iphone/7/#/iph3cf21a82
    The Now Playing screen provides playback controls and shows you what’s playing.
    For information on Genius Playlists, see
    Archived - Genius for iPod and iPhone
    http://support.apple.com/kb/HT2978
    I don't see an option to add it to an existing playlist.
    Best Regards,
    Nubz

  • Is there a way to add two windows in the same window?

    is there a way to add two windows in the same window?

    what do you mean by your first use of the word "window"? do you mean a visible frame? a section of the gui that the user doesnt see?
    or perhaps you mean you want to add multiple tabs to a single window, so that switching between tabs shows different windows?

  • Is there a way to make all page margins the same?

    I've exported a book file from indesign. Since the pages were in a book-type spread, the odd and even pages have different margins. The odd page has the bigger margin on the left, while the even has the bigger margin on the right.  Is there any way to make these identical after the fact. I can't go back and redo the indesign file.

    Thanks, there are 382 pages. Can't do them one by one.  And I purposely made the margins different in indesign, to give people more space in the middle.  The margins are as follows:
    But when I try to reverse the inside outside on one page of the spread, just reverse them, so the dimensions are the SAME, all the text and photos move.

  • Is there a way to automatically add another of the same page while a form is being filled?

    Is there a way to automatically add another of the same page while a form is being filled?
    I have a two-page form of which the second page is essentially a spreadsheet analog.  Often, there is need for for more lines than are available on the page.  Is there a way in which to add another or even multiple copies of the second page? 
    Thanks ahead...
    TG

    You can do that with a dynamic XFA form created in LiveCycle Designer, which comes with Acrobat Pro for Windows. For more information, you can ask over at the LiveCycle Designer forum.

  • Is there a way to open Excell file from the server and display in the UI and save it back on to the

    Hello there,
    Is there a way to open Excell file from the server and display in the UI and save it back on to the server? (like showing xell file as a datagrid - add rows, columns etc.)

    Hi Mike,
    Welcome you to the forum.
    You may try:
    SELECT * FROM MyDBNameHere.dbo.OUSR T0
    Thanks,
    Gordon

Maybe you are looking for

  • Substitute of java.awt.ToolKit.getDefaultToolKit.beep()

    Hello everybody. I am designing a Swing Application and there I am using java.awt.ToolKit.getDefaultToolKit.beep() method to generate sound in various operations. I want to know is it possible to generate own sound as a substitute of this method? I t

  • Renaming Batch Files in Photoshop Elements 12

    I wanted to rename a lot of pictures because my camera created pictures with the same name, but it apears to create multipe copies of the same picture. Really need some help on this one. OH, the source and destination folders are not the same!! tim

  • Need help understanding Folders.

    I am extremely new at using iMac OS X Leopard Desktop. I work with a lot of photos and when importing with my camera I have difficultly adding them in one place where I can find them when using Disk Utility for burning to CD. I would like to import m

  • Cost Vs Rule

    Hi All, How can i compare the cost based optimization or rule based optimiztion based on a query? Suppose now the query is using rule based and taking 1 min for execution, after i analyze the table same query is taking more time. What all things i ha

  • Keyboard Shortcut not working

    I turn on my iBook one day and the Command/Apple + T keyboard shortcut doesn't work. The t button works fine, but in every application, this shortcut is broken. All of the other shortcuts work, but in Photoshop, iMovie, and multiple web browsers, thi