Last change
on this file since 31105 was 31105, checked in by davidb, 7 years ago |
Additional scripts to help with running solr locally out of /tmp area
|
-
Property svn:executable
set to
*
|
File size:
227 bytes
|
Rev | Line | |
---|
[31105] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | unique_hosts=`echo $SOLR_NODES | tr ' ' '\n' | sed 's/:.*$//' | sort | uniq`
|
---|
| 4 |
|
---|
| 5 | echo "Running 'du -hs' on all Solr shards"
|
---|
| 6 |
|
---|
| 7 | for solr_host in $unique_hosts ; do
|
---|
| 8 | ssh $solr_host du -hs /tmp/solr-ef/solr/*shard*;
|
---|
| 9 | done
|
---|
Note:
See
TracBrowser
for help on using the repository browser.