Information Technology Reference
In-Depth Information
Question 3
Which of the following are proc tools? [Select all that apply.]
❑
A.
pstop
❑
B.
pfiles
❑
C.
pstart
❑
D.
pwdx
❑
E.
psig
❑
F.
pmem
Answers A, B, D, and E are correct. The
pstop
command (answer A) stops
the specified process(es). The
pfiles
command lists the file(s) opened by the
specified process(es). The
prun
command, not the
pstart
command, is used
to restart the specified process(es). Therefore, answer C is incorrect. The
pwdx
command is used to display the current working directory of the
specified process(es). The
psig
command is used to list pending signals asso-
ciated with the specified process(es). The
pmap
command, not the
pmem
command, is used to display memory usage of the specified process(es).
Question 4
Which of the following pseudo-file systems are used to provide fast local access
to files and directories? [Select all that apply.]
❑
A.
TMPFS
❑
B.
LOFS
❑
C.
SWAPFS
❑
D.
PROCFS
❑
E.
CACHEFS
Answers A and E are correct. Both provide a local cache for data. A
TMPFS
instance is used for temporary data that is lost when the system is shut down
or rebooted. A
CACHEFS
instance is used for data from remote file systems or
slow devices.
LOFS
provides alternative pathnames, therefore it is incorrect.
SWAPFS
provides system swap space, which is used to store memory contents;
therefore it is incorrect.
PROCFS
provides information about active processes,
which is also incorrect.