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)
This questions only concerns Solaris 10.
Let's say I have swap configured like so in /etc/vfstab:
/dev/dsk/c1t0d0s1 - - swap - no -
/dev/dsk/c1t1d0s1 - - swap - no -
/dev/md/dsk/d1 - - swap - no -
... (1 Reply)
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)
I have a number of files that a structured like this: Eg.
file_name.ext1
another file name with spaces.ext2
yatf with .ext3
also a file (plus).ext4
I would like to swap the
part with the descriptive_file_name part, so that it looks like this:
Eg.
file_name .ext1
I know (or... (4 Replies)
Hi,
when using vi editor, why do i automatically create swap file. this is very hard on me as on some systems i do not have remove file permission and swap file is only readable. it always happens to me, regardless of the computer i am using. does not happen to my classmates. i don't even know the... (2 Replies)
Dear Friends,
I have file a.txt
1|2|3|4|5|6|7|8
a|b|c|d|e|f|g|h
i am using the below code to swap the fields in file
awk -F\| '{print $5,$1,$2,$3,$4,$6,$7,$8}' OFS=\| a.txt > output.txt
output.txt
5|1|2|3|4|6|7|8
e|a|b|c|d|f|g|h
The above command is working fine. I am... (4 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)