vi uses /var/tmp for storing temporary versions of the file you edit. This is what you probably mean instead of a swap file.
I think you have your file mask set incorrectly. Unless you specified the directory command in your .exrc file - in your home directory. Assuming you have not tired to write the tmp files someplace odd by accident:
is what you want.
To see your current umask
The output for this should be 02 -- when it is set correctly.
This User Gave Thanks to jim mcnamara For This Post:
Hey everyone,
first of all, this is the motherboard I have: GigaByte GA-K8NXP-9 , nForce4 Ultra. It supports RAID 0, 1, 0+1 apparently both on the IDE and S-ATA HDD.
Now what I had in mind is popping 2 x 6Gb HDD in the IDE slots as slave 1 & 2 where my 2 DVD/CD burners are master. I then plan... (2 Replies)
I'm trying to write a shell script that accepts two file extensions as command line arguments and renames all files with the first extension within the current working directory to have the second extension instead. The script should print out error messages as is appropriate if there is any... (1 Reply)
Hello all,
We are running a 2 gig Solaris10 system. The only application that's running on the system is ours which allocates 850MB through malloc at one shot.
For some reason this malloc keeps failing saying "Resource Temporarily Unavilable"
After some investigation, found that it goes... (7 Replies)
Hello and thanks in advance.
I have a Sun box with raid 1 on the O/S disks using solaris svm.
I want to unmirror my swap partition, and add the slice on the second disk as an additional swap device. This would give me twice as much swap space.
I have been warned not to do this by some... (3 Replies)
Hi All,
I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by
set EDITOR=vi it does not open a vi editor , rather it do as below.....
/////////////////////////////////////////////////////
$ set... (6 Replies)
I have a file (tmp.out) with contents delimited by '|':
1|d|2|rt|
3|sfd|4|sgf|
5|sg|6|gtr|
7|s|8|sf|
I want to write only the 1st and 3rd columns to another file, but they should be swapped with each other:
2|1
4|3
6|5
8|7
Here is what I have so far:
... (2 Replies)
Hi
I have an integrity machine rx7620 and rx8640 running hp-ux 11.31. I'm planning to fine tune the system:
- I would like to know when does the memory swap space spill over to the device swap space?
- And how much % of memory swap utilization should be specified (swap space device... (6 Replies)
Hi Solaris Folks :),
I need to calculate the swap usage on solaris server, please let me understand the output of below swap -s and swap -l commands.
$swap -s
total: 1774912k bytes allocated + 240616k reserved = 2015528k used, 14542512k available
$swap -l
swapfile dev swaplo... (6 Replies)
Hi,
I have a file with certain lines in it.
i want to swap every occurance of word A with B and every occurrance of word B with A.
Example
file.txt
Unix is a great OS.
Linux support graphical user intrface.
unix and linux are both same.
Output
file.txt
Linux is a great OS.
Unix... (5 Replies)
Discussion started by: Little
5 Replies
LEARN ABOUT HPUX
remote_nfs_swap
remote_nfs_swap(5) File Formats Manual remote_nfs_swap(5)NAME
remote_nfs_swap - enable swapping across NFS
VALUES
Default
Allowed values
DESCRIPTION
This tunable controls adding a NFS filesystem for use as swap. If is set to only local filesystems and devices can be used for swap. If
it is set to both local and networked file systems can be used for swap.
Historically, this tunable was used in NFS clusters that are no longer supported, but this capability has not yet been removed.
Who Is Expected to Change This Tunable?
Anyone.
Restrictions on Changing
Changes to this tunable take effect on the next boot.
When Should the Tunable Be Turned On?
Almost never. As previously mentioned, this tunable was designed for systems which are not in use today. Only systems with extremely
robust NFS capabilities should even consider using NFS for swap.
What Are the Side Effects of Turning the Tunable On?
If the value is set to and a NFS partition is added as swap, then some kernel memory will be set aside for NFS transactions to the swap
file system. The kernel will then use the NFS swap partition just the same as a local file system. If the NFS capabilities of the system
are not robust, this could lead to extremely long swap times (both swap in and swap out), and possibly a loss of memory because all the
reserved memory and more could be used by NFS (just when memory pressure is high) causing the need for swap.
When Should the Tunable Be Turned Off?
Unless you are positive that the NFS system can handle the load of being used as swap, and does not have a local file system or disk drive
to spare, this tunable should be set to
What Are the Side Effects of Turning the Tunable Off?
Any previously defined NFS swap filesystems will no longer be allowed. Kernel memory will not be reserved for NFS transactions due to
swap.
What Other Tunables Should Be Changed at the Same Time?
None.
WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of
HP-UX.
Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation,
some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun-
able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was
factory installed on your system, see at
AUTHOR
was developed by HP.
Tunable Kernel Parameters remote_nfs_swap(5)