This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: CSci551 Spring 2009 Friday Section Homework 3 Assigned: Monday, March 30, 2009. Due: noon April 15, 2009. You are welcome to discuss your homework with other students, but each student is expected write his or her final answer independently and in his or her own words. Students are expected to consult whatever resources are necessary to answer homework questions, including things like class papers, textbooks, other papers or RFCs, and the web. However, as above, all answers are expected to be formulated independently in your own words. If you find you must use materials from other sources, standard academic policies applyyou need to cite what material you use and clearly indicate (such as by quotes) what material was yours and what is theirs. To submit this homework, please upload your one text, PDF (or postscript) file to the homework 3 location on the class moodle. Although usually simple text should be sufficient and is recommended as it is generally easier to mark up and give feedback about, this assignment requires graphs, so you may find PDF is the best choice. All students must include your name and student id in the body of the reply (so its self-contained), and please make sure you label the parts of your answer 1, 2, 3a, 3b, etc. In general, each part of a question should be answered in a few words or a few sentences. Answers that dont clearly identify what part of the question to which they apply, or that are overly long, may not get full credit. Corrections: 29-Mar-09: none yet 1: In this question you will take a quick sample of your personal computer files to see if they follow a heavy-tailed distribution, somewhat similar to Crovella and Bestavros work. First, pick the computer with most of your files on it. Go to your home directory (or My Documents and Program Files), or find the sizes of all the files under it. In Unix (or Linux or MacOS), you can do this in one line at the command prompt by running find piped into xargs with ls piped into awk or cut. (You may want to review the man pages for those commands, and remember to use the -print0 option to find and the -0 option to xargs if you have files or directories with spaces in them.) On other systems you may have to write a short program to walk the directory tree. This can be tricky to get right, although youre welcome to use libraries such as FTW in Perl, walk in Python, or ftw in C. Now tell us a bit about your system. a) What operating system are you looking at, and how long have you you used these files (approximately)?...
View Full Document
This note was uploaded on 08/05/2009 for the course CSCI 551 taught by Professor Billcheng during the Spring '08 term at USC.
- Spring '08