Solved

unix process

Posted on 2002-04-03
6
451 Views
Last Modified: 2013-12-06
All I/O in a Unix system is stream-oriented rather than record oriented as it is in most other Systems. what is the advantages and disadvantages of this approach?
0
Comment
Question by:spdevassy
6 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 6917482
imagine your record size is 2MB, and you send one single byte
0
 
LVL 3

Expert Comment

by:elfie
ID: 6921588
you don't have to define the record structure in advance.
you have 'free formatted' data in the files. Your application determine the file layout and not the OS. Although not directly related maximum files most not be known in advance (as on some record oriented systems).
0
 

Expert Comment

by:akhilesh_chadha
ID: 7068356
programs in unix system  have no knowlege of intrenal format in which kernel stores the data .treating file as stream of bytes,program may iterpret stream of bytes as they want for example the text formatting program "troff" expects to find a new line charater at end of each line while system accounting software  expets to find fixed lenth record  .both programs use same sysytem  services to acess the data in the file as a byte stream and iternally ,they parse the stream into suitable format,
 
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

Expert Comment

by:kslzzg
ID: 7102569
I believe stream I/O in OS is a lower level processing which make use of its features of block I/O or raw I/O to maximise the throughput and at the same time maintain the flexibility and scalability.  While Applications such as Oracle do recognise its data in terms of records to maintain data integrity and ease of operation, it still needs lower-level OS I/O to support this application-level operation through system call.
0
 
LVL 20

Expert Comment

by:tfewster
ID: 7621399
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
- PAQ & remove points

Please leave any comments here before 13/1/2003

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

tfewster (I don't work here, I'm just an Expert :-)
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 7805284
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question