[postgres@pgserver ~]$ ps -ef|grep postg
postgres 2502 1 0 Nov09 ? 00:00:01 /usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data
postgres 2504 2502 0 Nov09 ? 00:00:00 postgres: checkpointer process
postgres 2505 2502 0 Nov09 ? 00:00:01 postgres: writer process
postgres 2506 2502 0 Nov09 ? 00:00:01 postgres: wal writer process
postgres 2507 2502 0 Nov09 ? 00:00:02 postgres: autovacuum launcher process
postgres 2508 2502 0 Nov09 ? 00:00:05 postgres: stats collector process
postgres 2509 2502 0 Nov09 ? 00:00:00 postgres: bgworker: logical replication launcher
root 4486 4469 0 03:46 pts/2 00:00:00 su - postgres
postgres 4487 4486 0 03:46 pts/2 00:00:00 -bash
postgres 4525 4487 0 03:52 pts/2 00:00:00 ps -ef
postgres 4526 4487 0 03:52 pts/2 00:00:00 grep --color=auto postg
[postgres@pgserver ~]$