01-05-2006
command to list file size
I'm new to HP-UX and am looking for the command that will allow to me determine the total size of listed files. I'm being told that my backup selection is exceeding my tape drive size and need to determine how much information is being backed up.
Help?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
*.xml files stored on date wise folders. I need to extract *.xml files from all the folders. File size is lessthan or equal to 2K. Please let me know command or some shell program to due this job on linux m/c
This is urgent,
Thanks in advance
- Bache Gowda (3 Replies)
Discussion started by: bache_gowda
3 Replies
2. UNIX for Dummies Questions & Answers
Hello all,
I have a directory filling up. I need to determine the size of the files in the directory. How do I do that, what command should I run when I am in the directory?
Next question, can I expand the partition size? (10 Replies)
Discussion started by: komputersman
10 Replies
3. Solaris
hi all,
in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders...
please help me, how can i find the total size of these specific files in the server... (3 Replies)
Discussion started by: abhinov
3 Replies
4. UNIX for Dummies Questions & Answers
Hello!
I'm trying to find out the total file size of a subset list in a directory. For example, I do not need to know the total file size of all the files in a directory, but I need to know what the total size is of say, "ls -l *FEB08*" in a directory. Is there any easy way of doing this?
... (3 Replies)
Discussion started by: tekster757
3 Replies
5. UNIX for Dummies Questions & Answers
If I have a file x.txt that is 8 bytes... I want to enter
>> x.txt
8
I've played around with ls, and du... and they always list the file name. (2 Replies)
Discussion started by: ordano
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have directories with name like:
aaa
bbb
ccc
...
I would like to to see which directories are the largest and then list the files within each. I have success using:
du -ks * | sort -rin | head -n 20
which gives me an output like:
120 bbb
27 ccc
3 aaa
...
I would like... (3 Replies)
Discussion started by: ChatPerdu
3 Replies
7. UNIX for Dummies Questions & Answers
Is there any command that can list out all the files size including directory in 1 command?
`ls` will only give 2048 for a directory, which i'm looking for the actual size. (5 Replies)
Discussion started by: lsy
5 Replies
8. Shell Programming and Scripting
to get the list of file name with size
Example:
rwxrwxrwx 1 cm x 562KB Nov 6 19:22 a
rwxrwxrwx 1 cm x 562MB Nov 6 19:22 a
edit by bakunin: Please view this code tag video for how to use code tags when posting code and data. (5 Replies)
Discussion started by: Jewel
5 Replies
9. HP-UX
how to get the file name list with size descriptive in hp-ux
Required output:
permission link user group size(with MB,KB,GB etc) date time name (7 Replies)
Discussion started by: Jewel
7 Replies
10. HP-UX
I used to use ls -l cut to detrmine file size, and google searches didn't come up with anything else but 'stat' which doesn't appear on HPUX.
I discovered the humble 'wc -c' which does this job very neatly, and thought I would share it. (7 Replies)
Discussion started by: tbochan
7 Replies
tz(4) Kernel Interfaces Manual tz(4)
Name
tz - SCSI magnetic tape interface
Syntax
VAX NCR 5380:
adapter uba0 at nexus?
controller scsi0 at uba0 csr 0x200c0080 vector szintr
tape tz0 at scsi0 drive 0
VAX DEC SII:
adapter ibus0 at nexus?
controller sii0 at ibus? vector sii_intr
tape tz0 at sii0 drive 0
RISC DEC SII:
adapter ibus0 at nexus?
controller sii0 at ibus? vector sii_intr
tape tz0 at sii0 drive 0
RISC DEC KZQ:
adapter uba0 at nexus?
controller kzq0 at ibus? csr 0761300vector sii_intr
tape tz0 at kzq0 drive 0
RISC NCR ASC:
adapter ibus0 at nexus?
controller asc0 at ibus? vector ascintr
tape tz0 at asc0 drive 0
Description
The SCSI tape driver provides a standard tape drive interface as described in This is a driver for any Digital SCSI tape device.
For the TZK10 QIC format tape drive, the densities supported are QIC-24 (read only) block size of 512 byte blocks, QIC-120, and QIC-150
read/write block size of 512 byte blocks, and QIC-320 read/write block size of 1024 byte blocks. With QIC format style tapes all reads and
writes must be in multiple of the block size. This is a requirement of fixed block tape drives because record boundaries are not pre-
served. The QIC densities are selected using the following special device names:
QIC-24 Fixed block size.
QIC-120 Fixed block size.
QIC-150 Fixed block size.
QIC-320 Fixed block size.
With all fixed block tape devices a of a file to the tape must be padded out. An example of this is a of which has a size of approximately
3800 bytes.
dd if=/etc/gettytab of=/dev/rmt0h bs=10k conv=sync
or
dd if=/etc/gettytab of=/dev/rmt0l bs=512 conv=sync
The option of pads the output to block size.
This driver also supports n-buffered reads and writes to the raw tape interface (used with streaming tape drives). See for further
details.
Tape Support
TZ30, TZK50, TLZ04, TSZ05, TKZ08, TZK10
Diagnostics
All diagnostic messages are sent to the error logger subsystem.
Files
See Also
mtio(4), nbuf(4), SCSI(4), MAKEDEV(8), uerf(8), tapex(8)
Guide to the Error Logger
tz(4)