亚洲欧美精品沙发,日韩在线精品视频,亚洲Av每日更新在线观看,亚洲国产另类一区在线5

<pre id="hdphd"></pre>

  • <div id="hdphd"><small id="hdphd"></small></div>
      學(xué)習(xí)啦>學(xué)習(xí)電腦>電腦知識(shí)大全>

      如何查看AIX的物理內(nèi)存大小

      時(shí)間: 曉斌668 分享

        想必大家也只會(huì)WIN操作系統(tǒng)的,那么你知道AIX怎么查看物理內(nèi)存大小嗎?下面就由學(xué)習(xí)啦小編為大家介紹下在AIX操作系統(tǒng)下查看物理內(nèi)存的方法,希望對(duì)你有幫助!

        AIX查看內(nèi)存使用率的方法

        AIX的內(nèi)存使用率查看可不能通過一般的topas與vmstat來進(jìn)行觀察。

        由于IBM的內(nèi)存管理很特別,先了解內(nèi)存分那幾中,特別注意文件型內(nèi)存的管理方式。

        可以通過svmon顯示的數(shù)據(jù)來進(jìn)行計(jì)算。

        vmstat -v 可以輸出內(nèi)存的一個(gè)現(xiàn)狀。其中的num perf,num client,free page,等等相關(guān)的數(shù)據(jù),都可以給aix當(dāng)前的內(nèi)存做一個(gè)概況的描述。

        netstat -v,跟vmstat -v有異曲同工之妙,可以輸出網(wǎng)卡的狀態(tài),在檢查網(wǎng)絡(luò)連接質(zhì)量是否有問題的時(shí)候可以參考相關(guān)輸出數(shù)據(jù)。

        其他有用的的還有iostat,lvmstat等,可以參考aix命令參考大全獲得相應(yīng)的幫助。

        查看AIX操作系統(tǒng)CPU的幾個(gè)命令

        如果系統(tǒng)是AIX5L

        #prtconf | more

        #lsconf

        #sar -u 1 10

        系統(tǒng)中有很多命令可以查看cpu的個(gè)數(shù),但是哪個(gè)命令輸出的是邏輯cpu個(gè)數(shù),哪個(gè)又是物理cpu個(gè)數(shù)呢?學(xué)習(xí)啦小編下面做一個(gè)簡單的介紹。 解答:

        從AIX5.3起,對(duì)于power5的機(jī)器,系統(tǒng)引入了SMT(Simultaneousmulti-threading)的功能,其允許兩個(gè)處理線程在同一顆處理器上運(yùn)行,對(duì)操作系統(tǒng)而言,一顆物理處理器邏輯上會(huì)成為兩個(gè)處理單元(邏輯處理器)。也就是說,在SMT功能啟用的情況下,邏輯cpu個(gè)數(shù)是物理cpu個(gè)數(shù)的兩倍,而在SMT功能禁用的情況下,邏輯cpu個(gè)數(shù)與物理cpu個(gè)數(shù)相等。

        通過各種命令檢查系統(tǒng)中的物理cpu和邏輯cpu的個(gè)數(shù)

        smtctl

        # smtctl

        This system is SMT capable.

        SMT is currently enabled.

        SMT boot mode is not set.

        SMT threads are bound to the same physical processor.

        proc0 has 2 SMT threads.

        Bind processor 0 is bound with proc0

        Bind processor 1 is bound with proc0

        proc2 has 2 SMT threads.

        Bind processor 2 is bound with proc2

        Bind processor 3 is bound with proc2

        proc4 has 2 SMT threads.

        Bind processor 4 is bound with proc4

        Bind processor 5 is bound with proc4

        proc6 has 2 SMT threads.

        Bind processor 6 is bound with proc6

        Bind processor 7 is bound with proc6

        可以看到,該系統(tǒng)具有SMT能力且當(dāng)前SMT功能已啟用。4個(gè)物理cpu對(duì)應(yīng)著8個(gè)邏輯cpu。

        bindprocessor

        # bindprocessor -q

        The available processors are: 0 1 2 3 4 5 6 7

        可以看到可用邏輯cpu個(gè)數(shù)是8個(gè)(0-7)。

        prtconf

        # prtconf

        System Model: IBM,9131-52A

        Machine Serial Number: 0677A5G

        Processor Type: PowerPC_POWER5

        Number Of Processors: 4 ==》物理cpu有4個(gè)

        Processor Clock Speed: 1648 MHz

        CPU Type: 64-bit

        Kernel Type: 64-bit

        LPAR Info: 1 06-77A5G

        lsdev

        # lsdev -Cc processor

        proc0 Available 00-00 Processor

        proc2 Available 00-02 Processor

        proc4 Available 00-04 Processor

        proc6 Available 00-06 Processor

        可以看到系統(tǒng)中有4個(gè)物理cpu。

        vmstat

        # vmstat

        System configuration: lcpu=8 mem=7936MB

        kthr memory page faults cpu

        ----- ----------- ------------------------ ------------ -----------

        r b avm fre re pi po fr sr cy in sy cs us sy id wa

        1 1 428238 41599 0 0 0 13 25 0 40 1639 182 0 0 99

        可以看到系統(tǒng)中有8個(gè)邏輯cpu。

        查看物理內(nèi)存大小

        使用命令# lsdev -Cc memory

        查看配置的物理內(nèi)存設(shè)備,下面為其輸出示例:

        mem0 Available 00-00 Memory

        L2cache0 Available 00-00 L2 Cache

        再使用命令# lsattr -El mem0

        輸出如下

        size 512 Total amount of physical memory in Mbytes False

        goodsize 512 Amount of usable physical memory in Mbytes False

        此例說明機(jī)器的物理內(nèi)存為512MB。如果前面lsdev的輸出中有設(shè)備名 mem1,則使用同樣的命令查看其對(duì)應(yīng)的大小并依此類推。


      猜你喜歡:

      1.linux系統(tǒng)怎么查看自己電腦的cpu位數(shù)

      2.系統(tǒng)物理內(nèi)存怎么看

      3.AIX怎么查看磁盤內(nèi)存空間

      4.aix如何計(jì)算cpu使用率

      5.怎么查看自己電腦的網(wǎng)速

      6.kindle如何查看內(nèi)存

      如何查看AIX的物理內(nèi)存大小

      想必大家也只會(huì)WIN操作系統(tǒng)的,那么你知道AIX怎么查看物理內(nèi)存大小嗎?下面就由學(xué)習(xí)啦小編為大家介紹下在AIX操作系統(tǒng)下查看物理內(nèi)存的方法,希望對(duì)你有幫助! AIX查看內(nèi)存使用率的方法 AIX的內(nèi)存使用率查看可不能通過一般的topas與vmstat
      推薦度:
      點(diǎn)擊下載文檔文檔為doc格式
      409033