uname on various machines return very different things. For example:
uname option SunOS 4 CDC(SVR4-derivative)
____________________________________________________________
machine -m sun4m mips
node name -n darwin wombat (hostname)
release -r 4.1.3 2.1.1
system name -s SunOS wombat (Sun bug?)
OS version -v 5 RISCos (Sun ?)
The above options are pretty much common along with the -a option.
uname -p doesn't exist outside a SGI machine as far as I know.
Just some data points to help your algorithm.
--------------------------------------------------------------
| Robin K. Friedrich | friedric@rsoc.rockwell.com |
| Rockwell Space Operations | (713) 282-2974 |
| Houston, TX | |
--------------------------------------------------------------