I have a simple C program, and when I compile and run it with ./output , does it get the PID on Linux? (I think every running program is a process, and it should have a PID.)
I used the ps aux command, but I could not find the process name there.
I remember when my console application (program C) was running in Windows 7, I was able to get its PID using the Volatility tool.
#include<stdio.h> void main() { printf("Hello World!"); }
source share