- About a hundred processes run without you: systemd, services, and other accounts started them. Every process has its own PID and an owner.
pgrep -lfinds processes by name, andps -C name -o pid,ppid,user,argsprints their rows with the columns you need.- PPID is the parent's number: it leads you to the process that started another one.
- Under STAT,
Rmeans running,Ssleeping,Tstopped. top shows who keeps the CPU busy right now. - At the start of the lesson one process slowed the site down: top put indexer, run by www-data, at the top with nearly all of the CPU.
Step 7 of 7 · summary · 2 min
Summary
Found an inaccuracy? Report an error in the lesson