09-22-2007
total 3531 --- total no.of block used in the directroy
Second column lists the number of hard links to that entry
When the size of the files in a directory are listed, the ls command
displays a total count of blocks, including indirect blocks.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi frnds...
I m facing very irritating problem already waisted my 2 days..
I have a following script..( i am pasting only the main code)
ftp -ivn 213.194.40.77 <<FTP
user $user $password
binary
cd $FileDir/out
lcd $localpath
get $file
rename $FileDir/out/$file $FileDir/tmp/$file... (1 Reply)
Discussion started by: clx
1 Replies
2. Shell Programming and Scripting
Well I have a 3000 lines result log file that contains all the machine data when it does the testing... It has 3 different section that i am intrsted in
1) starting with "20071126 11:11:11 Machine Header 1"
1000 lines...
"End machine header 1"
2) starting with "20071126 12:12:12 Machine... (5 Replies)
Discussion started by: vikas.iet
5 Replies
3. UNIX for Dummies Questions & Answers
hello
showrev -p | wc -l
returns:
381
What to do in case I want to have this output:
number of lines returned by showrev -p is: 381
thx (3 Replies)
Discussion started by: melanie_pfefer
3 Replies
4. UNIX for Dummies Questions & Answers
Hi.
If we have this file
A B C
7 8 9
1 2 10
and this other file
A C D F
7 9 2 3
9 2 3 4
The result i´m looking for is intersection with A B C D F
so the answer here will be (10 Replies)
Discussion started by: alcalina
10 Replies
5. UNIX for Advanced & Expert Users
Hi,
I have to write a windows XP program, that would generate a Solaris Script, which would then be transported to Solaris, executed, the execution result then needs to be returned to the XP program.
For transporting the file i was thinking of following FTP (admins rejected it) or File share on... (1 Reply)
Discussion started by: 00262881
1 Replies
6. Shell Programming and Scripting
Hi,
I am writing a script on Solaris 10 and want to execute a remote ssh command. Normally this command should just return the value 0000000000002356 but when using ssh it seems it is passing the result to the shell to execute.
ssh root@10.5.112.145 `/usr/bin/nawk -F\, '$1=="USG" && $2=="01"... (3 Replies)
Discussion started by: borderblaster
3 Replies
7. Shell Programming and Scripting
hi,
please can I ask you for some help? I have data from 3D situation, x y z value
I'd like to use gnuplot to generate maps of the value in the planes z=0 to z=1 for example, my file looks
like
-0,012 0,0060 0,0 0,13972813076023477
-0,012 0,0064319163 4,2894483E-4 ... (1 Reply)
Discussion started by: kocour
1 Replies
8. Shell Programming and Scripting
I have a program that returns a shell script and I want to execute the script.
I'll use cat in my simple example, but wget is an example that is feasible.
$ # First setup a script
$ echo "ls
> df" > simple
$ # "cat simple" is now a program that returns a script
$ cat simple
ls
df
$ ... (3 Replies)
Discussion started by: kopite
3 Replies
9. Shell Programming and Scripting
Hi Gurus,
I have requirement to compare current result with previous reuslt.
The sample case is below.
1 job1 1
1 job2 2
1 job3 3
2 job_a1 1
2 job_a2 2
2 job_a3 3
3 job_b1 1
3 job_b2 2
for above sample file, GID is group ID, for input line, the job run... (1 Reply)
Discussion started by: ken6503
1 Replies
10. Shell Programming and Scripting
Hello Unix gurus,
I have a file with this format (example values):
label1 1 0
label2 1 0
label3 0.4 0.6
label4 0.5 0.5
label5 0.1 0.9
label6 0.9 0.1
in which:
column 1 is a row label
column 2 and 3 are values
I would like to do a simple operation on this table and get the... (8 Replies)
Discussion started by: ksennin
8 Replies
df_vxfs(1M) df_vxfs(1M)
NAME
df_vxfs: df - report number of free disk blocks on a VxFS file system
SYNOPSIS
[special|directory]...
DESCRIPTION
prints the number of free blocks and free inodes in VxFS file systems or directories based on the counts kept in the super-blocks.
VxFS dynamically allocates inodes from a pool of free blocks. The number of free inodes and blocks reported by is an estimate based on the
number of free 8K or larger extents and the current ratio of allocated inodes to allocated blocks. (Extents smaller than 8K may not be
usable for all types of allocation, so does not count free blocks in extents smaller than 8K.) Allocating additional blocks may therefore
decrease the count of free inodes and vice versa.
If the operand to is a special device name, the file system can be an unmounted or mounted file system (for example, If you specify a
directoryname, displays information for the file system at that mount point. If neither special nor directory is specified, the free space
on all of the mounted file systems is printed.
Options
recognizes the following options:
Report only the number of kilobytes free.
Report the number of files free.
Report only an actual count of the blocks in the free list
(free inodes are not reported). When this option is specified, reports on raw devices.
Specify the file system type
Report the entire
statvfs(2) structure.
Report the total number of inodes, the number of free inodes, number of used inodes
and the percentage of inodes in use.
Report the allocation in kilobytes.
Report on local file systems only.
Report the file system name. If invoked with no other options this
option prints a list of mounted file system types.
Print the number of free extents of each size.
Free extents are always an integral power of two in length, ranging from a minimum of one block to the maximum extent
size supported by the file system.
Report the total allocated block figures and the number of free blocks.
Report the percentage of blocks used, the number of blocks used and the number
of blocks free. This option cannot be used with other options.
Echo the completed command line, but performs no other action.
The command line is generated by incorporating the user-specified options and other information derived from This
option allows the user to verify the command line.
There are a number of options that specify output formats, some combinations of which are incompatible. If an incompatible combination is
specified, one of the options will override the other(s).
Operands
recognizes the following operands:
directory Name of the mount point from which the VxFS file system is accessed.
special Device name, which contains a mounted or unmounted VxFS file system.
EXAMPLES
Report the number of free disk blocks for all mounted file systems:
Report the number of free extents of each size, for all mounted VxFS file systems:
Report the number of free files for all mounted VxFS file systems:
Report the total allocated block figures and the number of free blocks, for all mounted file systems:
Report the total allocated block figures and the number of free blocks, for the file system mounted as
FILES
File-system devices.
File-system devices.
Static information about the file systems.
mounted-file-system table.
SEE ALSO
du(1), df(1M), fsck_vxfs(1M), statvfs(2), fs_vxfs(4), mnttab(4).
STANDARDS CONFORMANCE
: SVID2, XPG2, XPG3
df_vxfs(1M)