看板 Linux 關於我們 聯絡資訊
sockstat是FreeBSD上很好用的看user, process, port對應關係的程式 Linux上個人覺得一直沒有一樣順手的程式, 現在有人把它porting到Debian上了~ http://packages.debian.org/sid/sockstat 要在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了 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 118.165.8.62