[ 
https://issues.apache.org/jira/browse/SOLR-8031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15622007#comment-15622007
 ] 

Jan Høydahl commented on SOLR-8031:
-----------------------------------

[~uwe reh] : Is /usr/ucb/ps something that comes with Solaris as default? If 
yes, since which version?
And the sleep command, do you know since which Solaris version it ships with a 
sleep cmd supporting floats?
I don't have access to a Solaris system, so it would be best if you could 
supply a (tested) patch to this issue, or open a GitHub pull request, see 
http://wiki.apache.org/solr/HowToContribute

> /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.2.1, 5.3
>         Environment: Solaris 5.10, OmniOs
>            Reporter: Uwe Reh
>            Priority: Minor
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 1.) The default implementation fo 'ps' in Solaris can't handle "ps auxww".
> Fortunatly you can call "/use/ucb/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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to