Enlist the operating system tools. Explain any two in detail.

1 Answer

Answer :

Following are the operating tools:

 User Management

 Security policy

 Device Management

 Performance Monitor

 Task Scheduler

A) User management:

 User management includes everything from creating a user to deleting a user on your system. User management can be done in three ways on a Linux system.

 Command line tools include commands like useradd, userdel, usermod, passwd, etc. These are mostly used by the server administrators.

Useradd: With useradd commands you can add a user.

Syntax: useradd -m -d /home/<userName> -

c "<userName>" <userName>

Example: useradd -m -d /home/xyz -c "xyz" xyz

File /etc/default/useradd contains some user default options.

The command useradd -D can be used to display this file.

Syntax: useradd -D

Userdel: To delete a user account userdel command is used.

Syntax: userdel -r <userName>

Usermod: The command usermod is used to modify the properties of an existing user.

Syntax: usermod -c <'newName'> <oldName>

Example: usermod -c 'vppoly' john

Using passwd command

Passwd: A user can set the password with the command passwd. Old password has to be typed twice before entering the new one.

Syntax: passwd <userName>

Example: passwd vppoly

B) Device Management:

Device management is the process of managing the implementation, operation and maintenance of a physical and/or virtual device.

All Linux device files are located in the /dev directory, which is an integral part of the root (/) filesystem because these device files must be available to the operating system during the boot process.

Example: ls –l /dev

Above example gives the list of device file from kernel.

Udev supplies a dynamic device directory containing only the nodes for devices which are connected to the system. It creates or removes the device node files in the /dev directory.

C) Performance Monitor:

It is very tough job for every system or network administrator to monitor and debug Linux System Performance problems every day.

The commands discussed below are some of the most fundamental commands when it comes to system analysis and debugging Linux

server issues such as:

1) vmstat: Virtual memory statistics

The vmstat command reports information about processes, memory, paging, block IO, traps, and cpu activity.

$ vmstat 3

2)top: Process activity monitoring command top command display Linux processes. It provides a dynamic real-time view of a running system i.e. actual process activity. By default, it displays the most CPU-intensive tasks running on the server and updates the list every five seconds.

$ top

3) free: Show Linux server memory usage free command shows the total amount of free and used physical and swap memory in the system, as well as the buffers used by the kernel.

# free

4) iostat: Montor Linux average CPU load and disk activity iostat command report Central Processing Unit (CPU) statistics and input/output statistics for devices, partitions and network filesystems (NFS).

# iostat

5) netstat Linux network and statistics monitoring tool netstat command displays network connections, routing tables, interface statistics, masquerade connections, and multicast memberships.

# netstat –tulpn

Related questions

Description : Enlist types of operating system. Explain multiprogramming OS in detail.

Last Answer : Types of operating system 1.Batch Systems 2.Multiprogramming 3.Multitasking 4.Time-Sharing Systems 5.Desktop Systems 6.Distributed system 7.Clustered system 8.Real Time system: Multiprogramming ... multiprogramming: user can open word, excel, access and other applications in a system.

Description : Enlist different file allocation methods? Explain contiguous allocation method in detail.

Last Answer : From the user's point of view, a file is an abstract data type. It can be created, opened, written, read, closed and deleted without any real concern for its implementation. The implementation of a ... a times is difficult to estimate. 4. Compaction may be required and it can be very expensive.

Description : Explain multithreading model in detail.

Last Answer : Many systems provide support for both user and kernel threads, resulting in different multithreading models. Following are three multithreading model: Many-to-One Model The many-to- ... True concurrency cannot be achieved. Multiple threads of kernel is an overhead for operating system

Description : List components of OS. Explain process management in detail.

Last Answer : List of System Components: 1. Process management 2. Main memory management 3. File management 4. I/O system management 5. Secondary storage management Process Management: The operating ... synchronization. 4. A mechanism for process communication. 5. A mechanism for deadlock handling.

Description : List free space management techniques? Describe any one in detail.

Last Answer : A file system is responsible to allocate the free blocks to the file therefore it has to keep track of all the free blocks present in the disk. There are mainly four approaches by using which, the free ... block. This block contains a pointer to the next free disk block, and so on.

Description : List any four features of open source operating system.

Last Answer : 1. Open Source: open source OS code is freely available and it is community based development project. Multiple team's works in collaboration to enhance the capability of operating system and it is ... issuing a command in Linux Terminal or Shell. Linux can also run Windows applications if needed.

Description : Define real time operating system. List its any four applications of it.

Last Answer : Real time Operating System: A real time system has well defined fixed time constraints. Processing should be done within the defined constraints -Hard and Soft real time system. OR The ... Applications: 1. Flight Control System 2. Simulations 3. Industrial control 4. Military applications

Description : Explain LRU page replacement algorithm for following reference string. 7 0 1 2 0 3 0 4 2 3 0 3 2 1 2 0 1 7 0 1 Calculate the page fault.

Last Answer : LRU: The Least Recently Used (LRU) page replacement policy replaces the page that has not been used for the longest period of time. LRU replacement associates with each page the time of that page's last use. ... in question so assume frame size as 3 or 4) LRU: Assume frame size=3

Description : Explain PCB with diagram.

Last Answer : Each process is represented as a process control block (PCB) in the operating system. It contains information associated with specific process. Process State: It indicates current state of a process. ... . Each PCB gives information about a particular process for which it is designed.

Description : Explain Round Robin algorithm with suitable example.

Last Answer : It is preemptive scheduling algorithm. A small unit of time known as a time quantum or time slice is used for pre-emption of a currently running process. Ready queue is implemented as a circular ... has received 1 time quantum, the CPU returns to process P1 for an additional time quantum. 

Description : Explain partitioning and its types.

Last Answer : An important operation of memory management is to bring programs into main memory for execution by the processor. Partitioning is a technique that divides a memory into multiple partitions. These partitions ... in memory. For example: Consider following table with process and memory space.

Description : Explain deadlock? What are necessary conditions for deadlock?

Last Answer : In multiprogramming environment, several processes may compete for a finite number of resources. A process requests resources and if the resources are not available then the process enters into the ... Each process is waiting for the resources held by other waiting processes in circular form.

Description : With neat diagram explain inter process communication model.

Last Answer : Inter-process communication: Cooperating processes require an Interprocess communication (IPC) mechanism that will allow them to exchange data and information. There are two models of IPC 1. ... a communication link between them. Between each pair of processes exactly one communication link.

Description : Explain any four scheduling criteria.

Last Answer : 1. CPU utilization: In multiprogramming the main objective is to keep CPU as busy as possible. CPU utilization can range from 0 to 100 percent. 2.Throughput: It is the number of processes ... fairly early and can continue computing new results while previous results are being output to the user.

Description : Explain any 4 services provided by OS.

Last Answer : 1.User Interface: All operating systems have a user interface that allows users to communicate with the system. Three types of user interfaces are available: a. Command line interface ( ... to system resources. Security is provided by user authentication such as password for accessing information.

Description : What is purpose of system call? State two system calls with their functions.

Last Answer : System call provides an interface between a running program and operating system. It allows user to access services provided by operating system. This system calls are procedures written using C, ... send, receive messages transfer status information attach or detach remote devices. 

Description : State and describe types of scheduler.

Last Answer : There are three types of scheduler: Long term scheduler Short term scheduler Medium term scheduler 1. Long term scheduler: It selects programs from job pool and loads them into the ... scheduler works in close communication with long term scheduler for loading process into the main memory. 

Description : Write Unix command for following: i)create a folder OSY ii) create a file FIRST in OSY folder iii) List/display all files and directories. iv) Write command to clear the screen

Last Answer : i) create a folder OSY: $mkdir OSY ii)create a file FIRST in OSY folder: $cd OSY $cat>FIRST or $ touch FIRST iii) List/display all files and directories: $ls iv) to clear screen: $clear

Description : Describe sequential and direct access method.

Last Answer : Sequential access: Information from the file is processed in order i.e. one record after another. It is commonly used access mode. For example, editors and compilers access files in sequence. A read ... prevent the user from accessing portions of the file system that may not be part of his file.

Description : Describe I/O Burst and CPU Burst cycle with neat diagram.

Last Answer : CPU burst cycle: It is a time period when process is busy with CPU.  I/O burst cycle: It is a time period when process is busy in working with I/O resources. A process execution consists ... cycle and so on. The final CPU burst cycle ends with a system request to terminate execution.

Description : Describe any four file attributes

Last Answer : File attributes: Name: The symbolic file name is the only information kept in human readable form. Identifier: File system gives a unique tag or number that identifies file within file ... Last modification and last use. These data can be useful for protection, security and usage monitoring.

Description : Write syntax for following commands: i)Sleep ii)Kill

Last Answer : i)sleep Syntax: sleep NUMBER[SUFFIX]… sleep OPTION ii) kill Syntax: kill pid

Description : Define virtual memory

Last Answer : Virtual memory is a memory management capability of an operating system (OS) that uses hardware and software to allow a computer to compensate for physical memory shortages by temporarily transferring data ... can be placed in overlays, but can concentrate instead on the problem to be programmed. 

Description : Draw process state diagram.

Last Answer : process state diagram

Description : Enlist types of weir and explain any one in detail.

Last Answer : Types of weirs are a) Based on materials of construction 1) Masonry weir 2) Rock-fill weir 3) Concrete weir b) Based on use and function 1) Storage weir 2) Pick- ... Canal has to run idle c) The terrain is geographically difficult so that canal alignment is very costly or impossible

Description : Name the various tools used in CNC turning centre. Explain any one in detail.

Last Answer : Tools used on Turning Centre: 1. External Turning Tools: 2. Boring Bars:   3. Drills:   4. Threading Tools:   5. Parting Tools:   A. On the Basis of Cutting Tool Construction: ( ... (HCS). (c) Cast alloy. (d) Cemented carbide. (e) Ceramics. (f) Boron Nitride. (g) Diamond. 

Description : How can I get to see the different menus under "Tools" in one page? See detail.

Last Answer : So just so I know that we’re on the same page, you’re going to Tools>Options and then you see various tabs such as Search, Tools, Sharing, Buttons, Layout, Autofill, right?

Description : What are Popular RPA tools? Describe each one in detail

Last Answer : There are mainly three popular RPA tools. Blue Prism: Blue Prism software offers business operations to be agile and cost-effective by automating rule-based, repetitive back-office ... Windows desktop software used for automation for various types of web and desktop-based applications.

Description : What are the general guidelines for operating Power Tools safely?

Last Answer : Never carry a tool by the cord or hose. Never yank the cord or the hose to disconnect it from the receptacle. Keep cords and hoses away from heat, oil, and sharp edges. Disconnect tools when they ... in moving parts. Remove all damaged portable electric tools from use and tag them:" Do not use."

Description : Enlist any four factors which affect selection of material handling system. Explain which type of material handling system is suitable for: (i) Unloading two wheelers from truck ii) Stacking of pallets in store racks.

Last Answer : Four Factors affecting Selection of Material Handling System: [1] Adaptability and Flexibility [2] Type of Material to be handled [3] Type of Layout [4] Type of Production [5] ... [11] Cost of installation and handling Suitable Material Handling Devices for Following Activities:

Description : Explain working of Variable Valve Timing and Electronic lift control (VTEC) system. Enlist its advantage and Drawbacks

Last Answer : Answer: Working of Variable Valve Timing and Electronic lift control (VTEC) system:- VTEC (which stands for Variable Valve Timing and Lift Electronic Control) is an electronic and mechanical system ... 2) Maintenance cost is high 3) Very complex structure required complicated control system.

Description : Enlist and explain in brief the functions of Hydraulic  oil in a hydraulic system

Last Answer : Following are the main functions of hydraulic fluid: 1. To transmit power(basic purpose). 2. To lubricate the moving parts. 3. To seal gaps and clearances between mating components. 4. To dissipate heat generated by internal friction. 5. To prevent rust and corrosion of internal parts.

Description : Enlist types of electrical wiring systems. Explain casing and capping type wiring system.

Last Answer : List the types of Internal wiring in residential installations - 1) Cleat wiring 2) Batten wiring 3) Wooden casing capping wiring 4) PVC conduit wiring 5) PVC casing capping ... less chances of mechanical injury. Future expansion is possible and repairing and maintenance is easily possible. 

Description : Enlist different unit operations. Explain any one in details

Last Answer : Different unit operations: 1. Size reduction 2. Size separation or screening 3. Mixing 4. Filtration 5. Sedimentation 6. Extraction 7. Distillation 8. Drying 9. Crystallization 10 ... the solid phase to the gas phase. Usually a solid or nearly solid materials are processed in dryer.

Description : Define shoring. Enlist types of shoring. Explain any one type with neat sketch.

Last Answer : Shoring:- Shoring is the construction of a temporary structure to support temporarily an unsafe structure. These support walls laterally. Shoring can be used when walls bulge out, when walls crack due to ... of the structure above and transfer same to the ground on firm foundation below. 

Description : Enlist different types of staircase. Explain any one type with a neat sketch.

Last Answer : Types of Staircase: 1. Straight Stair 2. Dog legged Stair 3. Quarter turn Stair 4. Open well Stair 5. Three quarter turn Stair 6. Bifurcated Stair 7. Geometrical Stair 8. Circular ... . This well may be rectangular or of any geometrical shape and it can be used for fixing lift.

Description : Enlist different types of traffic island and explain any one in brief with neat sketch.

Last Answer : The different types of traffic island are as follow: (1) Rotary or central islands. (2) Channelising or refuse islands. (1) Rotary or central islands: A traffic island constructed in ... each site of road intersection. A few typical designs of Channelising islands are illustrated below:

Description : Enlist the methods of quarrying and explain any one in brief.

Last Answer : The process of taking out stones from natural rock beds is known as quarrying of Stones. Methods of Quarrying of Stones: -  1.Digging  2.Heating  3.Wedging  4.Blasting  1. Digging ... Large blocks of stones are obtained by using blasting powder but small blocks are obtained by using dynamite.

Description : Enlist method of ranging and explain any one in brief.

Last Answer : Ranging The method of establishing intermediate points on a straight line between the two fixed points is known as ranging. It is done before chaining started. It may be done by eye or by using some ... which are nearer to line AB. Repeat same process until points M and N are established.

Description : Enlist various types of seismic waves and explain one.

Last Answer : Types of seismic waves 1. Primary or Longitudinal Waves 2. Secondary or Traverse waves 3. Long or surface waves-Rayleigh waves and love waves Primary Waves- (P-wave)- These ... These waves gives major destruction during earthquake . these waves are complex in nature having large amplitude.

Description : Enlist field identification test on soil and explain dilatency test.

Last Answer : Field Identification test on soil:- 1) Dry Strength Test 2) Dilatency Test 3) Toughness Test 4) Organic content and colour test 5) Visual examination. 6) Other identification test. ... and recorded. Inorganic silts show a quick reaction where as clays shows no reaction or slow reaction.

Description : Enlist the physical properties of soil and explain any one of them.

Last Answer : Physical properties of soil: 1. Void ratio ( e ) 2. Porosity ( n ) 3. Degree of saturation ( s ) 4. Density index ( ID ) 5. Density ( p ) Void ratio ( e ): The ratio of volume of voids (VV = Va + VW) to the total volume (V) of solids is called as void ratio. 

Description : Explain the GANTT chart used in PPC. Enlist advantages and disadvantages of it

Last Answer : Gantt chart used in production planning and control. Gantt Chart is a project planning tool that can be used to represent the timing of tasks required to complete a project. Because Gantt chats ... time to maintain. 4. Lack of adequate depiction interrelationship between the separate tasks.

Description : Enlist press operations . Explain lancing and piercing. 

Last Answer : Press Operations: [1] Cutting or Shearing Operations: Blanking, Punching, Piercing, Notching, perforating, trimming, shaving, slitting, lancing. [2] Bending Operation: Angle bending [3] Forming ... clearance is provided on the die. Figure shows punch and die set for piercing. 

Description : Enlist any four operations carried out in forging process and explain fullering with neat sketch.

Last Answer : Operations carried out in forging process:  a) Upsetting b) Drawing Down c) Setting down d) Welding e) Bending f) Cutting g) Punching Fullering: In ... sledge hammer. The force is applied on the top fuller which results in decreasing the cross section at that point.

Description : Explain the thermal triggering method of SCR. Enlist different triggering methods of SCR.

Last Answer : Types of Triggering: 1) Forward voltage triggering 2) Thermal triggering (Temperature triggering) 3) Radiation triggering (Light triggering) 4) dv/dt triggering 5) Gate triggering ... generated leakage current increases. This current gets multiplied internally and thyristor is turned on. 

Description : State the types of production system. Enlist four features of mass production system.

Last Answer : List of Production System: 1. Intermittent production a. Job order production system. b. Batch order production system. 2. Continuous production a. Mass production system. b. Process production. ... on account of constant repetition of the same job. 9. Per unit cost of product is less

Description : State the types of production system. Enlist four features of batch production system.

Last Answer : Types of production system: a. Intermittent production:  1. Job Production 2.Batch production b. Continuous production:  1. Mass production 2. Flow production Features of batch ... adopted in batch production. Example: Pharmaceutical products, ready-made Clothes, Furniture, castings, etc

Description : Enlist Merits(Advantages) and demerits(Disadvantages) of Pneumatic system

Last Answer : Advantages of pneumatic system : 1.Easily available air - The working medium used by pneumatic system is easily and freely available everywhere. 2.Neat and clean system - Due to air being working medium ... is no load on the system where as in hydraulics pressure is developed due to external load. 

Description : Enlist Merits and demerits of Hydraulic system

Last Answer : Merits of Hydraulic system  1) We can generate very high pressures in hydraulic system. Due to this nature of hydraulic system we can use this power to lift, hold, press very heavy loads. 2) ... its flash point' 4) Leakage of hydraulic oil during its flow in system causes heavy pressure drops