What is the default temp dir for UNIX AIX 5.3 and cleanup guide.


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers What is the default temp dir for UNIX AIX 5.3 and cleanup guide.
# 1  
Old 01-28-2009
What is the default temp dir for UNIX AIX 5.3 and cleanup guide.

Hi,
I'm new with UNIX. In fact I'm just an Oracle Apps programmer runs and maintaining the system in UNIX platform. I've got this question, what is the UNIX AIX 5.3 default temp directory. Is it /tmp or /var/tmp.

Additional to that I was noted that OS also created temp/swap files in this directory. If I am to cleanup the tmp files created by programs i.e oracle's, let say a week old, will it affected the OS performance or any other OS related files such as print spools or anything like that?

Thanks
# 2  
Old 01-28-2009
Quote:
Originally Posted by Alikuching
Hi,
I'm new with UNIX. In fact I'm just an Oracle Apps programmer runs and maintaining the system in UNIX platform. I've got this question, what is the UNIX AIX 5.3 default temp directory. Is it /tmp or /var/tmp.
/tmp is a directory for programs and sometimes users to put files in if there isn't some other place for them to go. I tend to put some of my scripts in it. I wouldn't delete anything from it unless you put it there and it isn't being used by some application or process.

As far as /var/tmp goes you need to understand what var is used for...in a very low level general sense of speaking it's where "various" system, application and hardware files are stored...especially those items that may be specifically created to run on the AIX system.
Again, don't delete anything unless you're sure it can be deleted without causing a problem.


Quote:
Originally Posted by Alikuching
If I am to cleanup the tmp files created by programs i.e oracle's, let say a week old, will it affected the OS performance or any other OS related files such as print spools or anything like that?
If you clean out the right files in the proper manner...you won't affect anything other than drive space. Make a mistake and something might not run properly.

The oracle files you're wanting to clean up are probably under /oracle/home. Are you having a problem with space on a volume or something? Look for large log files that could be cleaned out...(not deleted)...using a cron job over night. Look for old oracle dev files that aren't being used any longer.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Assign read write permission to the user for specific dir and it's sub dir and files in AIX

I have searched this quite a long time but couldn't find the right method for me to use. I need to assign read write permission to the user for specific directories and it's sub directories and files. I do not want to use ACL. I do not want to assign user the same group of that directories too.... (0 Replies)
Discussion started by: blinkingdan
0 Replies

2. Shell Programming and Scripting

UNIX script for cleanup

Hello, I need some help from unix guru's here..I am looking for some advanced level script to cleanup the directories and files from specific directories under a file system.. The folders are created under /opt/modules And under modules, there are multiple subfolders with the application... (6 Replies)
Discussion started by: mb525
6 Replies

3. AIX

Simple AWK cleanup/questions AIX

I have an unfortunate need to redo a bunch of disk settings on a VIOS on AIX, so I was putting together a quick script to scrub everything it has, make the changes, and then put the mappings back. It works, I just am trying to get my awk a bit more up-to-snuff and wanted to know the proper way to... (2 Replies)
Discussion started by: Vryali
2 Replies

4. AIX

AIX 101 : Sys Admin Pocket Survival Guide

HOW-TO AIX Admin 101 Sys Admin Pocket Survival Guide - AIX Worth checking it out and printing it. (1 Reply)
Discussion started by: filosophizer
1 Replies

5. Solaris

temp dir

Hello everyone, I need to install a large program,it makes error change directory to another ,can anyone tell me how? Respectfully, Reham (17 Replies)
Discussion started by: Reham.Donia
17 Replies

6. UNIX for Dummies Questions & Answers

New to UNIX and Linux... need a guide

I want to know about UNIX and Linux. I have Windows7 installed and I would like to know how to start ie 1 softwares needed 2 hardware changes if any 3 any emulator or virtual machine if needed 4 useful links for installation 5 links for study material. Please provide a step by step... (1 Reply)
Discussion started by: ArpitRaj
1 Replies

7. Shell Programming and Scripting

Cleanup Weird character in Unix

Hi, I have a pipe delimited file and I am running into an issue where a field is having some weird character and I am not able to clean it up. It is 2nd field and the weird character is M- . See below. cat -v test.dat 02169| M- PATRICKM- MCALEER |Y 01318| M- LARRYM- PETERSON |Y 30319|... (5 Replies)
Discussion started by: msalam65
5 Replies

8. UNIX for Dummies Questions & Answers

Guide to differences between Solaris and AIX

I've been more used to Solaris, but am now working on an IBM AIX box, P650 Certain commands like "top" are no longer available. Any ideas on where I can find help on this matter? Christopher Freville Alberquerque, NM (6 Replies)
Discussion started by: Solariums
6 Replies

9. UNIX for Dummies Questions & Answers

Dir and file privileges in AIX

I have a question, I know for privileges, 4-READ, 2-Write, 1-Execute, so if a file has 754 privileges then owner has all privileges, folks in his groups can Read and execute that file. Others can only read the file. So if there are three users A B C, A is the owner B is in GROUP AB and C is not... (1 Reply)
Discussion started by: Hangman2
1 Replies

10. UNIX for Advanced & Expert Users

Guide for Unix admin

Hi guys, I believe most of you guys are guru here. I'm actually linux/unix programmer and understand some of linux language (sh, bash, perl). I would like to jump into more technical role which is sys admin which I need to do something like : - Veritas backup and clustering (I heard our... (14 Replies)
Discussion started by: peac3
14 Replies
Login or Register to Ask a Question