07-26-2009
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a script which includes an FTP. The filename is too long for my target area. The filename is HD012_ABCD_EFGH_061004_F_300_40. I need to the filename to be HD012_ABCD_EFGH_061004_F_. Any ideas. (5 Replies)
Discussion started by: paul1s
5 Replies
2. Solaris
Hi frnz,
Need an urgent help...
I have installed solaris 8 in a sunblade workstation with 136GB hdd.
While installation it has taken a default filesystem size as 1.37GB for root.
AFtr completing the installation i have extended the root partition to 130GB.
But still df output shows... (4 Replies)
Discussion started by: sriram.s
4 Replies
3. Programming
Hi,
Could any one tell me how to reduce the size of an executable file of C under
Unix.
thanks (2 Replies)
Discussion started by: useless79
2 Replies
4. Solaris
Dear all,
I am very new to solaris,
I have installed solaris 10,
i tried installing few softwares into file system, unfortunately system failed to install stating "No space left on device "
i searched few threads and it says, we have to increase root size. where my root size is... (2 Replies)
Discussion started by: radhnki
2 Replies
5. Solaris
Hi all,
I'm working on Solaris and quite often I receive the alert message of file system at 90%.
I'd like to find which files caused this happens (at least the biggest files) with the following command:
find . -size +10000000c -exec ls -larth {} \;
This looks for every file in every fs... (4 Replies)
Discussion started by: Evan
4 Replies
6. Red Hat
can we increase root size ? (redhat 5.4)
my df -h is
#df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 7.8G 6.8G 621M 92% /
/dev/sda1 2.0G 50M 1.8G 3% /boot
tmpfs 3.8G 0 3.8G 0% /dev/shm
/dev/sdc1 99G ... (3 Replies)
Discussion started by: reply.ravi
3 Replies
7. Red Hat
Hello Admins,
I am running a redhat linux 5 on vmware workstation.
I need to increase or add some more space to my root (/) partition. I don't have any LVM configured..
Please suggest.
# df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 3.8G 3.1G ... (4 Replies)
Discussion started by: snchaudhari2
4 Replies
8. Shell Programming and Scripting
Hi,
Here i have to check first record $3 $4 with second record $1 $2 respectively. If match found, then check first record $2 == second record $4 , if it equals , then reduce two records to single record like as desired output.
Input_file
1 1 2 1
2 1 3 1
3 1 4 1
3 1 3 2
desired... (3 Replies)
Discussion started by: vasanth.vadalur
3 Replies
9. Shell Programming and Scripting
Hello,
I am a java programmer but want to try unix for a purpose where I need to reduce a file using its first field.. Here is the sample data:
admin;2;0;;
admission;8;0;;
aman;1;0;;
caroline;0;4;;
cook;0;4;;
cook;2;0;;
far;0;3;;
far;1;5;;
I am explaining the dataset first. There... (5 Replies)
Discussion started by: shekhar2010us
5 Replies
10. UNIX for Beginners Questions & Answers
I have a very large file with millions of entries identified by @M. I am using the following script to "extract" entries based on specific strings/patterns:
#!/bin/bash
if ]
then
file=$1
else
echo "Input_file passed as an argument $1 is NOT found."
exit;
fi
MID=(NULL "string-1"... (10 Replies)
Discussion started by: Xterra
10 Replies
LEARN ABOUT ULTRIX
fitset
fitset(8) System Manager's Manual fitset(8)
Name
fitset - determine if subset fits on a system
Syntax
fitset [ -d ] [ root-path ]
Description
The utility is used to determine if the files in a software subset will fit on a system.
Subset inventory records are read from the standard input. For each record, the space required to install the file described in that record
is deducted from the available free space on the file system to which it would be installed. Only currently mounted UFS file systems are
used in the computations. Space requirements for files already on the disk will be modified to account for the size of the resident copy.
After all records have been read, the free space computed for all file systems is checked. If the space required to install the files would
cause any file system to be more than 90% full, returns an exit status of -1.
The utility uses to size all subsets before attempting to install them. The root-path argument is the pathname of the top directory for
the hierarchy into which the files are going to be installed. If no root-path is specified, the directory '/' is assumed.
Options
-d Enable debugging. This will make print voluminous status information on standard output. This information is the initial file system
statistics, the file system location of the file from each input record and the statistics for the file system after the space
required to install the file has been deducted.
Restrictions
NFS mounts are ignored. If software would be installed to an NFS mounted directory, it is sized against the file system containing the NFS
mount point.
The program does not detect the use of symbolic links in paths to root-path or any of the mount points. This can cause to size a subset
incorrectly if root-path is a symbolic link or a symbolic link exists in the path of any of the pathnames used with the command to mount
local file systems.
Examples
To determine if a particular subset will fit on the system, redirect the contents of the subset inventory file into For example:
fitset < /usr/etc/subsets/ULTUUCP400.inv
To determine if the same subset will fit in a hierarchy rooted at the command would be:
fitset /var/tmp/root < /usr/etc/subsets/ULTUUCP400.inv
Diagnostics
fitset: root path must be absolute
A relative pathname was specified for root-path. This path must be absolute.
fitset: cannot stat root-path (error message)
The root-path cannot be accessed. The error message provides more information.
fitset: root-path is not a directory.
Either root-path is not a directory or it is a symbolic link to something which is not a directory.
Files
Subset inventory files
See Also
stl_inv(5), setld(8)
Guide to Preparing Software for Distribution on ULTRIX Systems
fitset(8)