{"id":47,"date":"2007-11-20T09:54:35","date_gmt":"2007-11-20T01:54:35","guid":{"rendered":"http:\/\/www.sysadmindayph.com\/blog\/about-the-proc-and-xdev-parameter-for-find\/"},"modified":"2007-11-20T09:55:17","modified_gmt":"2007-11-20T01:55:17","slug":"about-the-proc-and-xdev-parameter-for-find","status":"publish","type":"post","link":"https:\/\/www.sysadmindayph.com\/blog\/about-the-proc-and-xdev-parameter-for-find\/","title":{"rendered":"About the \/proc and -xdev parameter for &#8216;find&#8217;"},"content":{"rendered":"<p>\/proc is a pseudo-filesystem used to access process information from the kernel. It doesn&#8217;t use any storage space and uses little memory. On Linux, you can sometimes make modifications to the running kernel by modifying &#8220;files&#8221; in \/proc.<\/p>\n<p>If \/ is full, run a command similar to the following to sort all files in the \/ file system by size:<\/p>\n<blockquote><p>find \/ -xdev -ls | sort -n -k 7<\/p><\/blockquote>\n<p>&#8220;-xdev&#8221; limits the find command to the root file system.<\/p>\n<p>This will only look for files found in the root and will not includes those partitions that are defined in \/etc\/vfstab | \/etc\/fstab file, those listed when `df -k` is executed:<\/p>\n<blockquote><p>\/dev\/md\/dsk\/d0       2058319 1016097  980473    51%    \/<br \/>\n\/dev\/md\/dsk\/d3       2058319 1801793  194777    91%    \/var<br \/>\netc .. etc..<\/p><\/blockquote>\n<p>Thanks Brandon!<\/p>\n<blockquote><\/blockquote>\n<p><em><a href=\"http:\/\/www.brandonhutchinson.com\/\">Brandon H<\/a>. &#8211;  Senior UNIX Systems Engineer for an application services provider in Minneapolis, MN.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\/proc is a pseudo-filesystem used to access process information from the kernel. It doesn&#8217;t use any storage space and uses little memory. On Linux, you can sometimes make modifications to the running kernel by modifying &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,8,3],"tags":[],"class_list":["post-47","post","type-post","status-publish","format-standard","hentry","category-commands","category-tips","category-unix"],"_links":{"self":[{"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts\/47","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/comments?post=47"}],"version-history":[{"count":0,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts\/47\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/media?parent=47"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/categories?post=47"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/tags?post=47"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}