บ้างครั้งก็ลืม ไม่ได้ใช้นานๆ
คำสั่งเช็คว่า sunos ที่เรากำลังจะใช้งานนี้เป็นแบบ 32-bit หรือ 64-bit
ง่ายๆ เลย
-bash-4.1$ isainfo options
option
-v : Prints detailed information about the other options
-b : Prints the number of bits in the address space of the native instruction set.
-n : Prints the name of the native instruction set used by portable applications supported by the current version of the OS.
-k : Prints the name of the instruction set or sets that are used by the OS kernel components such as device drivers and STREAMS modules. |
option
-v : Prints detailed information about the other options
-b : Prints the number of bits in the address space of the native instruction set.
-n : Prints the name of the native instruction set used by portable applications supported by the current version of the OS.
-k : Prints the name of the instruction set or sets that are used by the OS kernel components such as device drivers and STREAMS modules.
ตัวอย่าง 1
-bash-4.1$ isainfo -v
64-bit sparcv9 applications
crc32c cbcond pause mont mpmul sha512 sha256 sha1 md5 camellia kasumi
des aes ima hpc vis3 fmaf asi_blk_init vis2 vis popc
32-bit sparc applications
crc32c cbcond pause mont mpmul sha512 sha256 sha1 md5 camellia kasumi
des aes ima hpc vis3 fmaf asi_blk_init vis2 vis popc v8plus div32 mul32 |
-bash-4.1$ isainfo -v
64-bit sparcv9 applications
crc32c cbcond pause mont mpmul sha512 sha256 sha1 md5 camellia kasumi
des aes ima hpc vis3 fmaf asi_blk_init vis2 vis popc
32-bit sparc applications
crc32c cbcond pause mont mpmul sha512 sha256 sha1 md5 camellia kasumi
des aes ima hpc vis3 fmaf asi_blk_init vis2 vis popc v8plus div32 mul32
ตัวอย่าง 2
ตัวอย่าง 3
-bash-4.1$ isainfo
sparcv9 sparc |
-bash-4.1$ isainfo
sparcv9 sparc