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
Net::Server::Proto::UNIX(3)				User Contributed Perl Documentation			       Net::Server::Proto::UNIX(3)

NAME
Net::Server::Proto::UNIX - Net::Server UNIX protocol. SYNOPSIS
See Net::Server::Proto. DESCRIPTION
Protocol module for Net::Server. This module implements the UNIX SOCK_STREAM socket type. See Net::Server::Proto. Any sockets created during startup will be chown'ed to the user and group specified in the starup arguments. PARAMETERS
The following paramaters may be specified in addition to normal command line parameters for a Net::Server. See Net::Server for more information on reading arguments. unix_type Can be either SOCK_STREAM or SOCK_DGRAM (default is SOCK_STREAM). This can also be passed on the port line (see Net::Server::Proto). However, this method is deprecated. If you want SOCK_STREAM - just use proto UNIX without any other arguments. If you'd like SOCK_DGRAM, use the new proto UNIXDGRAM. METHODS
NS_unix_path/NS_unix_type In addition to the standard NS_ methods of Net::Server::Proto classes, the UNIX types also have legacy calls to NS_unix_path and NS_unix_type. Since version 2.000, NS_unix_path is simply an alias to NS_port. NS_unix_type is now redundant with NS_proto. These methods were missing between version 2.000 and 2.003 but have been returned as legacy bridges. QUICK PARAMETER LIST
Key Value Default # deprecated UNIX socket parameters unix_type (SOCK_STREAM|SOCK_DGRAM) SOCK_STREAM port "filename" undef # more recent usage port "filename / UNIX" port "filename / UNIXDGRAM" LICENCE
Distributed under the same terms as Net::Server perl v5.18.2 2012-06-06 Net::Server::Proto::UNIX(3)
All times are GMT -4. The time now is 07:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy