1843981 Members
1753 Online
110226 Solutions
New Discussion

AAA* Files in /tmp

 
SOLVED
Go to solution
Alexander Maldonado
Occasional Advisor

AAA* Files in /tmp

Hi,
somebody knows what is the possible cause the generation files whit format AAA* under /tmp on HP-UX 11.11

Thanks..!
6 REPLIES 6
Mel Burslan
Honored Contributor

Re: AAA* Files in /tmp

These files are not related to the operating system. One or more of the applications, running on this system might be generating the those files and not cleaning up after themselves properly.

I vaguely remember files with AAA or AAB prefixes in the past getting generated but can not remember which application was generating them. If you have a space problem on your /tmp, it should not be a big deal to remove those files as long as they are regular files, i.e., nothing like device files those were created in /tmp by some sloppy developer.
________________________________
UNIX because I majored in cryptology...
James R. Ferguson
Acclaimed Contributor
Solution

Re: AAA* Files in /tmp

Hi:

These are temporary files. You will have to examine their contents to ascertain from where they came.

If you look at the manpages for 'mktemp(1)', 'mktemp(3C)' and 'tmpnam(3S)' you will see that this assists an application in creating uniquely named temporary files. For example, in a shell you can do:

# NAME=`mktemp -p AAA`;echo "${NAME} being created";touch ${NAME}

Regards!

...JRF...
IT_2007
Honored Contributor

Re: AAA* Files in /tmp

just set up cron job to remove older than 20 days because /tmp is only used to keep temporary files.

57 23 * * * find /tmp /var/tmp -xdev -ctime +20 -type f -exec rm {} \;
Calandrello
Trusted Contributor

Re: AAA* Files in /tmp

Friend These archives are not generated by the S.O probably this being generated for some application.


Regards
Bill Hassell
Honored Contributor

Re: AAA* Files in /tmp

Look at the contents of several files. If they are plain ASCII files, the contents should help point to the process that created them. Most of the time, they are due to poor programming or scripting techniques (not removing temp files when complete), *OR* to bad sysadmin technique such as using kill -9.


Bill Hassell, sysadmin
florin_10
Frequent Advisor

Re: AAA* Files in /tmp

Those are application temp or scracth files.
I think that this type of file is generated by MQseries.

flg