Krishna Logo
qa training in canada now
Divied
Call: Anusha @ 1 (877) 864-8462

 

Latest News
Home Navigation Divied
INTERVIEW Navigation Divied UNIX INTERVIEW QUESTIONS
Showing 311 - 320 of 324 Previous | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | Next
UNIX INTERVIEW QUESTIONS
 

    Ans: First, use ps to get the process id (PID) Try using: kill  This will give the process a chance to clean up after itself, like removing temp files, etc. Some processes will not accept or ignore this signa...  

 
 
312How Do I Get A Process To Coredump?
Date Posted: 07/01/2012

Ans: Send it the QUIT signal. This is usually done with Control-

        It will cause the process to exit and generate a core file.
        You can also use: kill -s SIGQUIT

 
 
Date Posted: 07/01/2012

  Ans: The UNIX command 'ldd' lists dynamic dependencies of executables or shared objects. Basically, it is used to list what shared libraries an executable depends on. When an executable is launched, it expects to load certai...  

 
 
314How Do I Look Up A UNIX Signal Number?
Date Posted: 07/01/2012

Ans: Use: kill -l
This will list the signals and their numbers
Also, look in /usr/include/sys/signal.h
All the signals are listed in here as well

 
 

  Ans: Add a fourth digit to the 'chmod' command For example, to set permissions to 755 you would normally use: chmod 755 To set the setuid bit, add a 4 before the 755, like: chmod 4755 To set the setgid bit, use: chmod 2...  

 
 

  1.     How do I remove a file that begins with a hyphen? (Like -filename)? Ans: rm will normally complain about an invalid option if you say: rm -filename Most UNIX commands will behave this way, treating the c...  

 
 

   My Escape key does not work in VI? Help! Ans: Go to your NCD boot server machine (orlsun1, 2, 10, or 11) There should be a file called 'xh' in your home directory. Add these two lines to the file: /usr/open win...  

 
 
318 What Are The Processes That Are Not Bothered By The Swapper? Give Reason
Date Posted: 07/01/2012

  1. Zombie process: They do not take any up physical memory.
  2. Processes locked in memories that are updating the region of the process.
  3. Kernel swaps only the sleeping processes rather than the 'ready-to-run' processes, as they have the higher probability of being scheduled than the Sleeping processes.

 
 
319What Are The Phases Of Swapping A Page From The Memory?
Date Posted: 07/01/2012

·         Page stealer finds the page eligible for swapping and places the page number in the list of pages to be swapped.

·         Kernel copies the page to a swap device when necessary and clears the valid bit in the page table entry, decrements the pfdata reference count, and places the pfdata table entry at the end of the free list if its reference count is 0.

 
 
Date Posted: 07/01/2012

  Ans: A link is a pointer or reference to another file. A directory in UNIX has a list of file names and their corresponding inodes. A directory entry can have an Inode pointing to another file. This is a hard link. When a hard link ...  

 
Showing 311 - 320 of 324 Previous | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | Next
Shadow Bottom
 
 
© 2005 -