Когда Вы выполняете базу данных Postgres и проверяете все процессы с ps
Вы видите комментарии, которые, скорее всего, ни не выполняют название программы, ни его параметры. Каковы они?
$ ps ax | grep [p]ostgres:
1066 ? Ss 0:00 postgres: checkpointer process
1067 ? Ss 0:00 postgres: writer process
1068 ? Ss 0:00 postgres: wal writer process
1069 ? Ss 0:00 postgres: autovacuum launcher process
1070 ? Ss 0:00 postgres: stats collector process
Я не уверен, характерно ли это для Пост-ГРЭС всегда.
Любая программа может изменить, что ps
вызовы она, см. 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.