nerdexam
Oracle

1Z0-105 · Question #79

Examine the D scrypt: syscall::read:entry, syscall::write:entry /pid == $1/ { ts[probefunc] = timestamp; } syscall::read:return, syscall::write:return /pid == $1 && ts[probefunc] != 0/ { printf("%d…

The correct answer is A. It produces aggregations of system calls made by the process whose PID is passed as a command-. See the full explanation below for the reasoning.

Question

Examine the D scrypt: syscall::read:entry, syscall::write:entry /pid == $1/ { ts[probefunc] = timestamp; } syscall::read:return, syscall::write:return /pid == $1 && ts[probefunc] != 0/ { printf("%d nsecs", timestamp - ts[probefunc]); } Which statement is true about this script?

Options

  • AIt produces aggregations of system calls made by the process whose PID is passed as a command-
  • BIt produces elapsed times for reads and writes to the entry and returns DTrace probes for the
  • CIt produces elapsed times between entry and return of read and write system calls for the process
  • DIt produces a measure of useful time spent in read and write system calls for the process whose

How the community answered

(38 responses)
  • A
    84% (32)
  • B
    3% (1)
  • C
    5% (2)
  • D
    8% (3)

Community Discussion

No community discussion yet for this question.

Full 1Z0-105 Practice