Output of uname
-a on my RHEL 5.4 machine is:
Linux <machine name> 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
Does it mean that hardware is 64 bit (going by perhaps first x86_64) and OS is also 64-bit going by last x86_64?
Also, what are these so many instances of x86_64?
Can I install 64-bit vm over 32-bit OS and vice versa?
may be a hack worth adding to the list. ( An off-topic: did you ever write any books on Unix ? I'd buy one ) )
– ジョージ Mar 20 '15 at 15:47getconf LONG_BIT
, looks likeinxi
lacks this particular test. – Michael Shigorin Oct 26 '19 at 21:02lsb-release -s
didn't work for me, it said: Command 'lsb-release' not found, did you mean: command 'lsb_release' from deb lsb-release. So I guess it should belsb_release -s
– tolache Dec 07 '20 at 08:52