mount -l
顯示正在存取 /var 的程序
fuser -m /var
/var: 1rce 2rc 3rc 4rc 5rc 6rc 7rc 50rc 51rc 52rc 111rc 112rc 115rc 117rc 128rc 143rc 196rc 363rc 391rc 392rc 403rc 406rc 433rc 467rce 891rc 1242rc 1266rc 1347rce 1757rce 1796rce 1797rce 1888rce 1891rce 1923rce 1948rce 1976rce 1991rce 2021rce 2036rce 2054rce 2121rce 2157rce 2197rce 2235rce 2294rce 2305rce 2312rce 2328rce 2353rce 2400rce 2407rce 2484rce 2485rce 2498rce 2536rce 2541rce 2549rce 2571rce 2589rce 3098rce 3099rce 3754rce 3756rce 3784rce 4060rce 4646rc 5082rce 5084rce 5134rce 5135rce 5136rce 5137rce 5138rce 5139rce 5140rce 5141rce 5142rce 5143rce 5144rce 5145rce 5146rce 5147rce 5148rce 8903rce 8906rce 8922rce 8923rce 8924rce 8925rce 8926rce 9388rce 9389rce 9390rce 9391rce 9647rce 9648rce 9702rce 9739rce 9776rce 9813rce 11879rce 13531rce 13599rc 14718rce 14720rce 14760rce 14761rce 14762rce 14763rce 14764rce 14766rce 14767rce
fuser -vm /var
USER PID ACCESS COMMAND
/var: root 1 .rce. init
root 2 .rc.. kthreadd
root 3 .rc.. migration/0
root 4 .rc.. ksoftirqd/0
root 5 .rc.. watchdog/0
root 6 .rc.. events/0
root 7 .rc.. khelper
root 50 .rc.. kblockd/0
root 51 .rc.. kacpid
root 52 .rc.. kacpi_notify
root 111 .rc.. cqueue/0
root 112 .rc.. ksuspend_usbd
root 115 .rc.. khubd
root 117 .rc.. kseriod
root 128 .rc.. khpsbpkt
root 143 .rc.. kswapd0
root 196 .rc.. aio/0
root 363 .rc.. kpsmoused
刪除正在存取 /var 的程序
fuser -km /var
ref: http://pinker.vicp.net/?p=80
ref: http://www.linux286.com/index.php/action_viewthread_tid_15152.html
added -2008/05/18
查出 tcp 的 80 port 的 process id
fuser 80/tcp
80/tcp: 3840 3841 4035 4061 4065 4066 30527 30538 30539 30541 30544 30577 30579 30599 30601 30615 30619 30620 30623 30625 30627 32696
留言