unix process

Posted on 2002-04-03
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?
Question by:spdevassy
LVL 51

Expert Comment

ID: 6917482
imagine your record size is 2MB, and you send one single byte

Expert Comment

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).

Expert Comment

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,
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud


Expert Comment

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.
LVL 20

Expert Comment

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


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

Accepted Solution

SpideyMod earned 0 total points
ID: 7805284
per recommendation

Community Support Moderator @Experts Exchange

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SSH commands for Nas4free 21 424
LastLogonTimeStamp Attribute 7 48
Parsing a file using ksh 10 64
Unix Command -- Challenging  question 7 90
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

777 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