前提・実現したいこと
SSHに接続後、
sudo lsof -i -n -p
を実行したのですが、ポート番号が表示されません。
発生している問題・エラーメッセージ
lsof: no process ID specified lsof 4.82 latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man usage: [-?abhlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-f[gG]] [+|-e s] [-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s] [+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names] Use the ``-h'' option to get more help information.
試したこと
sudo lsof -i -n
のように -p をつけなかった場合は表示されました。
補足情報(FW/ツールのバージョンなど)
Amazon Web Service 基礎からのネットワーク&サーバー構築 改訂版
を参照しています。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。