隨筆 - 53, 文章 - 0, 評論 - 3, 引用 - 0
          數據加載中……

          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) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 分宜县| 韩城市| 五原县| 中山市| 湖南省| 枣强县| 周宁县| 揭阳市| 嫩江县| 兴化市| 无为县| 涟源市| 龙口市| 全南县| 大安市| 涞水县| 大港区| 黎城县| 九台市| 渭南市| 靖西县| 余江县| 台南市| 洛隆县| 涡阳县| 沧源| 南康市| 定安县| 手游| 四子王旗| 安阳市| 子长县| 惠东县| 达日县| 海林市| 招远市| 金溪县| 仙桃市| 镇坪县| 丹寨县| 定结县|