[comp.unix.aix] /tmp in AIX 3.1 on RS6000/530

ghe@physics.orst.edu (Guangliang He) (03/27/91)

I am new to AIX. There are certain files (directories) in /tmp which I
don't know what for. Such as .SRC-unix, .X11-unix, .gP, phase2.out,
rc.net.out, *.pag, aixfile, inu_list.new, ....  They are there since
day one. Can I remove them? Since they are in /tmp, I tend to think
they are temparary, un-important. I would like to clean up the /tmp
once a while so it won't get filled up. Anyone has any idea?

Thanks in advance. 

Guangliang He
ghe@physics.orst.edu

sanders@peyote.cactus.org (Tony Sanders) (03/27/91)

In article <1991Mar27.003746.28893@lynx.CS.ORST.EDU> ghe@physics.orst.edu writes:
>I am new to AIX. There are certain files (directories) in /tmp which I
>don't know what for. Such as .SRC-unix, .X11-unix, .gP, phase2.out,
>rc.net.out, *.pag, aixfile, inu_list.new, ....  They are there since
>day one. Can I remove them? Since they are in /tmp, I tend to think
>they are temparary, un-important. I would like to clean up the /tmp
>once a while so it won't get filled up. Anyone has any idea?

.SRC-unix is for the srcmstr program (deals with system daemons mostly).
.X11-unix is where X saves the unix domain socket for "DISPLAY=unix:0"
I don't recommend removing them.  .SRC-unix is AIX specific but .X11-unix
is pretty standard for any unix system running X.

I think aixfile is created by X windows.  It contains various
messages about looking for graphics adapters.  Not important.

The *.out files are created everytime you boot.  They exist in case you
get errors so you can look at them and maybe help you figure out the
problem.  You can delete them if you want, it doesn't seem worth
while.

inu_list.new is used by the install/update stuff.  As long as you aren't
installing or updating you can remove it.  Again it doesn't seem worth while.

.gP dunno 'bout this one.

*.pag sounds like X-station files, if your system servers x-stations I
wouldn't delete them.

For cleaning up /tmp you can use the find command combined with the
-atime, -mtime, and -ctime flags you help you figure out which files
are active.

-- sanders@peyote.cactus.org
I am not an IBM representative, I speak only for myself.

hubler@galaxy.lerc.nasa.gov (Dale Hubler) (03/29/91)

In article <6166@awdprime.UUCP> Tony Sanders <sanders@peyote.cactus.org> writes:
>In article <1991Mar27.003746.28893@lynx.CS.ORST.EDU> ghe@physics.orst.edu writes:
>>I am new to AIX. There are certain files (directories) in /tmp which I
>
>
>.gP dunno 'bout this one.
>
The .gP entry results from the use of graPHIGS
(thought I'd toss in my 2 cents :^)
>
>-- sanders@peyote.cactus.org


--
Dale A. Hubler  --  Sverdrup Technology  --  (216) 977-7014     
                                             hubler@galaxy.lerc.nasa.gov
Try Eggo brand Common Sense Oat Bran frozen waffles, it's the health
food of the 90's

graeme@ccu1.aukuni.ac.nz (Graeme Moffat) (04/05/91)

sanders@peyote.cactus.org (Tony Sanders) writes:
>For cleaning up /tmp you can use the find command combined with the
>-atime, -mtime, and -ctime flags you help you figure out which files
>are active.

Check the script /etc/skulker, which does exactly this.
/usr/spool/cron/crontabs/root contains a commented-out entry for skulker.

-- 
Graeme Moffat                g.moffat@aukuni.ac.nz \ Time wastes us all, 
Computer Aided Design Centre,  Fax: +64-9-366-0702 /  our bodies & our wits
School of Engineering,    Ph: +64-9-737-999 x8384 /  But we waste time,
University of Auckland, Private Bag, Auckland, NZ \   so time & we are quits