[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Files in the /tmp dir.

Bob Proulx wrote:
> Sthu Deus wrote:
> > I have a bunch of such files:
> > -rw------- 1 root    root     0 2010-10-26 12:14 /tmp/tmp.VpjBPrFKtT
> > 
> > What can these be? From whence they come?
> > It seems they are created every minute after some period of days.
> That is the default template name from the 'mktemp' command.

Oh and I forgot I was going to say look in your crontabs for a command
that runs every minute.

  find /etc/cron* /var/spool/cron -type f -exec grep mktemp {} +

If the files are created every minute then I would suspect that there
is a task in one of those crontabs that is running every minute and is
behaving incorrectly.  If the task calls a script and the mktemp is in
that other script then of course the grep above won't find it.  But it
would be a good place to start.


Attachment: signature.asc
Description: Digital signature

Reply to: