logoISU  

CS469/569 - Linux and Unix Administration and Networking

Spring 2022

Displaying ./code/02-24/README

ending early today

h6 - questions? will go over solutions next time
q5 - solutions, will grade over the weekend
attendance
C example - virtual / resident memory, status, /proc, core dump, etc.

q6 - over lesson 8, released within the  next few days, due Monday

Tuesday - review

Thursday - midterm exam, includes lessons 1-8, all quizzes and hw's so far

Process state
- also includes CPU state (accumulator, stack pointer, registers, program counter, ...)

Files
- linux system calls to deal with files (open, read, write)
  + don't use FILE *, you use a file descriptor (integer index into an array)
    write(1, "hello", 5); write to fd 1, stdout
  0 stdin, 1 stdout, 2 stder
  + fd = open("newfile.txt", "w");
    fd might be equal to 3