User Tools

Site Tools


ubuntu:services:list_running_service

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:services:list_running_service [2019/12/08 14:21] peterubuntu:services:list_running_service [2021/06/22 11:26] (current) – [Using systemd Status] peter
Line 1: Line 1:
 ====== Ubuntu - Services - List Running Services ====== ====== Ubuntu - Services - List Running Services ======
  
-====== Using systemd Service ======+===== Using systemd Service to get a list of all services =====
  
 <code bash> <code bash>
 systemctl -t service  systemctl -t service 
 +</code>
 +
 +or
 +
 +<code bash>
 +systemctl list-units --type=service
 </code> </code>
  
Line 21: Line 27:
 bluetooth.service                                     loaded active running Bluetooth service                                                             bluetooth.service                                     loaded active running Bluetooth service                                                            
 ... ...
 +</code>
 +
 +----
 +
 +===== Only running services =====
 +
 +<code bash>
 +systemctl | grep running
 </code> </code>
  
Line 54: Line 68:
 </code> </code>
  
 +----
  
-====== Using systemd Status ======+===== Using systemd Status =====
  
 <code bash> <code bash>
ubuntu/services/list_running_service.1575814887.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki