Re: [心得] 在ubuntu上使用sockstat
※ 引述《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
討論串 (同標題文章)
完整討論串 (本文為第 2 之 2 篇):
Linux 近期熱門文章
21
56
PTT數位生活區 即時熱門文章