- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- temp directory
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 04:01 PM
12-28-2005 04:01 PM
Is there a tmp directory other /tmp ?
I am not able to recollect but i had seen while installing some software 2 years ago.( /usr/IATEMP ?? )
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 04:15 PM
12-28-2005 04:15 PM
Re: temp directory
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 04:26 PM
12-28-2005 04:26 PM
Re: temp directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 04:27 PM
12-28-2005 04:27 PM
Re: temp directory
Many apps/installables use variable as TMPDIR during installation.
What exactly are you looking at??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 04:33 PM
12-28-2005 04:33 PM
SolutionSomething like this,
# Log in as superuser (root) on the depot system; see "Create the Depot Directory" .
# Using the Internet, go to the HP Software Depot web site http://software.hp.com, select the â Security and Manageabilityâ section, and choose the â HP-UX Host Intrusion Detection System (HP-UX HIDS) version 2.2â product.
# Using the instructions on the web site, download the product depot into /var/tmp/HPUX-HIDS_11i.depot.
# Copy the HP-UX HIDS product to your administration and agent depots, as appropriate.
1.Agent Depot
On your agent systems, copy the agent subproducts into ids_11i_agent depot:
# swcopy -s /var/tmp/idsprod/HPUX-HIDS_11i.depot IDS.IDS-Agent \
IDS.IDS-Doc @ /var/depot/ids_11i_agent
http://docs.hp.com/en/J5083-90014/ch02s06.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 04:33 PM
12-28-2005 04:33 PM
Re: temp directory
You can make a temporary directory anywhere you want, so long as there is some space there.
Oracle installs let you set a variable called TEMP which directs temporary installation files to alternate locations. This is because Oracle requires 512 MB or more of temporary space and most sysadmins are not willing to waste that much on /tmp
Regards,
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 04:36 PM
12-28-2005 04:36 PM
Re: temp directory
May be you can search with find as,
find / -type f -name "tmp"
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 04:36 PM
12-28-2005 04:36 PM
Re: temp directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 04:39 PM
12-28-2005 04:39 PM
Re: temp directory
So it is very much required to have seperate tmp area. As I said, most of the apps do that with TMPDIR variable and poiting it to desired dir.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 04:41 PM
12-28-2005 04:41 PM
Re: temp directory
Hope this is clear.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 04:47 PM
12-28-2005 04:47 PM
Re: temp directory
http://www.pathname.com/fhs/2.2/fhs-5.15.html
(Purpose of /var/tmp)
http://lists.debian.org/debian-devel/1999/07/msg00402.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 05:39 PM
12-28-2005 05:39 PM
Re: temp directory
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 06:30 PM
12-28-2005 06:30 PM
Re: temp directory
also refer to metalink note:145487.1
"Files Types .t and .temp and .tmp, are Saving Under /var/tmp"
hope this helps too!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2005 01:00 AM
12-29-2005 01:00 AM
Re: temp directory
Have a look at the 'hier(5)' manpages. These describe the HP-UX directory structure. You will note that '/tmp' is for system-generated temporary files whereas '/var/tmp' is for application-generated temporary files.
There is a symbolic link '/usr/tmp' that points to '/var/tmp'. It is actually a transtion link that will disappear in future releases, but it is probably the one you remember seeing.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2005 03:09 AM
12-29-2005 03:09 AM
Re: temp directory
By the way, files in '/tmp' are not necessarily cleared of their files during a reboot as suggested above. This is controlled by *you*.
To remove all files in '/tmp' during startup (boot), set CLEAR_TMP=1 in:
'/etc/rc.config.d/clean_tmps'
To *list* files in '/tmp', and any in '/var/tmp' set LIST_TEMPS=1.
The listing of files is written to '/etc/rc.log' for your review.
You can set or reset both the CLEAR and the LIST options as you see fit. I do *not* clear '/tmp' during startup. I don't want patches, etc. that I might have there disappearing before I want to remove them!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2005 03:33 AM
12-29-2005 03:33 AM
Re: temp directory
I agree with JRF.
It's always been my understanding that /tmp is *stictly* for the use of the OS whereas /var/tmp is for application use.
Applications should *never* use /tmp - either /var/tmp or any other directory it may choose.
My 2 cents,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2005 04:22 AM
12-30-2005 04:22 AM
Re: temp directory
Note that on most systems /tmp is on a sperate file system, while /var/tmp is ussually located in /var. This is a subtle thing but important, temp files in /var/tmp can run /var out of space which can impact lots of applications quicker than if /var/tmp was a seperate file system.
An arguement can be made that many of the /var/spool directories are temp directories
for example /var/spool/mqueue.
When installing Oracle, you can set the TEMP env variable to point to a different location say "/usr/tmpi" , (Off the top my head not sure if it is TEMP or TMP), Oracle will put it's install information at that location. The advantage is when run multiple installs, you will not run /tmp out of space. In the past, I have ran /tmp out of space, so I started pointing env variable TEMP to a larger file system.
Rory