LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kill process (https://www.linuxquestions.org/questions/linux-newbie-8/kill-process-940014/)

ust 04-16-2012 05:01 AM

kill process
 
I use Redhat 4 system , in my server , I have run some process , gzip file , remove files and run some routine tasks .

It is strange that I use the command "du" to check the system available size , it seems there is space is "disappear" - the total system server size is 1T , the available size is 300G , but the used size is just 500G , that means 200G is disappear , the error happens when I gzip the files , but I use lsof , fuser can not find related process , I use ps -ef still can't find any related process , except reboot , how the space can be released ?

Thanks.

pan64 04-16-2012 05:26 AM

try fuser -m to find out the process id, and you will be able to kill it. Try also identify that process by ppid

chrism01 04-16-2012 06:17 PM

I believe gzip uses some temp space whilst its doing its job, but it should clean up after itself.
If it had an issue, it may not have cleaned up properly.

( FYI, RHEL4 is no longer supported by RH, unless you pay extra for Extended Update support: http://www.redhat.com/security/updates/errata/)

ust 04-16-2012 08:37 PM

Quote:

Originally Posted by pan64 (Post 4653915)
try fuser -m to find out the process id, and you will be able to kill it. Try also identify that process by ppid

tried to use fuser -m , the below is the output , can advise how to know what is such process ? how to kill it ? thx


c 347rc 354rc 357rc 384rc 416rce 1251rc 1640rce 1642rce 1656rce 1
659rce 1671rce 1693rce 1722rce 1756rce 1776rce 1787rce 1818rc 1860rce 1
881rce 1901rce 1920rce 1931rce 1936rce 1948rce 1962rce 1974rce 1999rce

chrism01 04-17-2012 12:03 AM

You may find 'fuser -v' more useful http://linux.die.net/man/1/fuser


All times are GMT -5. The time now is 07:06 PM.