operating system - How to get whether OS is 32 bit or 64 bit by UNIX command? -


how know bits of operating system? in advance.

in linux, answer such generic question using

uname -m 

or even:

getconf long_bit 

in c can use uname(2) system call.

in windows can use:

systeminfo | find /i "system type" 

or examine environment:

set | find "programfiles(x86)" 

(or getenv() in c)


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -