Skip to content

Process(PID) performance and diagnostics

This toolset presents most used Linux commands for deeper process analysis.

Tip

Each tool serves a specific purpose in understanding process behavior and identifying potential issues before they become critical.



Analyzing PID usage

ps that will show detailed info about PID, command that started it, thread's:








  

Real-time with top

Usual but top for your PID only





  

CPU & IO with pidstat

Detailed usage of CPU, memory and IO by PID











  

Syscalls with strace -c

Most common syscalls used via timeframe








  

Disk IO with iotop

IO usage by your PID





  

Live performance with perf top

Shows where the code actually "burns" CPU - most frequently called functions





  

Open files with lsof