{"id":3264,"date":"2022-08-17T13:23:49","date_gmt":"2022-08-17T04:23:49","guid":{"rendered":"https:\/\/blog.wsd.sh\/?p=3264"},"modified":"2022-08-17T16:20:18","modified_gmt":"2022-08-17T07:20:18","slug":"linux-%e5%ae%9f%e8%a1%8c%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e5%90%8d%e3%81%8b%e3%82%89file-io%e3%81%8c%e3%81%82%e3%82%8b%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92%e8%aa%bf%e3%81%b9%e3%82%8b","status":"publish","type":"post","link":"https:\/\/blog.wsd.sh\/?p=3264","title":{"rendered":"<small>linux :\u5b9f\u884c\u30b3\u30de\u30f3\u30c9\u540d\u304b\u3089file io\u304c\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u8abf\u3079\u308b<\/small>"},"content":{"rendered":"<p>1. \u4eca\u56de\u306e\u76ee\u7684<br \/>\npolygon\u3067data\u3092\u66f8\u304d\u8fbc\u3093\u3067\u3044\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u7279\u5b9a\u3059\u308b\u305f\u3081\u306b\u5b9f\u884c<\/p>\n<p>2.command<\/p>\n<pre>\r\n# find \/ -exec lsof {} \\;|grep heimdalld\r\nbash      117922           root  cwd    DIR   8,20     4096 1184275 \/root\/.heimdalld\/data\/state.db\r\nheimdalld 123990         user03  rtd    DIR   8,20     4096       2 \/\r\nheimdalld 123990         user03  mem    REG   8,20   103216 5247731 \/usr\/lib64\/libz.so.1.2.11\r\nheimdalld 123990         user03  mem    REG   8,20  4458040 5248241 \/usr\/lib64\/libcrypto.so.3.0.1\r\nheimdalld 123990         user03  mem    REG   8,20  2386744 5247650 \/usr\/lib64\/libc.so.6\r\nheimdalld 123990         user03  mem    REG   8,20   918024 5247646 \/usr\/lib64\/ld-linux-x86-64.so.2\r\nfind      124166           root  cwd    DIR   8,20     4096 1184275 \/root\/.heimdalld\/data\/state.db\r\nfind      124166           root    3r   DIR   8,20     4096 1184275 \/root\/.heimdalld\/data\/state.db\r\ngrep      124167           root  cwd    DIR   8,20     4096 1184275 \/root\/.heimdalld\/data\/state.db\r\nlsof      124168           root  cwd    DIR   8,20     4096 1184275 \/root\/.heimdalld\/data\/state.db\r\nlsof      124169           root  cwd    DIR   8,20     4096 1184275 \/root\/.heimdalld\/data\/state.db\r\n^C\r\n<\/pre>\n<p>3. \u7d50\u679c<br \/>\n\/root\/.heimdalld\/data\/\u306bdata\u3092\u66f8\u304d\u8fbc\u3093\u3067\u3044\u308b\u306e\u304c\u5206\u304b\u308b<br \/>\nroot \u914d\u4e0b\u3067\u306fdisk\u304c\u8db3\u308a\u306a\u3044\u306e\u3067\u3001heimdalld\u3092\/home\/userXX \u306b\u79fb\u52d5<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u4eca\u56de\u306e\u76ee\u7684 polygon\u3067data\u3092\u66f8\u304d\u8fbc\u3093\u3067\u3044\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u7279\u5b9a\u3059\u308b\u305f\u3081\u306b\u5b9f\u884c 2.command # find \/ -exec lsof {} \\;|grep heimdalld bash 117922 r&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts\/3264"}],"collection":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3264"}],"version-history":[{"count":9,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts\/3264\/revisions"}],"predecessor-version":[{"id":3286,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts\/3264\/revisions\/3286"}],"wp:attachment":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}