2017年2月24日金曜日

ポート番号からプロセスを調べる。

・ポートからプロセス
# lsof -i tcp:80 -P
・プロセス
# lsof -c ssh
# lsof -p pid
・オープンしているファイル
# lsof /var/log/*

0 件のコメント:

コメントを投稿

python バージョン切り替え

# dnf install python3.9 # dnf install python3.11 # dnf install python3.12 # dnf install python3.13 # alternatives --install /usr/bin/python ...