delorie.com/archives/browse.cgi | search |
At 23:51 10/18/00 -0400, Christopher Faylor wrote: >If you are aware of an existing ps implementation that does this, >though, I wouldn't mind a patch to have ps emulate it. The ps code is >really pretty simple so it should not be hard to modify. there are none. any new format I came up with would be unique, and I'd have to hope the others would adopt it... some would (justifably) tell me to use their format specifier... but that just leads back to the same path because the format specifier isn't spec'd and so they all use subtly different options. I spent almost a month trying to port a really great script called top10vms so that it would run under: cygwin, aix, solaris, hp/ux, reliant, and linux. I eventually gave up even trying to get it to *work* on reliant and hp/ux, and the others were eventually done with the equivalent of #ifdefs. The net that I learned is that some platforms have RUN OUT of option letters for ps. The day I learned ps -a, ps -A, ps a, and ps A are all legal and completely different on the same box with the same binary is the day I lost it. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |