[ https://issues.apache.org/jira/browse/SOLR-11179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16130055#comment-16130055 ]
Ramsey Haddad edited comment on SOLR-11179 at 8/17/17 7:43 AM: --------------------------------------------------------------- Here is a patch that incorporates some of your suggestions. * We don't build/run Solr on Windows. I'd be happy to include changes for {{solr.cmd}} by someone in a position to test them. * Yes, I have added a {{-o}} flag as suggested. . * Yes, with the new design, if no output file is specified via {{-o}}, then the output will now go to {{stdout}}. * Yes, the {{jstack}} needs to be run on the same box, as do many of the other commands, including the stars of this {{bin/solr}} script: {{start}} and {{stop}}. I'm pretty sure that if you have a suitable {{$\{JAVA_HOME\} }} for Solr, then {{jstack}} will be there in {{$\{JAVA_HOME\}/bin}}, * Yes, documentation added to Solr Ref Guide. was (Author: rwhaddad): Here is a patch that incorporates some of your suggestions. * We don't build/run Solr on Windows. I'd be happy to include changes for {{solr.cmd}} by someone in a position to test them. * Yes, I have added a {{-o}} flag as suggested. . * Yes, with the new design, if no output file is specified via {{-o}}, then the output will now go to {{stdout}}. * Yes, the {{jstack}} needs to be run on the same box, as do many of the other commands, including the stars of this {{bin/solr}} script: {{start}} and {{stop}}. I'm pretty sure that if you have a suitable {{$\{JAVA_HOME\}}} for Solr, then {{jstack}} will be there in {{$\{JAVA_HOME\}/bin}}, * Yes, documentation added to Solr Ref Guide. > Ability to dump jstack > ---------------------- > > Key: SOLR-11179 > URL: https://issues.apache.org/jira/browse/SOLR-11179 > Project: Solr > Issue Type: New Feature > Components: scripts and tools > Reporter: Ramsey Haddad > Priority: Minor > Attachments: SOLR-11179.patch, SOLR-11179.patch > > > Add a "jstack" command to the "bin/solr" script to ease capture of jstacks. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org