Monday, 6 January 2014

Generating java thread dump in Linux or Unix

If your server got hang, before restarting your server you can take the thread dump of the server for identifying the issue.
In Linux or Unix machine you can identify the running processes by below command
ps -ef
By this command you will get list of all the processes running. From those list, to filter the processes list which are of java processes use the below command
ps -ef | grep java
Identify the required process which you want to kill and provide the corresponding process in below command
Kill -3 java-process Id
This command will kill the corresponding process and generates the thread dump at the server location
If you want to get the thread dump without killing the process, below command generates the thread dump at provided location
jstack java-process Id > jstack.out

23 comments:

  1. Well post in recent day’s customer relationship play vital role to get good platform in business industry, Salesforce crm tool helps you to maintain your customer relationship enhancement.
    Regards,
    Salesforce training in Chennai|Salesforce training institute in Chennai|Salesforce training

    ReplyDelete

  2. superb.....blog is much interesting which engaged me more.Spend a worthful time.keep updating more.
    SEO Company in India
    SEO Services in India
    SEO Companies in India
    SEO Company India
    SEO Services India
    SEO Companies India

    ReplyDelete
  3. What an effective content you hav described in your blog.Hats off to you.Keep sharing such unique features.
    oppo service center chennai
    oppo service center in chennai
    oppo service centre chennai
    oppo service centre

    ReplyDelete
  4. This post is very helpful and informative. Keep Posting such an informative post in the future.

    Accident Attorney Fort Lauderdale

    ReplyDelete
  5. medical care is what many people lack in the interior areas of the world. people face a lot of health issues everyday without solution. buy psychedelics online, Buy weed online, Buy alprazolam online

    ReplyDelete
  6. Oh nice post..
    Thanks for sharing with us,
    We are again come on your website,
    Thanks and good day,
    If you need any logo then,
    Please visit our site,
    buylogo

    ReplyDelete
  7. This blogs give unique information about java.I'am very much delighted to say that this blog has helped me a lot in gain some extra knowledge.
    Selenium Training in chennai | Selenium Training in anna nagar | Selenium Training in omr | Selenium Training in porur | Selenium Training in tambaram | Selenium Training in velachery

    ReplyDelete
  8. magnificentincense.com
    24K Monkey Classic Incense 10g
    AK-47 – X10 / PREMIUM
    Bizarro Incense
    Buy Black Mamba Incense Online
    Buy WTF Herbal Incense
    Cloud9 Mad Hatter Incense
    Crazy Monkey Incense
    k2 spray on paper
    k2 paper sheets
    Klimax Potpourri 15xxx Coconut(10g)
    Crazy Monkey Incense
    Cloud9 Mad Hatter Incense
    Buy Purple Diesel Incense Online
    Buy Pure Fire Herbal Incense Online
    Buy Kisha Cole Incense (11g) online
    Buy KUSH HERBAL INCENSE online
    Buy Mind Trip Incense Online
    Buy Platinum XXX Herbal Incense online
    buy Orange Platinum Caution 10G
    Buy OMG HERBAL POTPOURRI 10G online

    ReplyDelete
  9. https://syntheticworldwide.com/
    sales@syntheticworldwide.com

    Buy cheap liquid herbal incense at your best online shop

    ReplyDelete
  10. Great articles and great layout. Your blog post deserves all of the positive feedback it’s been getting.
    zombie sticks uk

    ReplyDelete



  11. Our online store is one of the best in the supply of rare and high-grade (Mushrooms, Edibles. Psychedelics, and more)with absolute purity. All our products are tested to guarantee potency after production, during distribution and even storage. We ship globally in discreet and undetectable packaging using our network of trusted partners.
    psilosybin mushroom 2022, trusted magic mushroom site 2022,
    cheap liquid lsd, order cheap psychedelic mushroom,
    cheap magic mushroom, super quality shrooms,
    most potent psilocybin mushroom on the market,
    best microdosing mushrooms 2022, Golden teacher mushroom for sale,
    where to buy B+ magic mushroom, buy shrooms online ,
    buy psilocybin mushroom overnight shipping, effective microdosing for ptsd,
    buy mushroom truffles online cash on delivery, buy microdose capsules online 2021,
    magic mushrooms for mental illness for sale,
    buy mushies for anxiety/deppression and ptsd, cheap psilocybin mushroom, shrooms near me,
    where to buy psilocybin mushroom near me, cheap psychedelic mushroom for sale,
    buy caps/buttons cheap, best place to buy magic mushroom,
    buy cheap fungi mushrooms, cheap strong fungus, best quality spores for sale,
    buy mushroom grow kit online, buy fungi shrooms near me, cheapest magic mushrooms online,
    where to buy penis envy online, where to buy mexicanna online, buy microdose capsules online,
    best microdose capsule for sale,
    fungi mushroom for sale, best liquid cultures online, buy spores near me, buy Nirvana mushroom near me,
    buy pajaritos mushrooms near me, psychedelic mushroom near me, buy medicinal mushroom online,
    buy 5-MeO-DMT, buy dmt vape pen online, buy lsd tabs online, buy dmt online, where to buy dmt,
    lsd for sale, buy mushies near me, buy shrooms wholesale price, strong boomers for sale,
    Buy trippy shrooms online, buy penis envy, buy albino A+, buy amazonian cubensis,
    buy psilocybe cubensis, buy blue meanie, buy vietam cubensis, buy z strain shrooms,
    buy boomers cubensis online, buy cubensis buy golden teacher, buy liquid lsd online
    Our quality is the best you can find around and we sell in small/large quantities with guaranteed discreet delivery in good time Shipping




    website...https://megapsilocybin.com/
    call/text..+1(458) 201-6900
    email..sale@megapsilocybin.com

    ReplyDelete
  12. www.sharetipsinfo.com Sharetipsinfo offers live Intraday stock market tips, Share tips, , share market tips, commodity tips, stock tips for trading with 90% accuracy.

    ReplyDelete
  13. Establishing business reporting with SAP S/4HANA requires a structured approach that involves defining your reporting requirements, designing your reporting architecture, building your reports, validating your reports, establishing governance and security, and monitoring and optimizing your reports. By following these steps, you can leverage the powerful reporting and analytics capabilities of SAP S/4HANA to make informed decisions, drive growth, and achieve your business goals. For more information, visit SAP analytics cloud consulting @ 1-289-952-8845.

    ReplyDelete