Difference between revisions of "Systemctl status postgresql"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
+
{{lc}}
 
+
[[systemctl status]] postgresql
 
 
 
<pre>
 
<pre>
systemctl status postgresql
 
 
● postgresql.service - PostgreSQL RDBMS
 
● postgresql.service - PostgreSQL RDBMS
 
   Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled)
 
   Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled)
Line 14: Line 12:
 
</pre>
 
</pre>
  
 +
<pre>
 +
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.
 +
</pre>
 +
 +
 +
== Related commands ==
 +
* <code>[[systemctl start postgresql]]</code> (no output)
  
 
== See also ==
 
== See also ==

Latest revision as of 19:50, 23 June 2022

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[edit]

See also[edit]

Advertising: