Choose a topic to test your knowledge and improve your Unix/Lunux skills
What is a context switch?
Pid of init process
What is the default maximum number of processes that can exist in Linux?
How do you get parent process identification number?
Parent process id of a deamon process is
The process which terminates before the parent process exits becomes
Return value of fork() system call can be:
If the fork() system call returns -1, then it means?
Fork returns _____ to parent process on success
On x86-32 Linux, at which address the code segment of the program starts?
On x86-32 Linux, at which address the user stack resides normally?
A system has 512MB of physical memory. Which among the following is not a suitable virtual memory size for this system architecture?
LRU stands for
Mm_struct maintains?
Which sytem call can be used by a user process to lock a memory so that it cannot be swapped out?
Among these files which has an ELF format
What is the use of strace command?
If one of the thread in multithreaded process is blocked on an I/O, which of the following is true?
Which one can be a real time schedule policy?
In Linux kernel-2.6 Real time priority ranges from
Solaris real time class priority is
Solaris System class priority is
Each process has unique
File descriptor table indexes which kernel structure?
What is the default number of files open per user process?
The file system information is stored in
Switch table is used by
What is the use of fcntl function?
Which function can be used instead of the dup2 to duplicate the file descriptor?
printf() uses which system call
read() system call on success returns
Which system call is used to create a hard link?
namei() is
dup2(1,0)
If a signal is received by a process, when will it be processed?
Which signal is generated when we press control-C?
Which signal is generated when we press ctrl-Z?
Which signal is sent when the Child process terminates?
Which of the following signal cannot be handled or ignored?
Another signal that cannot be caught is:
When real interval timer expires which signal is generated?
Signals are handled using which system call?
Default action of SIGSEGV is
The kill system call is used to
Which is true regarding pipes?
The persistancy of a FIFO is
Advantage of FIFO over pipe is
What mkfifo() creats?
System V IPC common attributes are
Which one of the following is not system V IPC ?