Advertisement
hak8or

Untitled

Nov 12th, 2014
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.77 KB | None | 0 0
  1. hak8or_1@os_hw:~/workspace (master) $ make test
  2. ~/temp/run.me
  3. ==================== System Params ====================
  4. Printer count: 1
  5. Disk count: 1
  6. disk 0 cylinders: 100
  7. CD count: 1
  8. Time slice duration in ms: 5
  9. =======================================================
  10.  
  11. API: Commands can be enterd in the following formats:
  12. -> p
  13. -> p1
  14. -> quit (exits the program)
  15. -> A
  16.  
  17. -> A
  18.  
  19. -> A
  20.  
  21. -> A
  22.  
  23. -> Sd
  24. =============================== DISK QUEUE ===============================
  25. PID | FILENAME | STRT_LOC | FILE_LEN|r/w| Total CPU | avg burst | Cylndr |
  26.  
  27. Systems average total CPU time of completed processes: 0
  28.  
  29. -> Sr
  30. PID | Total CPU | avg burst | ============ READY QUEUE ============
  31. 0| 0| 0| <-- inside CPU
  32. 1| 0| 0|
  33. 2| 0| 0|
  34. 3| 0| 0|
  35.  
  36. Systems average total CPU time of completed processes: 0
  37.  
  38. -> d0
  39. filename: 50
  40. r or w: 50
  41. start location: 50
  42. Bad rw option, assuming read.
  43. Cylinder: 50
  44. Time in CPU: 50
  45. Bad rw option, assuming read.
  46. Time in cpu can't be greater than the time slice duration, assuming 5 (time slice duration).
  47.  
  48. -> Sd
  49. =============================== DISK QUEUE ===============================
  50. PID | FILENAME | STRT_LOC | FILE_LEN|r/w| Total CPU | avg burst | Cylndr |
  51. --> Disk# 0 Current cylander head location: 0 <--
  52. 0| 50| 50| N/A | r | 5| 5| 50|
  53.  
  54. Systems average total CPU time of completed processes: 0
  55.  
  56. -> D0
  57.  
  58. -> Sd
  59. =============================== DISK QUEUE ===============================
  60. PID | FILENAME | STRT_LOC | FILE_LEN|r/w| Total CPU | avg burst | Cylndr |
  61.  
  62. Systems average total CPU time of completed processes: 0
  63.  
  64. -> d0
  65. filename: 50
  66. r or w: 50
  67. start location: 50
  68. Bad rw option, assuming read.
  69. Cylinder: 50
  70. Time in CPU: 50
  71. Bad rw option, assuming read.
  72. Time in cpu can't be greater than the time slice duration, assuming 5 (time slice duration).
  73.  
  74. -> Sd
  75. =============================== DISK QUEUE ===============================
  76. PID | FILENAME | STRT_LOC | FILE_LEN|r/w| Total CPU | avg burst | Cylndr |
  77. --> Disk# 0 Current cylander head location: 50 <--
  78. 1| 50| 50| N/A | r | 5| 5| 50|
  79.  
  80. Systems average total CPU time of completed processes: 0
  81.  
  82. -> d0
  83. filename: 60
  84. r or w: 60
  85. start location: 60
  86. Bad rw option, assuming read.
  87. Cylinder: 60
  88. Time in CPU: 60
  89. Bad rw option, assuming read.
  90. Time in cpu can't be greater than the time slice duration, assuming 5 (time slice duration).
  91.  
  92. -> Sd
  93. =============================== DISK QUEUE ===============================
  94. PID | FILENAME | STRT_LOC | FILE_LEN|r/w| Total CPU | avg burst | Cylndr |
  95. --> Disk# 0 Current cylander head location: 50 <--
  96. 1| 50| 50| N/A | r | 5| 5| 50|
  97. 2| 60| 60| N/A | r | 5| 5| 60|
  98.  
  99. Systems average total CPU time of completed processes: 0
  100.  
  101. -> d0
  102. filename: 40
  103. r or w: 40
  104. start location: 40
  105. Bad rw option, assuming read.
  106. Cylinder: 40
  107. Time in CPU: 40
  108. Bad rw option, assuming read.
  109. Time in cpu can't be greater than the time slice duration, assuming 5 (time slice duration).
  110.  
  111. -> Sd
  112. =============================== DISK QUEUE ===============================
  113. PID | FILENAME | STRT_LOC | FILE_LEN|r/w| Total CPU | avg burst | Cylndr |
  114. --> Disk# 0 Current cylander head location: 50 <--
  115. 1| 50| 50| N/A | r | 5| 5| 50|
  116. 2| 60| 60| N/A | r | 5| 5| 60|
  117. 3| 40| 40| N/A | r | 5| 5| 40|
  118.  
  119. Systems average total CPU time of completed processes: 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement