Do you want to list all open files for a #Linux or #UNIX process using command line options? Here is how you can show open files per process https://www.cyberciti.biz/faq/howto-linux-get-list-of-open-files/
Conversation
Notices
-
nixCraft 🐧 (nixcraft@mastodon.social)'s status on Sunday, 11-Feb-2024 06:18:38 JST nixCraft 🐧 -
nixCraft 🐧 (nixcraft@mastodon.social)'s status on Sunday, 11-Feb-2024 06:30:25 JST nixCraft 🐧 @yetzt yes. i have note about that too.
-
yetzt (yetzt@vis.social)'s status on Sunday, 11-Feb-2024 06:30:26 JST yetzt @nixCraft can't lsof do that?
-
nixCraft 🐧 (nixcraft@mastodon.social)'s status on Sunday, 11-Feb-2024 07:04:32 JST nixCraft 🐧 -
nyx (nyx@im-in.space)'s status on Sunday, 11-Feb-2024 07:04:34 JST nyx @nixCraft how about lsof?
In conversation permalink -
Darren Moffat (darrenmoffat@mastodon.social)'s status on Sunday, 11-Feb-2024 07:05:40 JST Darren Moffat @nixCraft on Solaris just use pfiles(1) on the pid - works for regular files, sockets (unix or inet), pipes, doors etc. It uses /proc for the info.
In conversation permalink
-