2

I have a machine on my network that I can only access through ssh, and I want to see if it'll support a 64-bit OS (currently running linux, but I don't know which). Any ideas how to accomplish this through terminal command/s? thanks.

sa125
  • 325
  • 1
  • 7
  • 14

3 Answers3

8

If you want to see the "bitnes" of the OS installed you can run this command.

$ uname -m

Regarding the actual capabilities of the processor you can always look the model up inside /proc.

$ cat /proc/cpuinfo

andol
  • 6,938
  • 29
  • 43
7

cat /proc/cpuinfo

look for the 'lm' flag, it means 'long-mode' i.e. 64-bit capable.

Chopper3
  • 101,299
  • 9
  • 108
  • 239
1

egrep '(vmx|svm)' --color=always /proc/cpuinfo

Rajat
  • 3,349
  • 22
  • 29