Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uva
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Taddeüs Kroes
uva
Commits
031631c4
Commit
031631c4
authored
14 years ago
by
Taddeüs Kroes
Browse files
Options
Downloads
Patches
Plain Diff
- The final changes to OS ass3.
- Part 1 of graphics ass7.
parent
a3256cb4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
graphics/ass7/intersection.c
+1
-1
1 addition, 1 deletion
graphics/ass7/intersection.c
graphics/ass7/main
+0
-0
0 additions, 0 deletions
graphics/ass7/main
os/ass3/fishbones.c
+7
-0
7 additions, 0 deletions
os/ass3/fishbones.c
os/ass3/report/report.tex
+19
-1
19 additions, 1 deletion
os/ass3/report/report.tex
with
27 additions
and
2 deletions
graphics/ass7/intersection.c
+
1
−
1
View file @
031631c4
...
...
@@ -2,7 +2,7 @@
*
* Student name .... Sander van Veen & Taddeus Kroes
* Student email ... sandervv@gmail.com & taddeuskroes@hotmail.com
* Collegekaart ....
...
& 6054129
* Collegekaart ....
6167969
& 6054129
* Date ............ 07.11.2010
*/
...
...
This diff is collapsed.
Click to expand it.
graphics/ass7/main
0 → 100755
+
0
−
0
View file @
031631c4
File added
This diff is collapsed.
Click to expand it.
os/ass3/fishbones.c
+
7
−
0
View file @
031631c4
/*
* Student name .... Sander van Veen & Taddeus Kroes
* Student email ... sandervv@gmail.com & taddeuskroes@hotmail.com
* Collegekaart .... 6167969 & 6054129
* Date ............ 07.11.2010
*/
#include
<stdio.h>
#include
<stdlib.h>
#include
<sys/types.h>
...
...
This diff is collapsed.
Click to expand it.
os/ass3/report/report.tex
+
19
−
1
View file @
031631c4
...
...
@@ -33,7 +33,9 @@ breaklines=false
\usetikzlibrary
{
shapes,arrows
}
\title
{
Operating systems opdracht 3:
\\
ICP met fork/pipe
}
\author
{
Sander van Veen
\&
Tadde
\"
us Kroes
}
\author
{
Sander van Veen
\&
Tadde
\"
us Kroes
\\
6167969
\&
6054129
\\
\url
{
sandervv@gmail.com
}
\&
\url
{
taddeuskroes@hotmail.com
}
}
\begin{document}
...
...
@@ -250,11 +252,27 @@ if( read(pipe_id[0], &c, 1) <= 0 )
\subsection
{
Experimenten met logfiles
}
Allereerst hebben wij zes tekstbestanden gemaakt en gevuld met de aangegeven
invoer van het practicum. Om eenvoudig te zien wat het resultaat was van de
verschillende invoer, is er een bash-scriptje gemaakt:
\begin{lstlisting}
[language=bash,numbers=none,backgroundcolor=
\color
{
darkgray
}
]
for i in
{
1..6
}
; do ./fish < input
$
i.txt;
\
.
/
view
-
logs.bash; done
\end
{
lstlisting
}
\textbf
{
Waarnemingen
}
\begin
{
enumerate
}
\item
Als in de logbestanden staat ``Child
$
n
$
read from pipe with error and
exited'', dan komt dat doordat het ouderproces is getermineerd en een van
de kindprocessen
\texttt
{
read
()
}
aanroept. Dit geeft een fout omdat de
pipe is verbroken
(
ouderproces bestaat immers niet meer
)
.
\item
Ook valt op dat de melding ``Program exited normally'' in de logfiles
wordt geplaatst en er vervolgens nog gelezen wordt door het ouderproces.
Dit heeft te maken met de buffer van de logfiles.
\end
{
enumerate
}
% In de aangeleverde code worden met opzet meerdere verschillende log files
% worden aangemaakt, op verschillende plaatsen/tijdstippen en met verschillende
% eigenschappen. Bestudeer je log files ook steeds goed. Wat komt er in terecht?
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment