Workbook 2: Hardware Flashcards
Which process types are supported by Red Hat Enterprise Linux?
Intel and AMD x86 32 bit processors, Intel and AMD x86 64 bit processors, IBM s/390 processors, IBM series Z processors
The /proc filesystem provides what function?
It provides an interface for humans to view information in the kernel.
What is an expected device name for a USB drive on a system ?
/dev/sdb
Which file contains a snapshot of the kernel’s dmesg buffer soon after the most recent boot?
/var/log/dmesg
Which command displays the current contents of the kernel’s dmesg buffer?
dmesg
What command can be used to monitor hardware changed dynamically?
lshal -m
In what directory are kernel modules found?
/lib/modules/kernel-version/
What command is used to request the removal of a module?
modprobe -r
Which of the following would be a conventionally named static kernel image?
/boot/vmlinuz-2.6.32-8
Which of the following could be a reason that the module cannot be removed?
The module’s usage count is greater than 0. OR The module is depended on by another module which is in use.
What command is used to list all currently inserted kernel modules?
lsmod
Which command can be used to request the insertion of a kernel module?
modprobe
What configuration file is examined whenever modprobe inserts a module?
/etc/modprobed/*.conf
Which file contains values for /proc/sys/ directory entries which are set automatically at boottime?
/etc/sysctl.conf
After editing the file mentioned in the previous question, what command can be run to immediately implement the changes?
sysctl -p
Within the configuration file mentioned above, which of the following lines would correctly set the value of /proc/sys/net/ipv4/ip_forward to 1?
net.ipv4.ip_forward = 1
Which of the following commands conveniently lists all connected PCI devices?
lspci
What about the above output implies a misconfiguration of the machine?
None of these conditions necessarily imply problems.
Which of the following files lists currently claimed I/O ports?
/proc/ioports
Which of the following files lists the physical addresses of currently mapped memory (including RAM and other devices)?
/proc/iomem
What I/O port base address(es) is (are) being used by the sound card?
2000 and 2400
How much of the video card’s memory has been mapped into the system?
48 megabytes
which file lists modules loaded on the system?
/proc/devices
What two types of filesystem device nodes exist in Linux?
character and block device nodes
Which of the following files is the device node for the CDROM drive?
/dev/sr0
Which of the following is the device node for the SCSI disk with a SCSI ID of 3?
Not enough information is provided
A USB drive is added to the system. What command must be run to create the device node?
No command needs to be run. udev will create the device node automatically
What is the name of the utility which displays a dynamically updated list of processes currently running on the machine, as well as CPU and memory utilization statistics?
top
What file contains information about current memory utilization?
/proc/meminfo