1828083 Members
2837 Online
109974 Solutions
New Discussion

strange process

 
SOLVED
Go to solution
peterchu
Super Advisor

strange process

I found that the available size of /tmp become smaller , it seems there is a process is running and write sth to the harddisk , but I can't find it by use "top" function , could suggest how to find it ? thx.
7 REPLIES 7
peterchu
Super Advisor

Re: strange process

i tried to du -sk the /tmp , but the used size is the same ,

/dev/sda8 505605 479278 223 100% /tmp

I don't know why the space gone , could suggest what is wrong ? thx.
Kiyoshi Miyake
Frequent Advisor

Re: strange process

Hi,

try this command.

lsof /tmp

or

ls -l /proc/[1-9]*/fd/ | grep /tmp

thanks.
U.SivaKumar_2
Honored Contributor

Re: strange process

Hi,

#lsof /tmp | more

lsof output will give you processes using /tmp .

To find out the largest files in tmp.

#cd /tmp

#ls -l | sort -nr -k 4,4 | more

( in descending order )

regards,

U.SivaKumar.




Innovations are made when conventions are broken
peterchu
Super Advisor

Re: strange process

thx all ,

I just kill some of idle user , then the space used is normal now , but I still wonder why I can't find the strange process by top , how can I check what large process is running in the system ? thx
peterchu
Super Advisor

Re: strange process

I got it , all are fixed. thank you very much.
Steven E. Protter
Exalted Contributor

Re: strange process

peter, a process will not show up on top unless its using a lot of cpu resources.

top is for top users of cpu. It doesn't take a lot of cpu on a busy system to fill up a disk.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Fred Ruffet
Honored Contributor
Solution

Re: strange process

Hi !

as Steven said, top is for the most CPU consumating processes. For you problem, you should better use lsof to detect the process then use the ps command. if you detect that is your writer, then use
ps auxw | grep

Fred
--

"Reality is just a point of view." (P. K. D.)