1833841 Members
2216 Online
110063 Solutions
New Discussion

daemon files

 
eric stewart_2
Advisor

daemon files

I have noticed 4 files per minute being created and do not know from what. It is /var/tmp. Here are a few. Can any one tell me why ther are created and how to get rid of them. I am not an administrator but am nosey.
They are all -rw-------.
1 daemon other 0 Jan 11 14:26 baaa27825
1 daemon other 0 Jan 11 14:26 aaaa27823
1 daemon other 0 Jan 11 14:26 baaa27814
1 daemon other 0 Jan 11 14:26 aaaa27811

TIA
6 REPLIES 6
Jeff Machols
Esteemed Contributor

Re: daemon files

the best way to find out is do an fuser on the file. This will return the pid of the processes that is using the file (assuming it's still open). Normally that directory contain temporary cache files for vi, sort, etc..
Uday_S_Ankolekar
Honored Contributor

Re: daemon files

Hi,

It should be from your lan card.
do a file on those file.
file baaa*
if it gives you ascii output then you can do a more on that file
more filename

It should give you some idea about what it contains.

-USA..
Good Luck..
Helen French
Honored Contributor

Re: daemon files

Mark Greene_1
Honored Contributor

Re: daemon files

There are a few of those files on my system as well, but not being created continuously. They are just text files, the output is from the "ifconfig" command. Do "man ifconfig" for more info; caveat actor: this command can change certain system settings.

HTH
mark
the future will be a lot like now, only later
eric stewart_2
Advisor

Re: daemon files

Thanks but your suggestions may not work.
The files are all empty.
It looks like the pid number is part of the file name and the process that creates it is gone before I can see what it is.
So I did ps -aef over and over and found that they are created by sendmail. I now know the user and can look to see how he is using it.
Thanks.
Helen French
Honored Contributor

Re: daemon files

Hi,

I have files created by sendmail (0 bytes) in my server in the same directory. However, I used to clean these once in a while. The file name look like this - mailxAAAa26079.

Shiju
Life is a promise, fulfill it!