Which of the following commands can be used to see files that are currently being used by a specific process ID (PID)?

A. psfiles
B. lsof
C. pstatus
D. pids

Answer: B

Computer Science & Information Technology

You might also like to view...

Which of the following statements is true?

a) strings can be used in switch expressions, but string literals cannot be used in case labels. b) strings cannot be used in switch expressions, but string literals can be used in case labels. c) strings can be used in switch expressions, and string literals can be used in case labels. d) strings cannot be used in switch expressions, and string literals cannot be used in case labels.

Computer Science & Information Technology

Consider the iostream library, in particular, cout and endl. Assume that the #include has been executed. At this point, there are three ways to specify cout and endl so the compiler will be able to find these names when you output say “Hello World”. Give all three methods.

What will be an ideal response?

Computer Science & Information Technology