Qualquer programa pode alterar o que o ps
chama, consulte man 3 setproctitle
:
NAME
setproctitle — set process title
LIBRARY
Utility functions from BSD systems (libbsd, -lbsd)
SYNOPSIS
#include <sys/types.h>
#include <bsd/unistd.h>
void
setproctitle_init(int argc, char *argv[], char *envp[]);
void
setproctitle(const char *fmt, ...);
DESCRIPTION
The setproctitle() library routine sets the process title that appears on
the ps(1) command.