lsofはLinuxディストリビューションによってデフォルトでインストールされていたり、されていなかったりする。ただし ...
lsofコマンドの出力制御はオプションの指定でも可能だが、せっかくなので、本連載でこれまでに紹介してきたさまざまな便利コマンドを使って出力を加工する例を紹介したい。 まず、次のようなデフォルト出力があったとする。 % lsof COMMAND PID USER FD TYPE ...
(例) 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 を指定 一定間隔で実行 ...
Click for a PDF with this and four other essential Linux articles. And, if you’ve ever heard anyone say that for Unix, everything is a file, you might not be too surprised to learn that lsof works ...
いままではあまり使ったことのないコマンドだったのですが、最近知ったのでメモをしておきます。 lsofコマンドはファイルを特定のポート番号を待ち受けているかどうか、指定ファイルは誰が読み込んでいるのかを調べときに使ったりします。ですが本来 ...
Use the LiSt Open Files (LSOF) utility to track data flow related to ports, users, and applications. LiSt Open Files (LSOF) is a Linux utility that allows you to view current network connections and ...
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 ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する