• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            posts - 18,  comments - 21,  trackbacks - 0

            好記性不如爛筆頭

            systat基本上是FreeBSD中最功能最多的系統(tǒng)監(jiān)視命令,顯示CPU、I/O、內(nèi)存、虛擬內(nèi)存、mbufs、磁盤IO、網(wǎng)絡(luò)狀態(tài)等信息等。

            命令:

            systat [-display] [refresh-interval]

            其中 display 為我們所要顯示的信息項目,我們也可以在進入 systat 后通過輸入“:display”變更顯示項目,refresh-interval 參數(shù)是需要多長時間采樣一次系統(tǒng)數(shù)據(jù)輸出到屏幕,單位是秒。

            實例:# systat -vmstat 1

            命令解釋:顯示CPU、I/O、內(nèi)存、虛擬內(nèi)存、mbufs、磁盤IO、網(wǎng)絡(luò)狀態(tài)等信息。信息采樣刷新時間為1秒。

            以下為可用的 display 參數(shù):

            pigs 顯示目前系統(tǒng)中使用 CPU 最多的行程名稱。如果所有行程的 CPU 使用量未滿 100%,則多出來的部份顯示為 IDLE。
            icmp 統(tǒng)計目前 ICMP 封包的進出情形。
            icmp6 顯示 IPv6 的 ICMP 封包進出情形。
            ip 顯示 IP 層的封包統(tǒng)計及 UDP 封包信息。
            ip6 和 IP 一樣,但只顯示 IPv6 的封包。
            tcp 顯示 TCP 的封包統(tǒng)計。
            iostat 顯示 I/O 狀況統(tǒng)計,并分類為各種模式顯示。
            swap 顯示目前各個儲存空間上的虛擬內(nèi)存的使用情形。
            mbufs 顯示 mbufs 被使用的狀態(tài)。
            vmstat 這是我們最常用的顯示模式,它顯示了最多的信息,包含 I/O、虛擬內(nèi)存、mbufs、網(wǎng)絡(luò)等信息。
            netstat 顯示網(wǎng)絡(luò)的使用情形。
            ifstat 顯示各個網(wǎng)絡(luò)適配卡的使用情形。

            ==================================================

            最快的FreeBSD升級辦法:

            The freebsd-update(8) utility supports binary upgrades of i386 and amd64 systems running earlier FreeBSD releases. Systems running 7.0-RELEASE, 7.1-RELEASE, 7.2-BETA, 7.2-RC1, or 7.2-RC2 can upgrade as follows:

            # freebsd-update upgrade -r 7.2-RELEASE

            During this process, FreeBSD Update may ask the user to help by merging some configuration files or by confirming that the automatically performed merging was done correctly.

            # freebsd-update install

            The system must be rebooted with the newly installed kernel before continuing.

            # shutdown -r now

            After rebooting, freebsd-update needs to be run again to install the new userland components, and the system needs to be rebooted again:

            # freebsd-update install
            # shutdown -r now

            Users of earlier FreeBSD releases (FreeBSD 6.x) can also use freebsd-update to upgrade to FreeBSD 7.2, but will be prompted to rebuild all third-party applications (e.g., anything installed from the ports tree) after the second invocation of "freebsd-update install", in order to handle differences in the system libraries between FreeBSD 6.x and FreeBSD 7.x.

            ==================================================

            添加用戶組:

            pw group add coder

            添加新用戶:

            adduser

            posted on 2009-10-12 13:01 大日如來 閱讀(331) 評論(0)  編輯 收藏 引用 所屬分類: 雜記

            <2009年10月>
            27282930123
            45678910
            11121314151617
            18192021222324
            25262728293031
            1234567

            常用鏈接

            留言簿(3)

            隨筆分類

            隨筆檔案

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            国产综合成人久久大片91| 久久香蕉一级毛片| 久久久精品人妻一区二区三区四| 久久久久亚洲精品天堂| 国产激情久久久久影院小草| 久久综合狠狠综合久久97色| 久久精品aⅴ无码中文字字幕重口| 久久99热只有频精品8| 久久久久一级精品亚洲国产成人综合AV区 | 大蕉久久伊人中文字幕| 久久天天婷婷五月俺也去| 国产成人精品久久一区二区三区| 久久精品18| 国产精品18久久久久久vr| 亚洲欧洲久久av| 国产视频久久| 久久精品国产亚洲欧美| 久久夜色精品国产噜噜麻豆| 狠狠色丁香婷婷久久综合| 精品久久久无码中文字幕天天| 99久久99久久精品免费看蜜桃| 国产偷久久久精品专区| 久久亚洲中文字幕精品一区| 人妻少妇精品久久| 久久影院久久香蕉国产线看观看| segui久久国产精品| 青青草国产成人久久91网| 九九99精品久久久久久| 久久er国产精品免费观看2| 99精品久久精品一区二区| 国产精品视频久久| 久久综合九色综合精品| 久久福利青草精品资源站| 精品久久久久久| 青青青青久久精品国产h| 日本精品久久久中文字幕| 99久久国产热无码精品免费| 777米奇久久最新地址| 岛国搬运www久久| 久久有码中文字幕| 久久天天躁夜夜躁狠狠躁2022 |