{"id":3972,"date":"2016-12-02T17:57:01","date_gmt":"2016-12-02T15:57:01","guid":{"rendered":"https:\/\/adrhc.go.ro\/wordpress\/?p=3972"},"modified":"2017-05-10T22:42:52","modified_gmt":"2017-05-10T20:42:52","slug":"lsof","status":"publish","type":"post","link":"https:\/\/adrhc.go.ro\/blog\/lsof\/","title":{"rendered":"lsof"},"content":{"rendered":"<pre>\r\nWhat files are open?                       lsof\r\nWhat process has a particular file open?   lsof \/path\/to\/the\/file\r\nWhat files in some directory are open?     lsof +D \/path\/to\/the\/dir\r\nWhat files does some user have open?       lsof -u username\r\nWhat files do a group of users have open?  lsof -u user1,user2\r\nWhat files are open by process name?       lsof -c procname\r\nWhat files are open by PID?                lsof -p 123\r\nWhat files are open by other PIDs?         lsof -p ^123\r\nShow network activity                      lsof -i\r\nWhat files are open by port?               lsof -i :25\r\n                                           lsof -i :smtp\r\nList PIDs                                  lsof -t\r\nShow network activity for a user           lsof -a -u username -i\r\nShow socket use                            lsof -U\r\nShow NFS activity                          lsof -N\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>What files are open? lsof What process has a particular file open? lsof \/path\/to\/the\/file What files in some directory are open? lsof +D \/path\/to\/the\/dir What files does some user have open? lsof -u username What files do a group of [&hellip;]<\/p>\n<div class=\"link-more\"><a href=\"https:\/\/adrhc.go.ro\/blog\/lsof\/#more-3972\" class=\"more-link\">Continue reading &#10142; <span class=\"screen-reader-text\">lsof<\/span><\/a><\/div>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,11],"tags":[83],"class_list":["post-3972","post","type-post","status-publish","format-standard","hentry","category-commands","category-linux","tag-lsof"],"_links":{"self":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts\/3972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/comments?post=3972"}],"version-history":[{"count":0,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts\/3972\/revisions"}],"wp:attachment":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/media?parent=3972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/categories?post=3972"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/tags?post=3972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}