10-01-2008
By default on most systems "ls -la" will output the file size in bytes, if this is what you're asking.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to create a script that emails a file created by Informix Ace if the file size is > 0. It is a list of exceptions. No exceptions...no message
This does not work:
THESIZE=`ls -lA /tmp/ds_treo.txt | awk -F' ' '{print $5}'`
if
then
(cat $DSDIR/ds_treo.txt) | mail -s "Treo... (1 Reply)
Discussion started by: poste_d_ordure
1 Replies
2. UNIX for Dummies Questions & Answers
Hi
how can it be that say i have text (xls) file that is 661 bytes when i upload it to Solaris ftp its becomes 650 byes
and when i downloading it back its again 661 bytes
both in my local pc and Solaris ftp the file remains not corrupted and valid (2 Replies)
Discussion started by: umen
2 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
We have the commands top and ps through which we can find out the size of the running process.
These commnds are giving the size of my process in MB after rounding of the size.
Is there any way by which I can get the size of my process in Bytes or KBytes.
Any help would be greatly... (2 Replies)
Discussion started by: darshi
2 Replies
4. Shell Programming and Scripting
hi all
plz help in listing the files with size in bytes.
thnks
-Bali (4 Replies)
Discussion started by: balireddy_77
4 Replies
5. Shell Programming and Scripting
Hi
I need to find and delete 0-4 bytes size files in a folder.
How can I achieve that? (1 Reply)
Discussion started by: kapilk
1 Replies
6. Web Development
Any clues on how to get rid of this PHP error?
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 71 bytes) in /website/www/includes/functions_manpages.php on line 58
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 71... (4 Replies)
Discussion started by: Neo
4 Replies
7. Shell Programming and Scripting
While running script I am getting an error like
Few lines in data are not being processed.
After googling it I came to know that adding such line would give some memory to it
ini_set("memory_limit","64M");
my input file size is 1 GB.
Is that memory limit is based on RAM we have on... (1 Reply)
Discussion started by: elamurugu
1 Replies
8. Shell Programming and Scripting
Hey guys I'm new to unix and need help printing files in a specified directory according to size in bytes as well as files with equal bites in alphabetical order
the part i have done so far prints out all files in the directory as well as setting a time limit in which they have been modified
... (2 Replies)
Discussion started by: wessy
2 Replies
9. UNIX for Dummies Questions & Answers
Hello guys. I really hope someone will help me with this one..
So, I have to write this script who:
- creates a file home/student/vmdisk of 10 mb
- formats that file to ext3
- mounts that partition to /mnt/partition
- creates a file /mnt/partition/data. In this file, there will... (1 Reply)
Discussion started by: razolo13
1 Replies
VBUF(1) General Commands Manual VBUF(1)
NAME
vbuf - Virtual Ring Buffer shell interface
SYNOPSIS
vbuf [options]
DESCRIPTION
This manual page documents briefly the vbuf command.
vbuf is a program to glue two programs (a producer and a consumer) together, one of which not being able to fulfil the other's constant
data rate requirements.
OPTIONS
-h
Show short help message.
--help
Show long help message.
-p, --progress
Show progress status line.
-q, --quiet
Suppress progress status line. The default is to show the progress display.
-s size, --size=size
Set buffer size in bytes. Suffixes k, m, and g may be used. The actual size used will be rounded up for system mapping require-
ments. The default is 1m, or 1048576 bytes.
-t time, --time=seconds
Set time in seconds between progress display refreshes. Fractions of a second may be used. Default is 1.500000 seconds.
-b, --bits
Set progress rate display units to bits per second.
-B, --bytes
Set progress rate display units to bytes per second. The default is bytes.
-d, --decimal
Set progress rate display base to decimal. The default is decimal.
-x, --hexadecimal
Set progress rate display base to hexadecimal.
--octal
Set progress rate display base to octal.
-i file, --input=file
Specify an input file to be opened and used instead of using stdin.
-o file, --output=file
Specify an output file to be opened and used instead of using stdout.
-M file, --mapfile=file
Specify a file which will be used for backing store for the virtual ring buffer. The allows using filesystem space in case swap
space is full.
-r bytes, --read-min=bytes
Specify the minimum number of bytes to be requested by read. Reading will not happen unless at least this much buffer space is
available. The default is 1.
-R bytes, --read-max=bytes
Specify the maximum number of bytes to be requested by read. Reading will not request more even if more buffer space is available.
The default is the full buffer size.
-w bytes, --write-min=bytes
Specify the minumum number of bytes to be written. Writing will not be done unless at least this much data is available. Once end
of file is reached on input, a smaller amount may be written. The default is 1.
-W bytes, --write-max=bytes
Specify the maximum number of bytes to be written. Writing will not write more each time even if more data is available in the buf-
fer. The default is the full buffer size.
AUTHOR
VRB and vbuf were written by Phil Howard <vrb@ipal.org>.
This manual page was written by Szekelyi Szabolcs <cc@mail.3d.hu>, for the Debian project (but may be used by others).
2006 Sep 5 VBUF(1)