{"id":2829,"date":"2020-02-29T21:00:17","date_gmt":"2020-02-29T15:30:17","guid":{"rendered":"https:\/\/www.24x7serversupport.com\/blog\/?p=2829"},"modified":"2020-02-29T21:04:30","modified_gmt":"2020-02-29T15:34:30","slug":"list-current-processes-writing-to-hard-drive","status":"publish","type":"post","link":"https:\/\/www.24x7serversupport.com\/blog\/list-current-processes-writing-to-hard-drive\/","title":{"rendered":"list current processes writing to hard drive"},"content":{"rendered":"\n<p>Command to find out current process writing to hard disk.<\/p>\n\n\n\n<p>lsof | grep -e &#8220;[[:digit:]]+w&#8221;<\/p>\n\n\n\n<p>It will show output like below<\/p>\n\n\n\n<p>root@:~ # lsof | grep -e &#8220;[[:digit:]]+w&#8221;                                                                                                                               [20:36:57]<br> systemd-j   410           root    1w      CHR                1,3       0t0       5342 \/dev\/null<br> systemd-j   410           root    2w      CHR                1,3       0t0       5342 \/dev\/null<br> systemd-j   410           root    6w      CHR               1,11       0t0       5348 \/dev\/kmsg<br> auditd      500           root    4w      REG              253,1   2613671   13129199 \/var\/log\/audit\/audit.log<br> auditd      500   508     root    4w      REG              253,1   2613671   13129199 \/var\/log\/audit\/audit.log<br> chronyd     574         chrony    1w      CHR                1,3       0t0       5342 \/dev\/null<br> gssproxy    577           root   10w     FIFO                0,9       0t0      15996 pipe<br> gssproxy    577   584     root   10w     FIFO                0,9       0t0      15996 pipe<br> gssproxy    577   585     root   10w     FIFO                0,9       0t0      15996 pipe<br> gssproxy    577   586     root   10w     FIFO                0,9       0t0      15996 pipe<br> gssproxy    577   587     root   10w     FIFO                0,9       0t0      15996 pipe<br> gssproxy    577   588     root   10w     FIFO                0,9       0t0      15996 pipe<br> tuned      1018           root    3w      REG              253,1     16221    8726875 \/var\/log\/tuned\/tuned.log<br> tuned      1018           root    9w      CHR              10,61       0t0       7884 \/dev\/cpu_dma_latency<br> tuned      1018           root   11w     FIFO                0,9       0t0      18638 pipe<br> gmain      1018  1495     root    3w      REG              253,1     16221    8726875 \/var\/log\/tuned\/tuned.log<br> gmain      1018  1495     root    9w      CHR              10,61       0t0       7884 \/dev\/cpu_dma_latency<br> gmain      1018  1495     root   11w     FIFO                0,9       0t0      18638 pipe<br> tuned      1018  1503     root    3w      REG              253,1     16221    8726875 \/var\/log\/tuned\/tuned.log<br> tuned      1018  1503     root    9w      CHR              10,61       0t0       7884 \/dev\/cpu_dma_latency<br> tuned      1018  1503     root   11w     FIFO                0,9       0t0      18638 pipe<br> tuned      1018  1715     root    3w      REG              253,1     16221    8726875 \/var\/log\/tuned\/tuned.log<br> tuned      1018  1715     root    9w      CHR              10,61       0t0       7884 \/dev\/cpu_dma_latency<br> tuned      1018  1715     root   11w     FIFO                0,9       0t0      18638 pipe<br> tuned      1018  1897     root    3w      REG              253,1     16221    8726875 \/var\/log\/tuned\/tuned.log<br> tuned      1018  1897     root    9w      CHR              10,61       0t0       7884 \/dev\/cpu_dma_latency<br> tuned      1018  1897     root   11w     FIFO                0,9       0t0      18638 pipe<br> httpd      2389         apache    2w      REG              253,1      4019   35502499 \/var\/log\/httpd\/error_log<br> httpd      2389         apache    6w     FIFO                0,9       0t0  157649015 pipe<br> httpd      2389         apache    7w      REG              253,1         0   33592998 \/var\/log\/httpd\/ssl_error_log<br> httpd      2389         apache    8w      REG              253,1    656688   35502491 \/var\/log\/httpd\/access_log<br> httpd      2389         apache    9w      REG              253,1         0   33593001 \/var\/log\/httpd\/ssl_access_log<br> httpd      2389         apache   10w      REG              253,1         0   33593002 \/var\/log\/httpd\/ssl_request_log<br> httpd      2389         apache   12w      REG               0,20         0  157649021 \/run\/httpd\/wsgi.14323.9.1.lock (deleted)<br> nagios     4017         nagios    1w      CHR                1,3       0t0       5342 \/dev\/null<br> nagios     4017         nagios    2w      CHR                1,3       0t0       5342 \/dev\/null<br> nagios     4017         nagios   12w      REG              253,1  65192826   46137437 \/usr\/local\/nagios\/var\/host-perfdata<br> nagios     4017         nagios   13w      REG              253,1         1   46216438 \/usr\/local\/nagios\/var\/service-perfdata<br> nagios     4019         nagios    1w      CHR                1,3       0t0       5342 \/dev\/null<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Command to find out current process writing to hard disk. lsof | grep -e &#8220;[[:digit:]]+w&#8221; It will show output like below root@:~ # lsof | grep -e &#8220;[[:digit:]]+w&#8221; [20:36:57] systemd-j 410 root 1w CHR 1,3 0t0 5342 \/dev\/null systemd-j 410 root 2w CHR 1,3 0t0 5342 \/dev\/null systemd-j 410 root 6w CHR 1,11 0t0 5348 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[1],"tags":[],"class_list":["post-2829","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>list current processes writing to hard drive | 24x7serversupport Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.24x7serversupport.com\/blog\/list-current-processes-writing-to-hard-drive\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"list current processes writing to hard drive | 24x7serversupport Blog\" \/>\n<meta property=\"og:description\" content=\"Command to find out current process writing to hard disk. lsof | grep -e &#8220;[[:digit:]]+w&#8221; It will show output like below root@:~ # lsof | grep -e &#8220;[[:digit:]]+w&#8221; [20:36:57] systemd-j 410 root 1w CHR 1,3 0t0 5342 \/dev\/null systemd-j 410 root 2w CHR 1,3 0t0 5342 \/dev\/null systemd-j 410 root 6w CHR 1,11 0t0 5348 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.24x7serversupport.com\/blog\/list-current-processes-writing-to-hard-drive\/\" \/>\n<meta property=\"og:site_name\" content=\"24x7serversupport Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-29T15:30:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-02-29T15:34:30+00:00\" \/>\n<meta name=\"author\" content=\"24x7support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:site\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"24x7support\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/list-current-processes-writing-to-hard-drive\/\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/list-current-processes-writing-to-hard-drive\/\",\"name\":\"list current processes writing to hard drive | 24x7serversupport Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\"},\"datePublished\":\"2020-02-29T15:30:17+00:00\",\"dateModified\":\"2020-02-29T15:34:30+00:00\",\"author\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/list-current-processes-writing-to-hard-drive\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.24x7serversupport.com\/blog\/list-current-processes-writing-to-hard-drive\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/list-current-processes-writing-to-hard-drive\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.24x7serversupport.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"list current processes writing to hard drive\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/\",\"name\":\"24x7serversupport Blog\",\"description\":\"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\",\"name\":\"24x7support\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"list current processes writing to hard drive | 24x7serversupport Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.24x7serversupport.com\/blog\/list-current-processes-writing-to-hard-drive\/","og_locale":"en_US","og_type":"article","og_title":"list current processes writing to hard drive | 24x7serversupport Blog","og_description":"Command to find out current process writing to hard disk. lsof | grep -e &#8220;[[:digit:]]+w&#8221; It will show output like below root@:~ # lsof | grep -e &#8220;[[:digit:]]+w&#8221; [20:36:57] systemd-j 410 root 1w CHR 1,3 0t0 5342 \/dev\/null systemd-j 410 root 2w CHR 1,3 0t0 5342 \/dev\/null systemd-j 410 root 6w CHR 1,11 0t0 5348 [&hellip;]","og_url":"https:\/\/www.24x7serversupport.com\/blog\/list-current-processes-writing-to-hard-drive\/","og_site_name":"24x7serversupport Blog","article_published_time":"2020-02-29T15:30:17+00:00","article_modified_time":"2020-02-29T15:34:30+00:00","author":"24x7support","twitter_card":"summary_large_image","twitter_creator":"@24x7serversuppo","twitter_site":"@24x7serversuppo","twitter_misc":{"Written by":"24x7support","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.24x7serversupport.com\/blog\/list-current-processes-writing-to-hard-drive\/","url":"https:\/\/www.24x7serversupport.com\/blog\/list-current-processes-writing-to-hard-drive\/","name":"list current processes writing to hard drive | 24x7serversupport Blog","isPartOf":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#website"},"datePublished":"2020-02-29T15:30:17+00:00","dateModified":"2020-02-29T15:34:30+00:00","author":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401"},"breadcrumb":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/list-current-processes-writing-to-hard-drive\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.24x7serversupport.com\/blog\/list-current-processes-writing-to-hard-drive\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.24x7serversupport.com\/blog\/list-current-processes-writing-to-hard-drive\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.24x7serversupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"list current processes writing to hard drive"}]},{"@type":"WebSite","@id":"https:\/\/www.24x7serversupport.com\/blog\/#website","url":"https:\/\/www.24x7serversupport.com\/blog\/","name":"24x7serversupport Blog","description":"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401","name":"24x7support","url":"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/2829","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/comments?post=2829"}],"version-history":[{"count":3,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/2829\/revisions"}],"predecessor-version":[{"id":2832,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/2829\/revisions\/2832"}],"wp:attachment":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/media?parent=2829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/categories?post=2829"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/tags?post=2829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}