C processes in Linux
From Teknologisk videncenter
Advanced
prctl
prctl - operations on a process
// Changing the name of running proces
#include <sys/prctl.h>
...
prctl(PR_SET_NAME, "newname");
...
prctl - operations on a process
// Changing the name of running proces
#include <sys/prctl.h>
...
prctl(PR_SET_NAME, "newname");
...