Linux & Terminali

PID & PPID

Në shqip: PID dhe PPID

ShpjegimiSQ

Çdo proces ka një numër unik, PID. PPID është PID-i i prindit që e nisi. Këto numra i përdor për ta ndalur procesin (kill PID) ose për të kuptuar kush e nisi.

EnglishEN

Every process has a unique number, the PID. The PPID is the PID of the parent that started it. You use these numbers to stop a process (kill PID) or see who launched it.

Si ta mendosh

Si numri i biletës në radhë, dhe numri i personit që të solli.

Lexoje në anglisht

Like your ticket number in a queue, plus the number of whoever brought you.

Shembull kodibash

echo $$        # PID-i i shell-it tënd
pgrep -f "node server.js"
ps -o pid,ppid,cmd -p 1234

Terma të lidhur