|
From: Leif M. <le...@ta...> - 2003-08-17 08:10:33
|
Mike, Sorry it took me so long to spend the 5 minutes to do this. :-P This is something that I have wanted to do for while. The sh scripts will now be the default script for the Linux platform starting in 3.0.5. I will leave the src/bin/bash.script.in file in the distribution for the next couple releases to avoid breaking anyone's build. But unless anyone has any reason why it should be kept around I will get rid of it in a couple releases. All reference to the bash script will also be removed from the documentation in the 3.0.5 release. Cheers, Leif Mike Castle wrote: >I'd like to discuss doing away with the Linux specific script in favor of >the generic Unix one. > >I believe that all versions of ps available on Linux support the -p option >that the generic script uses. At least, I suspect that all versions since >RedHat 6.3 (since Sun builds java on RH 6.3, I believe that this is a >suitable base to use). > >The only problem is that ps often end up in different locations on >different Linux boxes. For instnace, on my box at home, there is a >/usr/bin/ps, but on the machines at work, it is only in /bin. > >I have been using the following patch to the generic wrapper for several >weeks now on a variety of Linux boxes. It essentially replaces the >hardcoded references of /usr/bin/ps with $PSEXE, which is detected similar >to how PIDOF is detected in the Linux script. If nothing else, it should >enhance the generic script a little, even if you don't drop the Linux >specific version. > >Comments? > > > |