Presentation is loading. Please wait.

Presentation is loading. Please wait.

CSC552 Fall 2015 week 1 outline Parson, UNIX, and so forth

Similar presentations


Presentation on theme: "CSC552 Fall 2015 week 1 outline Parson, UNIX, and so forth"— Presentation transcript:

1 CSC552 Fall 2015 week 1 outline Parson, UNIX, and so forth http://faculty.kutztown.edu/parson

2 Chapter 1 stuff UNIX has been around for a while (since ‘69). It started in Bell Labs as a skunk works project. It has many variants. Research versions, Berkeley System Distribution, SunOS / Solaris, AT&T System V, Mach, Mac OSX, Linux flavors. We will concentrate on system calls & utilities that are “universal,” especially according to POSIX standards. The textbook came out in 2003. The system calls haven’ changed (much). Linux & bash are more prominent (no problem). Otherwise, the big changes build atop the UNIX base.

3 Ch. 2 Programs, Processes & Threads UNIX section 2 system calls, section 3 libraries, section 1 utilities. ps –flu, pgrep, pmap, pstack, ptrace, nm Compare Linux (acad)& Solaris (harry) To use C or C++ in this course? runcat2 makefile, C program, run-time env. – http://faculty.kutztown.edu/parson/spring2011/cs c352s2011runcat2.pdf linked on course page. http://faculty.kutztown.edu/parson/spring2011/cs c352s2011runcat2.pdf

4 Ch. 2 Programs, Processes & Threads Command line arguments (argc, argv, arge). Environment (env, set, export, genenv, setenv). Storage classes in C. – Static, stack (regular local variables & parameters), heap (dynamic, allocated via malloc() -> brk(). Scope in C. – Global, file static, local.

5 Chapter 3, Processes in UNIX Process ID and Process state. http://acad.kutztown.edu/~parson/rr.jpg http://acad.kutztown.edu/~parson/rr_lrupage_dirty_gl obal_subgraph.jpg http://acad.kutztown.edu/~parson/rr_lrupage_dirty_gl obal_subgraph.jpg fork() to start a child process exec() to replace the current running process wait() for a parent process to wait on a child critical sections


Download ppt "CSC552 Fall 2015 week 1 outline Parson, UNIX, and so forth"

Similar presentations


Ads by Google