---
title: "在linux系统中查看cpu位数"
author: "wujun8"
date: "2012-06-28T10:12:00Z"
tags: []
slug: "linux-cpu"
draft: false
lastmod: "2014-07-12T18:01:34Z"
id: 2091072
url: "https://wujun8.iteye.com/blog/2091072"
---

32位如下

getconf LONG\_BIT

32  
getconf WORD\_BIT  
32

64位如下

getconf LONG\_BIT

64  
getconf WORD\_BIT  
32