LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-16-2012, 05:01 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
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.
 
Old 04-16-2012, 05:26 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,039

Rep: Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347
try fuser -m to find out the process id, and you will be able to kill it. Try also identify that process by ppid
 
Old 04-16-2012, 06:17 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,369

Rep: Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753
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/)
 
Old 04-16-2012, 08:37 PM   #4
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by pan64 View Post
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
 
Old 04-17-2012, 12:03 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,369

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kill a zombie process - which process is the parent that I should kill? Mountain Linux - General 3 12-31-2011 02:44 PM
how to kill or clean a Uninterruptible slept session leader process from process tabl golden_boy615 Linux - General 1 12-14-2010 10:47 AM
bash `kill`: process 'B' silently dies; but process 'A' = `kill` spews back debris! GrapefruiTgirl Programming 9 06-23-2009 09:42 AM
How to get the PID of the process giving kill signal to a process? hariprd Programming 2 11-27-2008 03:10 AM
Shell Script : Kill a running process when another process starts ashmew2 Linux - General 3 08-20-2008 03:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration