|
211. How To Find Free Space In Unix/Linux?
Date Posted: 07/02/2012
Ans: The df command displays the amount of disk space occupied by mounted or unmounted file systems, the amount used and available space, and how much of the file system's total capacity has been used. The file system is specified by device, or by referring to a file or directory.
The disk usage (du) command outputs the number of kilobytes used by each subdirectory on current path. Useful if you have gone over quota and you want to find out which directory has the most files.
|
|
|
Ans: Unix identifies each process with a unique integer called ProcessID. The process that executes the request for creation of a process is called the 'parent process' whose PID is 'Parent Process ID'. Every process is associated ...
|
|
|
Ans:
Swapping:
Whole process is moved from the swap device to the main memory for execution. Process size must be less than or equal to the available main memory. It is easier to implementation and overhead to the system. Swappi...
|
|
|
214. How Do You Check how Much Space Left In Current Drive ?
Date Posted: 07/02/2012
Ans: By using “df”
command in UNIX. For example “df -h.” will list how full your current
drive is.
|
|
|
215. How Do You Find which Process Is Taking How Much CPU?
Date Posted: 07/02/2012
Ans: By using “top” command in UNIX.
|
|
|
216. How Do You Copy file From One Host To Other?
Date Posted: 07/02/2012
Ans: Many options but you can say by using “scp” command.
|
|
|
217. How Do You See command Line History In UNIX?
Date Posted: 07/02/2012
Ans: use history command along with grep to find any relevant command you have already executed.
|
|
|
218. How Do You Know If A Remote Host Is Alive Or Not?
Date Posted: 07/02/2012
Ans: by using either ping or telnet command in UNIX.
|
|
|
219. How Will You Run A process In Background? How Will You Bring That Into Foreground And How Will You kill That Process?
Date Posted: 07/02/2012
Ans: For running a process in background use “&” in command line. For bringing it back in foreground use command “fg jobid” and for getting job id you use command “jobs”, for killing that process find PID and use kill -9 PID command.
|
|
|
220. How Do You Find Whether Your System Is 32 Bit Or 64 Bit ?
Date Posted: 07/02/2012
Ans: Either by using
“uname -a” command or by using “arch” command.
|
|