Re: [心得] 在ubuntu上使用sockstat

看板Linux作者時間17年前 (2009/02/25 10:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
※ 引述《heeroy.bbs@ptt.cc (Try Again)》之銘言: > sockstat是FreeBSD上很好用的看user, process, port對應關係的程式 > Linux上個人覺得一直沒有一樣順手的程式, > 現在有人把它porting到Debian上了~ > http://packages.debian.org/sid/sockstat 這個好用 剛剛裝起來 雖然說我 libc6 版本較低 不過還是照用 謝啦 > 要在ubuntu裝請這樣做: > 1. 把debian的sources加到/etc/apt/sources.list > 2. sudo apt-get update > 會出現error msg, 說沒有某一串GPG key <- 把這一串記下來(這裡用$KEY代表) > 3. gpg --keyserver keyserver.ubuntu.com --recv-key $KEY > 4. gpg --export --armor $KEY > $KeyFile.gpg > 5. sudo apt-key add $KeyFile.gpg > 6. sudo apt-get update > 7. sudo apt-get install -t unstable sockstat > 之後就可以使用sockstat了 -- ※ Origin: SayYA 資訊站 <bbs.sayya.org> ◆ From: 122-116-15-111.hinet-ip.hinet.net
文章代碼(AID): #19fAsZ00 (Linux)
文章代碼(AID): #19fAsZ00 (Linux)