File tree Expand file tree Collapse file tree
content/learning-paths/servers-and-cloud-computing/ruby-on-rails Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,23 @@ Verify that the PostgreSQL service is active and running:
2424``` console
2525systemctl status postgresql
2626```
27+ The output should look like:
28+ ``` output
29+ ● postgresql.service - PostgreSQL database server
30+ Loaded: loaded (/usr/lib/systemd/system/postgresql.service; enabled; vendor preset: disabled)
31+ Active: active (running) since Tue 2025-11-04 21:25:59 UTC; 18s ago
32+ Main PID: 26997 (postgres)
33+ Tasks: 7
34+ CPU: 372ms
35+ CGroup: /system.slice/postgresql.service
36+ ├─ 26997 /usr/lib/postgresql15/bin/postgres -D /var/lib/pgsql/data
37+ ├─ 26998 "postgres: logger " "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "">
38+ ├─ 26999 "postgres: checkpointer " "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "">
39+ ├─ 27000 "postgres: background writer " "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" >
40+ ├─ 27002 "postgres: walwriter " "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "">
41+ ├─ 27003 "postgres: autovacuum launcher " "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ">
42+ └─ 27004 "postgres: logical replication launcher " "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ">
43+ ```
2744
2845This command creates a new PostgreSQL role (user) named ` gcpuser ` with ** superuser privileges** .
2946
You can’t perform that action at this time.
0 commit comments