systemctl status postgresql

From wikieduonline
Revision as of 19:50, 23 June 2022 by Welcome (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

systemctl status postgresql
● postgresql.service - PostgreSQL RDBMS
   Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled)
   Active: active (exited) since Mon 2020-06-15 16:11:58 +04; 1min 12s ago
  Process: 30007 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
 Main PID: 30007 (code=exited, status=0/SUCCESS)

Jun 15 16:11:58 HOSTNAME systemd[1]: Starting PostgreSQL RDBMS...
Jun 15 16:11:58 HOSTNAME systemd[1]: Started PostgreSQL RDBMS.
systemctl status postgresql
● postgresql.service - PostgreSQL RDBMS
     Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled)
     Active: inactive (dead) since Wed 2020-06-24 10:40:14 +04; 1 weeks 1 days ago
   Main PID: 8833 (code=exited, status=0/SUCCESS)

Jun 24 10:40:14 HOSTNAME systemd[1]: postgresql.service: Succeeded.
Jun 24 10:40:14 HOSTNAME systemd[1]: Stopped PostgreSQL RDBMS.


Related commands

See also

Advertising: