Sponsored Content
Top Forums UNIX for Dummies Questions & Answers What is the default temp dir for UNIX AIX 5.3 and cleanup guide. Post 302280972 by nixnoob on Tuesday 27th of January 2009 11:49:01 PM
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
standards(5)							File Formats Manual						      standards(5)

NAME
standards - UNIX standards behavior on HP-UX DESCRIPTION
HP-UX conforms to various UNIX standards. In some cases, these standards conflict. This manpage describes the methods that programmers and users must follow to have an application conform and execute according to a particular UNIX standard. UNIX Standard Conformant Programmer Environment The following table lists feature test macros and environment variables that must be defined while compiling an application. Both a fea- ture test macro and an environment variable must be defined while compiling the application so that the application conforms and executes according to a particular UNIX standard. Otherwise, the behavior is undefined. Standard Feature Test Macros to be Environment variable defined during compilation to be set UNIX 95 _XOPEN_SOURCE_EXTENDED=1 UNIX95 or UNIX_STD=95 or UNIX_STD=1995 UNIX 2003 _XOPEN_SOURCE=600 UNIX_STD=2003 The compiler uses the feature test macros to obtain the appropriate namespace from the header files. The compiler uses the environment variable to link in an appropriate object file to the executable. Using the environment variable customizes libc to match UNIX standards for various functions. If an application has already been compiled for default HP-UX behavior or for one particular standard, and needs to change to a particular UNIX standard behavior, recompile the application as specified in the above table. For an HP-UX command to conform to a particular UNIX standard behavior, the application has to set the corresponding environment variable as specified in the above table before executing that command. UNIX Standard Conformant User Environment To enable a particular UNIX standard conformant user environment, set the corresponding environment variable as defined in the above table. EXAMPLES
The following examples shows an application example. To have the system be conformant to UNIX2003 behavior, set the environment variable to and define the feature test macro before compilation. The following example changes the command to have UNIX95 behavior by setting one of the environment variables to or to before executing that command. There are three ways of setting the environment variable for UNIX95: or or SEE ALSO
cc(1), stdsyms(5). standards(5)
All times are GMT -4. The time now is 11:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy