Tuesday, July 31, 2012

linux: check cpu bit rate

to check if your cpu is 16 bit, 32 bit or 64 bit, run:

> grep flags /proc/cpuinfo 

lm flag means long mode cpu - 64 bit cpu
real mode 16 bit cpu
protected mode is 32-bit cpu

to check os bit rate installed, run:

> uname -a

x86 - 32 bit os
x86_64 - 64 bit os

No comments:

Post a Comment

SSH : No matching host key type found. Their offer: ssh-rsa,ssh-dss

Got this while connecting to my mikrotik router via ssh   Unable to negotiate with <ip address> port <ssh port>: no matching hos...