Any file or directory present in the ______ directory may not be reserved between the invocation of the program.
1./var
2./tmp
3./etc
4.all of the mentioned
“ps” command uses the file _____ to provide the information.
1./proc/[PID]/stat
2./proc/[PID]/smaps
3./proc/[PID]/oom_score_adj
4./proc/[PID]/oom_score
/proc/partitions contains
1.major number of each partition
2.minor number of each partition
3.number of block and partition name
4.all of the mentioned
Host specific configuration files are installed in
1. /etc directory
2./lib directory
3./root directory
4./bin directory
In awk program, the name of the array can not be same with the
1.name of variable
2.value of the array element
3.name of variable & value of the array element
4.none of the mentioned
In linux filesystem, the passwords of different users are stored in
1./etc/passwd file
2./bin/passwd file
3./etc/shadow file
4./bin/shadow file
Kernel modules are present in
1./lib directory
2./root directory
3./boot directory
4.none of the mentioned
Linux filesystem contains mainly
1.ordinary files
2.device files
3.directory files
4.all of the mentioned
Obtaining of the PID can be done by the utility
1.pgrep
2.pidof
3.ps
4.all of the mentioned
Operating system kernel must be located in
1./
2./boot
3.either in / or in /boot
4.none of the mentioned
Proc filesystem does not contains
1.sub-directories for installed buses
2.device files
3.list of registered DMA
4.none of the mentioned
Proc filesystem provides the information about
1.processes
2.processor
3.proxy server
4.none of the mentioned
Static files of the bootloader are installed in
1. /boot directory
2./root directory
3./bin directory
4./sbin directory
Superuser can change the _______ permissions of any file.
1.owner
2.group
3.other
4.all of the mentioned
System binaries are stored in
1./sbin directory
2./usr/sbin directory
3. /usr/local/sbin directory
4.all of the mentioned
The /boot directory stores the data that is used
1.before the kernel begins executing user mode programs
2.after the kernel begins executing user mode programs
3.before the bootloader is loaded in the RAM
4.none of the mentioned
The /dev directory contains the
1.device drivers
2.device files
3.kernel modules of device drivers
4.none of the mentioned
The /proc directory contains
1.numerical sub-directory for each running process
2.proxy server
3.a text listing of filesystems which are supported by the kernel
4.all of the mentioned
The buddy algorithm handles the
1.Memory fragmentation
2.DHCP server
3.Routing
4.None of the mentioned
The contents of root filesystem is responsible to
1.boot the system
2.recover the system
3.repair the system
4.all of the mentioned
The directory /media is the
1.mount point for removable media
2.mount point for filesystem
3.mount point for removable media & filesystem
4.none of the mentioned
The directory /opt is reserved for
1.installation of add-on application software packages
2.optional booting files
3.optional user specific files
4.none of the mentioned
The directory /proc/[PID]/tasks contains
1.hard links to any task that have been started by this process
2.files that containing tasks that have been started by this process
3.sub-direcories of various tasks
4.none of the mentioned
The directory /srv contains
1.site-specific data which is served by the system
2.all the system files
3.all the service files provided by the specific user
4.none of the mentioned
The entry for each file opened by the process is present in
1./proc/[PID]/fd
2./proc/[PID]/file
3./proc/[PID]/maps
4.none of the mentioned
The file /proc/cpuinfo is a collection of
1.cpu items
2.architecture independent items
3.both cpu items and architecture independent items
4.none of the mentioned
The file /proc/devices is the
1.text listing of major numbers
2.text listing of device groups
3.text listing of major numbers & device groups
4.none of the mentioned
The file /proc/modules is a text list of
1.static modules
2.minor number of each partition
3.modules that have been loaded by the system
4.none of the mentioned
The file /proc/swaps contains the
1.list of active swap partitions
2.sizes of the swap partitions
3.priorities of the swap partitions
4.all of the mentioned
The file /proc/[PID]/cgroups
1.describes control groups to which the process belongs
2.contains the information about all groups of the system
3.provides the information about the group which has generated the process
4.none of the mentioned
The file /proc/[PID]/cmdline holds the complete command line for the process, unless the process is a
1.child process
2.zombie process
3.orphan process
4.none of the mentioned
The file /proc/[PID]/limits displays the ______ for each of the process’s resource limits.
1.hard limit
2.soft limit
3.units of measurement
4.all of the mentioned
The file /proc/[PID]/maps contains the
1.currently mapped memory regions
2.available memory regions
3.memory regions which are free to map
4.none of the mentioned
The list of available frame buffers are stored in
1./proc/[PID]/fb
2./proc/fb
3./proc/etc/fb
4.none of the mentioned
The proc filesystem records the number of interrupts
1.per CPU only
2.per IO device only
3.per CPU per IO device
4.none of the mentioned
What is /bin/sh ?
1.bourne shell
2.hard or symbolic link to the real shell command
3.bash shell
4.both bash shell and bourne shell
What is /proc/[PID]/cwd?
1.symbolic link to current directory of the process
2.regular file containing the information about the current status of the process
3.directory containing various sub-directories
4.none of the mentioned
What is /proc/[PID]/root?
1.symbolic link that points to the process’s root directory
2.regular file which holds all the PID of the system
3.root directory
4.does not exists in the proc filesystem
What is /root?
1.root filesystem
2.home directory of the root user
3.the directory which contains all the directories of the filesystem
4.none of the mentioned
When we install a new package in linux system, then
1.all the files of the packages are installed in a single directory
2.different files are installed at different locations of the file system
3.package works just after extraction, installation is not required
4.none of the mentioned
Which file contains the boot options passed to the kernel?
1./proc/cmdline
2./proc/root
3./proc/boot
4.none of the mentioned
Which file of the proc filesystem can be used instead of “syslog” system call to read kernel messages?
1./proc/kmsg
2./proc/moudle/kmsg
3./proc/module/msg
4./proc/msg
Which one of the directory does not contain binary files?
1./bin
2./sbin
3. /etc
4.none of the mentioned
Which one of the following contains various bits of information about the state of power management?
1./proc/acpi
2./proc/apm
3.both /proc/acpi and /proc/apm
4.none of the mentioned
Which one of the following file contains the environment for the process?
1./proc/[PID]/environ
2./proc/[PID]/env
3./proc/[PID]/path
4.none of the mentioned
Which one of the following is a mount point for a temporarily mounted filesystem?
1./mnt directory
2./media directory
3./dev directory
4.none of the mentioned
Which one of the following is a symlink to the root path as seen by the process?
1./proc/[PID]/root
2./proc/[PID]/path
3.both /proc/apm and /proc/[PID]/path
4.none of the mentioned
Which one of the following is not correct?
1.proc filesystem does not contain any directory for thread in the process
2.in multithread process thread details will not be available if the main thread is already terminated
3.proc filesystem contain any directory
4.none of the mentioned
Which one of the following is not true about proc filesystem?
1.proc filesystem is a pseudo-filesystem
2.proc filesystem is used as an interface to kernel data structures
3.some files in proc filesystem allow kernel variables to be changed
4.none of the mentioned
Which one of the following operating system does not supports proc filesystem?
1. IBM AIX
2.QNX
3.Solaries
4.None of the mentioned