Description:
# Shows whether the system is 64 bit capable and also shows
# whether the OS is running in either 32 or 64 bit mode.
#
hbit=`bootinfo -y`
rbit=`bootinfo -K`
echo;echo "Hardware: ${hbit} bits capable"
echo "Running: ${rbit} bits mode";echo
exit 0
No comments:
Post a Comment