- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 2 temp directories on hpux
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
09-05-2005 04:27 PM
09-05-2005 04:27 PM
What are the significance of 2 temp directories on hpux /var/tmp/ and /tmp ??
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2005 04:32 PM
09-05-2005 04:32 PM
Solution/tmp is required by a few applications like the oracle installer.
/var/tmp is usually but not always part of the /var filesystem where variable (hence the name) temporary output such as logs are kept.
They can to some degree depending on how you install your hp-ux system be used interchangeably.
Take a look at the contents on a system thats been running for a while.
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
09-05-2005 05:35 PM
09-05-2005 05:35 PM
Re: 2 temp directories on hpux
could you please do a man page ;
#man hier
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2005 05:52 PM
09-05-2005 05:52 PM
Re: 2 temp directories on hpux
/tmp is used to generate application logs and will be disappeared on reboot
/var/tmp is also used to generate application logs and will not be disappeared on reboot
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2005 06:04 PM
09-05-2005 06:04 PM
Re: 2 temp directories on hpux
This task is performed by
/sbin/init.d/clean_tmps
and you have to enable it by setting
CLEAR_TMP=1
in
/etc/rc.config.d/clean_tmps
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2005 06:39 PM
09-05-2005 06:39 PM
Re: 2 temp directories on hpux
/tmp is for System-generated temporary files
/var/tmp is for Application-generated temporary files
These directory generally are not generally cleared between system reboots, you will have to set the flags in /etc/rc.config.d/clean_tmps
LIST_TEMPS=1
CLEAR_TMP=1
hope this helps!
regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2005 07:16 PM
09-05-2005 07:16 PM
Re: 2 temp directories on hpux
To run OS and Application peacefully. It is very important to have sufficeint memory and temporary disk space.
Normal all Unix works same way.
/var/tmp Application-generated temporary files. This directory generally is not cleared between system reboots.
/tmp System-generated temporary files; generally cleared during the boot operation.
System Administrator important task to watch file system space.
Regards,
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 12:57 AM
09-06-2005 12:57 AM
Re: 2 temp directories on hpux
1. /tmp is used for system generated logs
2. /var/tmp is for application related logs.
Preferred option is to have
Regards
Mahesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 05:30 AM
09-06-2005 05:30 AM
Re: 2 temp directories on hpux
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 06:55 AM
09-06-2005 06:55 AM
Re: 2 temp directories on hpux
/tmp Contains System-generated temporary files, can be used as a space to copy files for time being.
/var/tmp Application-generated temporary files. This also contains temporary files generated by commands in the /usr hierarchy
The /var directory is for multipurpose log, temporary, transient, variable sized, and spool files. The /var directory is extremely variable in size, hence the name. In general, any files that an application or command creates at runtime, and that are not critical to the operation of the system, should be placed in a directory that resides under /var.
Regards,
Syam