3 ms·
lsof -p $(echo $$) The subshell isn't doing anything useful here, could just be: lsof -p $$
by Izkata 1y ago
lsof -p $(echo $$)
The subshell isn't doing anything useful here, could just be:
lsof -p $$
- zx8080 1y agoThis code has AI smell
- mattrighetti 1y agoOr writing blogs at 2AM is not a smart thing to do
- codedokode 1y agoThe problem with lsof is that it outputs lot of duplicates, for example: - it outputs memory-mapped files whose descriptor was closed (with "mem" type) - for multi-thread processes it repeats every file for every thread For example my system has 400 000 lines in lsof output and it is really difficult to figure out which of them count against the system-wide limit.