Uwe Reh created SOLR-8031:
-----------------------------

             Summary: /bin/solr on Solaris and clones (two sub issues)
                 Key: SOLR-8031
                 URL: https://issues.apache.org/jira/browse/SOLR-8031
             Project: Solr
          Issue Type: Improvement
          Components: scripts and tools
    Affects Versions: 5.3, 5.2.1
         Environment: Solaris 5.10, OmniOs
            Reporter: Uwe Reh
            Priority: Minor


1.) The default implementation fo 'ps' in Solaris can't handle "ps auxww".
Fortunatly you can call "/use/ucb/bin/ps auxww" instead. Maybe one can add 
something like ...
> PS=ps
> if [ "${THIS_OS}" == "SunOS" ]; then
>   PS=/usr/ucb/ps
> fi
and replace all "ps aux" with "$PS aux" 

2.) Some implementations of 'sleep' support integers only. The function 
'spinner()' is using 0.5 as parameter. A delay of one second does not look that 
nice, but would be more portable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to