Difference between revisions of "Systemctl status"

From wikieduonline
Jump to navigation Jump to search
Line 11: Line 11:
 
  systemctl status SERVICE
 
  systemctl status SERVICE
 
  System has not been booted with [[systemd]] as [[init]] system (PID 1). Can't operate.
 
  System has not been booted with [[systemd]] as [[init]] system (PID 1). Can't operate.
 +
 +
 +
● ip-10-12-0-111
 +
    State: running
 +
      Jobs: 0 queued
 +
    Failed: 0 units
 +
    Since: Wed 2023-07-05 11:24:48 UTC; 1 day 6h ago
 +
    CGroup: /
 +
            ├─user.slice
 +
            │ └─user-1000.slice
 +
            │  ├─[email protected]
 +
            │  │ └─init.scope
 +
            │  │  ├─1331 /lib/systemd/systemd --user
 +
            │  │  └─1332 (sd-pam)
  
 
== Services examples ==
 
== Services examples ==

Revision as of 17:48, 6 July 2023

systemctl status
SERVER_NAME
   State: degraded
    Jobs: 0 queued
  Failed: 2 units
   Since: Sat 2019-12-07 07:24:53 UTC; 2 weeks 4 days ago
   .../...
systemctl status SERVICE
System has not been booted with systemd as init system (PID 1). Can't operate.


● ip-10-12-0-111
    State: running
     Jobs: 0 queued
   Failed: 0 units
    Since: Wed 2023-07-05 11:24:48 UTC; 1 day 6h ago
   CGroup: /
           ├─user.slice
           │ └─user-1000.slice
           │   ├─[email protected] …
           │   │ └─init.scope
           │   │   ├─1331 /lib/systemd/systemd --user
           │   │   └─1332 (sd-pam)

Services examples

Related commands

See also

Advertising: