process – POFTUT

Tagged: process

Multiprocessing and Parallel Programming In Python 0

Multiprocessing and Parallel Programming In Python

Multiprocessing is creating, running, ending multiple processes and threads from a single process for a specific purpose. Python programming language provides a lot of different features of multiprocessing. Multiprocessing Features Multiprocessing provides a lot of features to the program or applications developers. We will list some of the below. Performance is the most popular feature of multiprocessing. A single process task can be divided into multiple ones where each process...

What Is an Operating System (OS)? 0

What Is an Operating System (OS)?

An operating system is a software which is used to operate, use computer or server hardware and provide these sources to the user applications. Operating systems is an intermediate software which is very important for computers and servers because it provides a lot of different services to the user side applications. Operating System History Operating system history consists of mainly 4 phases. First Generation (1945-1955) First operating systems are created...


Windows WMIC (Windows Management Interface Command) Tutorial with Examples

WMIC or Windows Management Interface Command is a simple command line tool used to issue WMI commands. WMI command generally used to query all of the system related information like Computer Name, BIOS Serial Number, Mac Address etc. Batch WMIC WMIC provides two type of usage. Batch usage is the most popular where we can issue WMI commands into MS-DOS or PowerShell like below.

Interactive WMIC Command Line WMIC also...


What Is Linux SIGTERM Signal and Difference with SIGKILL

Unix and Linux like operating systems processes uses SIGNALS in order to communicate each other. For example If we can to kill a process we need to send a signal to process we want to kill. This signal will be SIGTERM and send by kill or similar commands. In this tutorial we will examine the SIGTERM signal and compare with SIGKILL signal. Linux Kill Process Tutorial With Examples SIGTERM The SIGTERM...


What Does “ps aux” Command Mean and Do In Linux

ps command is used to get detailed information about process running on Linux, Unix and BSD systems. There are some popular options and use cases for ps where one of them is aux options. We will look this use case in this tutorial. For more detailed ps tutorial look following. Linux ps Command Tutorial List Processes with Examples a Option Shows Process For All Users The default behavior of the ps command is listing only current...


How To Wait Specified Process Termination with wait In Linux and Difference with sleep?

Linux provides simple and useful tools and commands. wait is one of them. We can use wait command to wait for specified process id and than continue execution of the bash script or interactive shell. Wait For Specified Process ID While scripting in bash we may need to wait for some process to continue. So this will pause our script execution. After specified process is completed current script execution will...


Monitor Linux Cpu, Memory Performance with Htop

top is very popular and well known system monitoring tool provided by default by most of the Linux distributions. htop is more eye candy and more professional system monitor tool which is provided by most of the Linux distributions. In this tutorial we will look how to install and use  htop command to monitor cpu, memory etc. Linux Top – Monitor Linux System Resources Cpu, Memory, Network We can use...

Python Subprocess and Popen() with Examples 0

Python Subprocess and Popen() with Examples

Python provides a lot of functionalities with different modules and libraries. When we need to open a new process inside a Python application we can use subprocess library and related functions. Import subprocess Module In order to use related functions and libraries, we should import the subprocess library.

Start with call Function The simples use case to create a subprocess is using call() function. call() function accepts related binary or executable name...


Linux Lsof Command Tutorial With Examples

Lsof is linux command used for output files and processes related information. lsof support different type of file formats like regular file, directory, block special file etc. lsof provides given command output parsable format where other tools like cut can be used to filter output. In this tutorial we will look different use cases of lsof command. In order to run lsof command without problem and full fledged mode we should provide root privileges. List Process...


Linux Ulimit Command Tutorial with Examples To Increase Open File Limit

Linux kernel provides some configuration about system related limits and maximums. These are like maximum file handler count, maximum file locks, maximum process count etc. These limits are used to stay in safe area and do not bottleneck system performance. But sometimes these limits should be decreased or increased. ulimit is used to change these limits and maximums. List All Limits There are different types of limits and maximum values used...

Enjoy this blog? Please spread the word :)