10-17-2011
buffer
hi all
i could not post a new topic
so am sorry to ask this here
what is the exact meaning of buffering
I am reading in stevens but he starts explaining about buffering wihout telling what is buffer
as well stream
i mean the consept it self
plz if u can help
10 More Discussions You Might Find Interesting
1. Programming
Hi All,
I am trying to read data from two files and then compare them and only print the records on the screen that have a same ID.i.e TAGNO =CUSTOMERNO
For Eg
My Input Files are (a) Transaction (b) Customer detail
The data in file a is like:
TagNo Date Time Station... (0 Replies)
Discussion started by: rooh
0 Replies
2. Programming
I have faced a problem that I use 2 file streams in a function and try to fopen() both files. Then I can't get the file descriptor. But if I just use 1 file stream and 1 fopen(), then i can get the file descriptor. Does anybody know why this happens? Thanks in advance.
... (2 Replies)
Discussion started by: ivancheung
2 Replies
3. Programming
Hi all,
Situation is as below.
I would get an IP address and port from eithe r a file or command line. It probably would be as char * or string. So was wondering how I could accept this and increment the last octets?
Incrementing the port is fine. I could get that into an integer by atoi()... (8 Replies)
Discussion started by: Naanu
8 Replies
4. UNIX and Linux Applications
Hi All,
I found my weblog contain entries like 121.23.3 Instead of four octet.
I am quite confused is it possible to have 3 octet ip at all ??
Is it generating by any program and hittng the website ?
Is it a subdomain ?
Please tell me your understanding on it ?
Thanks (4 Replies)
Discussion started by: jambesh
4 Replies
5. Shell Programming and Scripting
Hi
I used this command:
mplayer http://host/axis-cgi/mjpg/video.cgi -user root -passwd root \
-cache 1024 -fps 25.0 -nosound -vc ffh264 \
-demuxer 3 -dumpstream -dumpfile output.avi It's ok but...
Video Playing is very fast! Why? Is it a synch problem?
What parameter I have to use for... (1 Reply)
Discussion started by: takeo.kikuta
1 Replies
6. Shell Programming and Scripting
Here is what I have.
1 main program and it calls several child programs. Each child has its own log file. I want all child logs also to be appended to the main.log so that I have a single log file. I also need individual child logfiles in tact for debug purposes. Need to be able to tail one log... (4 Replies)
Discussion started by: myjunk1
4 Replies
7. Shell Programming and Scripting
Experts,
In one example I have seen how to get output upto 3rd octet, when there is a ":" separated with the 4rth octet.
However in this example how to remove 4rth octet and to keep upto 3rd octet with regular expressions and awk sub function:
I have tried with :but not working:
# awk '{... (3 Replies)
Discussion started by: rveri
3 Replies
8. Shell Programming and Scripting
Hi,
Need some help with creating a file from input steam. Meaning from following command myfunc should be able to store the input stream to a file.
echo a b c | myfunc
The file thus created should have -
a
b
c
Here's what I've tried in myfunc() but didn't help -
myfunc() { cat... (3 Replies)
Discussion started by: nexional
3 Replies
9. Shell Programming and Scripting
Hello,
Im looking to help out my team by automating a simple search list. The user will look for a peering ip /30. For example 192.168.1.2/30 and gets the result. Im trying to get the entered /30 and subtract the last octet by one.
echo -n "Enter peering ip : "; read peeringip
cat... (3 Replies)
Discussion started by: D'go
3 Replies
10. Shell Programming and Scripting
I need a hint for using wget for getting a free content from a TV station that is streaming its material for a while until it appears on any video platform, that means no use of illegal methods, because it is on air, recently published and available. But reading the manual for wget I tried the... (5 Replies)
Discussion started by: 1in10
5 Replies
LEARN ABOUT LINUX
grub-fstest
GRUB-FSTEST(1) User Commands GRUB-FSTEST(1)
NAME
grub-fstest - debug tool for GRUB filesystem drivers
SYNOPSIS
grub-fstest [OPTION...] IMAGE_PATH COMMANDS
DESCRIPTION
Debug tool for filesystem driver.
Commands:
blocklist FILE
Display blocklist of FILE.
cmp FILE LOCAL
Compare FILE with local file LOCAL.
cp FILE LOCAL
Copy FILE to local file LOCAL.
crc FILE
Get crc32 checksum of FILE.
hex FILE
Hex dump FILE.
ls PATH
List files in PATH.
-c, --diskcount=N
N input files.
-d, --debug=S
Set debug environment variable.
-n, --length=N
Handle N bytes in output file.
-r, --root=DEVICE_NAME
Set root device.
-s, --skip=N
Skip N bytes from output file.
-v, --verbose
Print verbose messages.
-?, --help
give this help list
--usage
give a short usage message
-V, --version
print program version
Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.
SEE ALSO
grub-probe(8)
The full documentation for grub-fstest is maintained as a Texinfo manual. If the info and grub-fstest programs are properly installed at
your site, the command
info grub-fstest
should give you access to the complete manual.
grub-fstest (GRUB) 1.99-12ubuntu5 October 2011 GRUB-FSTEST(1)