In Unix/Linux operating systems, processes can be in one of the following states: 1. RUNNING & RUNNABLE 2. INTERRRUPTABLE_SLEEP 3. UNINTERRUPTABLE_SLEEP 4. STOPPED 5. ZOMBIE Let's discuss these states in this article. Fig: Process State transition diagram RUNNING & RUNNABLE When the CPU executes a process, it will be in a RUNNING state. When the... Continue Reading →
How to kill process in Unix/Linux?
There are different options to terminate a process in Unix/Linux flavour of operating systems. This article intends to list down those options. kill You can use the 'kill' command to terminate a process by passing the 'process id'. kill {PID} PID - is the 'process Id' of the process that you want to terminate. If... Continue Reading →
I/O waiting CPU time – ‘wa’ in top
CPU consumption in Unix/Linux operating systems are studied using 8 different metrics: User CPU time, System CPU time, nice CPU time, Idle CPU time, Waiting CPU time, Hardware Interrupt CPU time, Software Interrupt CPU time, Stolen CPU time. In this article let us study about ‘waiting CPU time’. What is ‘waiting’ CPU time? Waiting CPU... Continue Reading →
User CPU time – ‘us’ time in top
CPU consumption in Unix/Linux operating systems are studied using 8 different metrics: User CPU time, System CPU time, nice CPU time, Idle CPU time, Waiting CPU time, Hardware Interrupt CPU time, Software Interrupt CPU time, Stolen CPU time. In this article let us study about ‘User CPU time’. What is ‘user’ CPU time? In order... Continue Reading →
System CPU time – ‘sys’ time in top
CPU consumption in Unix/Linux operating systems are studied using 8 different metrics: User CPU time, System CPU time, nice CPU time, Idle CPU time, Waiting CPU time, Hardware Interrupt CPU time, Software Interrupt CPU time, Stolen CPU time. In this article let us study about ‘System CPU time’. What is ‘system’ CPU time? In order... Continue Reading →
Steal CPU time – ‘st’ time in top
CPU consumption in Unix/Linux operating systems are studied using 8 different metrics: User CPU time, System CPU time, nice CPU time, Idle CPU time, Waiting CPU time, Hardware Interrupt CPU time, Software Interrupt CPU time, Stolen CPU time. In this article let us study about ‘Steal (or Stolen) CPU time’. What is ‘steal’ CPU time?... Continue Reading →
Software Interrupt time – ‘si’ time in top
CPU consumption in Unix/Linux operating systems are studied using 8 different metrics: User CPU time, System CPU time, nice CPU time, Idle CPU time, Waiting CPU time, Hardware Interrupt CPU time, Software Interrupt CPU time, Stolen CPU time. In this article let us study about ‘Software Interrupt CPU time’. What is Software Interrupt CPU time?... Continue Reading →
nice CPU time – ‘ni’ time in top
CPU consumption in Unix/Linux operating systems are studied using 8 different metrics: User CPU time, System CPU time, nice CPU time, Idle CPU time, Waiting CPU time, Hardware Interrupt CPU time, Software Interrupt CPU time, Stolen CPU time. In this article let us study about ‘nice CPU time’. What is ‘nice’ CPU time? To understand... Continue Reading →
Idle CPU time – ‘id’ time in top
CPU consumption in Unix/Linux operating systems are studied using 8 different metrics: User CPU time, System CPU time, nice CPU time, Idle CPU time, Waiting CPU time, Hardware Interrupt CPU time, Software Interrupt CPU time, Stolen CPU time. In this article let us study about ‘Idle CPU time’. What is ‘idle’ CPU time? Idle CPU... Continue Reading →