?
Solved

unix process

Posted on 2002-04-03
6
Medium Priority
?
459 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

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 21

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:
Suggested Courses

770 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