<p>If you think you may have contention for a filesystem, lv, or volume; you can use filemon to pinpoint the problem:</p>{"id":71,"date":"2009-06-18T13:23:07","date_gmt":"2009-06-18T17:23:07","guid":{"rendered":"http:\/\/patrickv.info\/wordpress\/?p=34"},"modified":"2009-06-18T13:23:07","modified_gmt":"2009-06-18T17:23:07","slug":"finding-busy-files-lvs-or-pvs","status":"publish","type":"post","link":"https:\/\/rootuser.ninja\/index.php\/2009\/06\/18\/finding-busy-files-lvs-or-pvs\/","title":{"rendered":"Finding busy files, LVs, or PVs"},"content":{"rendered":"<p>If you think you may have contention for a filesystem, lv, or volume; you can use filemon to pinpoint the problem:<br \/>\n<!--more--><\/p>\n<pre><code>filemon -O <em>capture_type<\/em> -o <em>output_file<\/em> -T <em>buffer_size<\/em><\/code><\/pre>\n<p>Filemon can capture information on several levels. Valid capture types are:<\/p>\n<ul>\n<li>&#8220;lf&#8221; &#8211; Logical file\n<li>&#8220;vm&#8221; &#8211; Virtual Memory\n<li>&#8220;lv&#8221; &#8211; Logical Volume\n<li>&#8220;pv&#8221; &#8211; Physical Volume\n<\/ul>\n<p>The filemon process will run in the background. After a period of time, sometimes you only have to wait a few minutes, run the command &#8220;trcstop&#8221; to stop the filemon process. The report will be in the output file specified on the command line.<\/p>\n<pre><code>filemon -O lv -o \/tmp\/filemon.out -T 500000; sleep 300; trcstop<\/code><\/pre><\/li><\/li><\/li><\/li>","protected":false},"excerpt":{"rendered":null,"protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,1],"tags":[],"class_list":["post-71","post","type-post","status-publish","format-standard","hentry","category-aix-notes","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts\/71","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/comments?post=71"}],"version-history":[{"count":0,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/posts\/71\/revisions"}],"wp:attachment":[{"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/media?parent=71"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/categories?post=71"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rootuser.ninja\/index.php\/wp-json\/wp\/v2\/tags?post=71"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}