🐧🧰 proc_deleted (Bash)

Bash command to list processes that have some deleted files, and to allow to kill them.

More precisely, takes list of /proc/*/fd/* with mention "(deleted)", filters it by patterns, extracts PIDs, and then displays the list and PIDs. Options allow to kill them.

Lists all /proc/*/fd/* with mention "(deleted)" and lists their PIDs:

Lists lines that match regular expressions tmp *and* #[0-5], and lists their PIDs:
$ tmp '#[0-5]'

# # #
Later posts Earlier posts

Ce site web utilise des cookies. Si vous continuez Γ  naviguer sur ce site Web, vous acceptez l'utilisation de cookies.