隨筆 - 53, 文章 - 0, 評(píng)論 - 3, 引用 - 0
          數(shù)據(jù)加載中……

          One Interesting Usage of PS command.

           ps -H -A
          can show the relationship between all the processes in a tree format. it is helpful when you want to research the internals of UNIX.
           
           init
             keventd
             ksoftirqd/0
             bdflush
             kswapd   
           
          we can see from the above that all the process are the children of init (directly or indirectly). especially the kernel thread are also the children of init process.
          process 0 is special, it is not displayed.

          From the following:
            sshd
              sshd
                sshd
                  bash
                    vim
                      cscope
              sshd
                sshd
                  bash
                    ps
           we can see that how ssh works. actually I have created two ssh session to the server.
           

          posted on 2008-07-28 15:51 InPractice 閱讀(126) 評(píng)論(0)  編輯  收藏


          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 峡江县| 农安县| 博兴县| 永川市| 岳池县| 武冈市| 荔波县| 象山县| 贵州省| 屏东县| 莎车县| 临泉县| 万宁市| 儋州市| 小金县| 汶川县| 东兰县| 南阳市| 章丘市| 甘南县| 陵水| 江口县| 长泰县| 万全县| 昌黎县| 花莲市| 电白县| SHOW| 思茅市| 调兵山市| 林芝县| 农安县| 天门市| 南投市| 成武县| 色达县| 河间市| 瑞昌市| 潜江市| 寿光市| 上蔡县|