lsofコマンドの出力制御はオプションの指定でも可能だが、せっかくなので、本連載でこれまでに紹介してきたさまざまな便利コマンドを使って出力を加工する例を紹介したい。 まず、次のようなデフォルト出力があったとする。 % lsof COMMAND PID USER FD TYPE ...
lsofはLinuxディストリビューションによってデフォルトでインストールされていたり、されていなかったりする。ただし ...
(例) lsof -i:80 複数のポート番号を指定 (例) lsof -i:80,8080 プロトコルを指定 lsof -i <プロトコル> (例) lsof -i tcp 複数の検索条件を指定(OR条件) (例) lsof -u root -c java 複数の検索条件を指定(AND条件) (例) lsof -u root -c java -a 末尾に -a を指定 一定間隔で実行 ...
One command revealed a side of my system I never knew existed.
lsofコマンドはプロセスを調査するときに非常に役立つコマンドです。 出力結果が表示されていない場合にはsudoで実行され ...
Click for a PDF containing this and four other essential Linux articles. Both of the aliases below will list whatever files are open on your behalf when you are logged in. I suspect that few sysadmins ...
Happy hangover Monday everyone! To soothe those post-big-game blues, here's this week's man page -- lsof, the LiSt Open Files tool. If you're trying to figure out why a removable drive won't unmount ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する