The Baeldung logo
  • The Baeldung LogoLinux Sublogo
  • Start Here
  • Write for Baeldung
  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • About Baeldung

      About Baeldung.

Processes

A Linux process is a running command or application. Managing processes is a fundamental task of most Linux users. Learn about process basics, searching, management, and monitoring.

  • ps (37)
  • kill (18)
  • top (15)
  • grep (10)
  • pgrep (9)
  • pkill (8)
  • nohup (7)
  • PID (7)
  • awk (6)
  • jobs (6)
  • lsof (6)
  • sar (4)
  • strace (4)
  • tail (4)
  • cron (4)
  • bg (4)
  • fg (4)
  • killall (4)
  • systemctl (3)
  • wait (3)
  • bash (3)
  • env (3)
  • Docker (3)
  • cat (3)
  • htop (3)
  • ulimit (3)
  • fuser (3)
  • netstat (3)
  • systemd (2)
  • set (2)
  • pigz (2)
  • sed (2)
  • gdb (2)
  • screen (2)
  • disown (2)
  • readlink (2)
  • export (2)
  • echo (2)
  • time (2)
  • ss (2)
  • xargs (2)
  • ldd (2)

>> Start Systemd Service After Specific Service

>> The wait Command in Linux

>> Why Was 1 January 1970 Used as the Epoch Time?

>> Prevent Jenkins Build From Failing When Execute Shell Step Fails

>> Restarting a MySQL Server in Linux

>> Managing Processors Availability

>> Checking Which Processes Are Using Semaphores

>> Creating User’s Services With systemd

>> Using nohup With a for Loop

>> System Calls and Library Calls in Linux

>> How to Filter strace’s Output Using grep

>> How to Compare Local and Remote Directories

>> How to Scroll on the Linux Console

>> Line Endings and Resolving the configure: /bin/sh: bad interpreter Error

>> Filter Processes by Process Names With top

>> Kill a defunct Zombie Process with Parent init PID 1

>> Parallel Archiving Files in Linux

>> Get the Parent PID of a Child Process in Linux

>> In What Order Do Piped Commands Run?

>> Turning Off Buffer in Pipe With stdbuf

>> When kill -9 or kill -SIGKILL Does Not Work

>> Managing the Way the File Is Cached in RAM

>> How to Control Variable Access in the sudo Environment?

>> Use Bash With Alpine Based Docker Image

>> Temporarily or Permanently Disable Every Job Listed in a Crontab

>> prlimit and Setting the Maximum File Limit for a Running Process

>> Linux Overcommit Modes

>> jmap Error “Unable to Open Socket File”

>> What Is the SSH known_hosts File and How to Temporarily Ignore It

>> Using sar to Show Current and Past System’s Statistics

>> Run Cron Job Manually With Proper Environment

>> How to Kill a TTY in Linux

>> How to grep the ps Output With Headers

>> Kill a Process that Keeps Restarting

>> Integrate GDB With Vim

>> Find Processes by Keyword in Linux

>> Resetting a Broken TTY

>> What do PTY and TTY Mean?

>> What Is an Uninterruptible Process in Linux?

>> How to Kill All Stopped Jobs in Linux

>> Interactive, Non-interactive, Login, Non-login Shells in Linux

>> Checking Environment Variables of a Running Process

>> Setting Environment Variables for systemd Services

>> Check if a Process Is Running in Linux

>> Linux Memory Overcommitment and the OOM Killer

>> Overloaded Terminals or How To Kill a Runaway cat in Linux

>> Setting the Processor Affinity of a Process

>> Monitoring HTTP Requests on a Network Interface in Real Time

>> Terminal Shortcuts and How to Unfreeze the Terminal After Pressing Ctrl-S

>> Entirely Detach a Process From Terminal

>> Introduction to Snaps in Linux

>> How to Use iPerf to Measure Network Performance

>> IPC Performance Comparison: Anonymous Pipes, Named Pipes, Unix Sockets, and TCP Sockets

>> Monitor Resource Usage of a Single Process

>> Get the Start Time of a Long-Running Linux Process

>> Get the Name of a Process from PID

>> Attach a Terminal to a Detached Process in Linux

>> Why Does htop Show More Processes Than ps

>> The Exec Family of Functions

>> List the Open File Descriptors in the Current Bash Session

>> Linux Setuid Programs and Their User IDs

>> Getting the PID of a nohup Process

>> Dealing with Frozen Windows and Desktop on Linux

>> View the Output of a Running Process in Another Bash Session

>> Linux Bash Equivalent to the Windows Batch pause

>> Monitor the Thread Count of a Process on Linux

>> Get the Path of a Process in Linux

>> The Difference Between fork(), vfork(), exec() and clone()

>> How to Get the Command Line Args Passed to a Running Process on Unix/Linux Systems?

>> Extract Duration From Video File in Linux

>> SIGINT Propagation Between Parent and Child Processes

>> Calculate the Total CPU Usage of a Process From /proc/pid/stat

>> What Do Identifiers Mean in Linux?

>> The Exit Status of Piped Processes

>> Which Process Has PID 0 ?

>> Understanding the Linux /proc/id/maps File

>> Track Child Processes Using strace

>> How to Foreground a Background Process in Linux

>> Find Swap Memory Usage by Processes in Linux

>> Difference Between the Result of free and top Commands

>> Kill a Child Process After a Given Timeout in Bash

>> Getting a Process’ Child Processes

>> List Running Programs That Were Started With nohup

>> inotify and Solving the “upper limit on inotify watches reached!” Error

>> Save and Restore a Linux Process

>> Linux Processes Guide

>> Maximum Number of Threads Per Process in Linux

>> Using grep on a Continuous Stream

>> Differences between PID, TID and PPID in Linux

>> Kill All Processes That Are Older Than a Certain Age

>> Check What Killed a Linux Process

>> Difference Between Resident Set Size and Virtual Memory Size

>> The PATH Variable for Cron Jobs

>> How to Monitor Disk IO in a Linux System

>> Find the Process That is Using a File in Linux

>> Debugging Programs Using the GDB Command

>> Linux Process States

>> Testing Bash Scripts With Bats

>> How Are Linux PIDs Generated?

>> Peak Memory Usage of a Linux Process

>> Understanding and Ignoring Errors in Bash

>> Get CPU Usage of One Single Process Periodically

>> Get Process ID of Linux Foreground and Background Processes

>> Determine if a Process Runs Inside a Container

>> Killing Processes by Given Partial Names in Linux

>> How to Find Which Process Was Killed by Linux OOM Killer

>> Linux Process vs. Thread

>> tmux in Linux

>> Command Chaining: Inline or Already Running Processes

>> Kill All Members of a Process Group

>> Kill a Process Running on a Specific Port in Linux

>> Aborting a Shell Script if Any Command Fails

>> Redirect Output of a Process to a File and Standard Streams

>> SIGINT And Other Termination Signals in Linux

>> Print Lines Between Two Patterns in Linux

>> Processing Linux Commands in Parallel

>> The strace Command in Linux

>> Exclude grep From ps Results

>> How to Clean a Linux Zombie Process

>> Redirecting the Output of an Already Running Process

>> How to Kill a Detached screen Session

>> Read the Source Code of Shell Commands

>> Sending Emails From Terminal In Linux

>> Anonymous and Named Pipes in Linux

>> Find the Current Working Directory of a Running Process

>> Run Cron Job Only If It Isn’t Already Running

>> Kernel Stack and User Space Stack

>> What is a .pid File?

>> Jobs and Job Control in Bash Shell

>> How to Measure Separate CPU Core Usage for a Process

>> Limiting Process Resource Consumption in Unix

>> What Is the LD_PRELOAD Trick?

>> How to End Processes With kill, pkill, and killall

>> Managing Environment Variables in Linux

>> How the Docker Build Cache Works and When Not to Use It

>> How to Show All Shared Libraries Used by Executables in Linux?

>> Linux Job Control: &, disown, and nohup

>> Process Memory Management in Linux

>> Understanding the Time Command

>> Using docker-compose With Private Repositories

>> How to Kill a Background Process in Linux

>> Managing Processes in Linux

>> Kill Commands In Linux

>> Linux ps Command

>> Finding the PID of the Process Using a Specific Port

>> Linux Commands – top

>> How Long a Linux Process Has Been Running

  • ↑ Back to Top
The Baeldung logo

Categories

  • Administration
  • Files
  • Filesystems
  • Installation
  • Networking
  • Processes
  • Scripting
  • Search
  • Security
  • Web

Series

  • Linux Administration
  • Linux Files
  • Linux Processes

About

  • About Baeldung
  • The Full Archive
  • Write for Baeldung
  • Editors
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo