I am trying to write a generic script that runs on SLES8, SLES9, and SLES9x and was not convinced that s390x really was good enough to signify 64-bit. From everyone?s responses, it sounds like x marks the spot. I will use uname ?m. Thanks to everyone that responded.
Peter "Post, Mark K" <[EMAIL PROTECTED]> Sent by: Linux on 390 Port <LINUX-390@VM.MARIST.EDU> 08/16/2005 03:27 PM Please respond to Linux on 390 Port <LINUX-390@VM.MARIST.EDU> To LINUX-390@VM.MARIST.EDU cc Subject Re: Linux query command for 64-bit? As others have indicated, uname is typically used. Why don't you like that method? Or, perhaps a better question, what would make some other method a "better way" for your purposes? Mark Post -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Peter E. Abresch Jr. - at Pepco Sent: Tuesday, August 16, 2005 2:34 PM To: LINUX-390@VM.MARIST.EDU Subject: Linux query command for 64-bit? Is there a Linux command that will tell me that I am 64-bit? I guess I could issue a ?uname ?a? and look for the x in s390x but was hoping if there was a better way. Thanks. Peter ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 This Email message and any attachment may contain information that is proprietary, legally privileged, confidential and/or subject to copyright belonging to Pepco Holdings, Inc. or its affiliates ("PHI"). This Email is intended solely for the use of the person(s) to which it is addressed. If you are not an intended recipient, or the employee or agent responsible for delivery of this Email to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this Email is strictly prohibited. If you have received this message in error, please immediately notify the sender and permanently delete this Email and any copies. PHI policies expressly prohibit employees from making defamatory or offensive statements and infringing any copyright or any other legal right by Email communication. PHI will not accept any liability in respect of such communications. ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390