Linux Kernel Interview Questions
- -1of 1 vote
AnswersIn a particular directory, list the 15 recently modified files. ls -ltr | tail -15.
- psh June 08, 2009| Report Duplicate | Flag | PURGE
Amazon Development Support Engineer Linux Kernel - 0of 0 votes
AnswersCan Linux be compromised? How secure is Linux? How would you compromise a *NIX system?
- NH March 09, 2009| Report Duplicate | Flag | PURGE
Sophos Virus Researcher Linux Kernel Security - 0of 0 votes
AnswersHow do you debug a process which is consuming 90% of CPU?
- Anonymous January 17, 2009| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Linux Kernel - 0of 0 votes
Answerswhat are fork exec,IPC
- Nimmo January 08, 2009| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Linux Kernel - -2of 0 votes
Answershow can you periodically print the cpu usage of a given process id in Linux
- Amazonview October 30, 2008| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Linux Kernel - 0of 0 votes
AnswersUnix
- Xenith September 06, 2008
- IPC (inter process communication)
- how does ls comman work ( Interviewer wanted something like , the command line args are parsed and exec is performed with correspoding executable.| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Linux Kernel - 0of 0 votes
AnswersAfter fork, does new process get file handles and locks?
- Koonz July 22, 2008| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Linux Kernel - 0of 0 votes
AnswersIn unix, how do you kill all child processes of a particular parent?
- Alfy July 22, 2008| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Linux Kernel Terminology & Trivia - 0of 0 votes
AnswerIn unix, what is a defunct process ?
- Alfy July 22, 2008| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Linux Kernel Terminology & Trivia - 0of 0 votes
AnswerWhat is the unix command to a kill a process ?
- Alfy July 22, 2008| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Linux Kernel Terminology & Trivia - 1of 1 vote
AnswersCan u have a floating point operation inside a interrupt handler?
- backbone April 01, 2008
He asked me this question after he asked me whether there can be a print message inside a interrupt handler.| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Linux Kernel Computer Architecture & Low Level - 0of 0 votes
Answers1. DMA controller.
- Backbone April 01, 2008
2. Cache coherency.- MESI /MSI protocol
3. Cache coherency mechanism.
4. Interrupt handler.
5. what happens when function1 calls function2 with it.(like where does the linkage register stuff get stored..and resume execution)
6.Can u have reentrant code inside interrupt handler. (NO)
7.What will happen/can u have printf/printk inside an interrrupt hancler (i think he wanted me to say no.. but I did not know the reason)
8.context switch.. when do u need it.
9.what does a interrupt handler take in as input... and what does it return.( it does not accept or return anything)
10. what is the difference between ISR and interrupt handler.(Both are the same)
11.how to search a book in one million books.
12.How to check whether a linked list is circular.| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Linux Kernel Computer Architecture & Low Level Linked Lists - 0of 0 votes
Answers1. which kernel were u working? debugging techniques? challenges?
- backbone March 29, 2008
2. a mad user tries to allocate 1 gb memory using calloc.
but the program fails after allocationg about 800mg(appx. i dont remember). Tell me what could have gone wrong?
3.
We know disabling interrupts works only if it is single processor(i.e local disabling of interrupts).
Consider this case where we have a SMP(symmetric multi proc) the processor. Processor-1 wants to perform some critical operation so it disables all the interrupts.
What will happen when processor-2 throws an interrupt.| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer Linux Kernel - 0of 0 votes
AnswersHow do you shut down in linux?
- perllove January 19, 2008| Report Duplicate | Flag | PURGE
Amazon Development Support Engineer Linux Kernel - 0of 0 votes
AnswersExplain what the following does: ls | grep a
- lax September 26, 2007| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Linux Kernel Terminology & Trivia - 1of 1 vote
AnswersHow one can measure time spent in context switch.
- Jhelum March 16, 2007| Report Duplicate | Flag | PURGE
Symantec Software Engineer / Developer Linux Kernel