|
From: | Chris Albertson |
Subject: | Re: A way to determine Architecture? |
Date: | Thu, 22 May 2003 08:28:50 -0700 |
User-agent: | Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.1b) Gecko/20020815 |
Jose Roman Bilbao wrote:
Hi, I am looking for a way to query the system about its own architecture. I just need some way to know if it is a LINUX, LINUX-ALPHA or something similar. I have not been ablo to find it out on the web or autoconf mailing list. Thanks.
Try the command uname -a On my Solaris 9/Intel system is goes like this wi792:~>uname -a SunOS wi792 5.9 on81-feature-patch:11/23/2002 i86pc i386 i86pc wi792:~> You would have to then scan the output from uname. I _think_ uname is somewhat portable
[Prev in Thread] | Current Thread | [Next in Thread] |