{"id":3483,"date":"2024-07-19T10:00:37","date_gmt":"2024-07-19T10:00:37","guid":{"rendered":"https:\/\/draculaservers.com\/tutorials\/?p=3483"},"modified":"2024-08-04T21:26:58","modified_gmt":"2024-08-04T21:26:58","slug":"list-running-services-linux","status":"publish","type":"post","link":"https:\/\/draculaservers.com\/tutorials\/list-running-services-linux\/","title":{"rendered":"How to List Running Services on Linux"},"content":{"rendered":"<div class=\"cl-preview-section\">\n<p id=\"how-to-list-running-services-on-linux\"><span style=\"font-size: 16px;\">In Linux systems, managing services is a critical task for system administrators. Services, also known as daemons, are background processes that perform various functions, from managing network connections to running scheduled tasks. Knowing how to list running services is essential for monitoring system health, troubleshooting issues, and ensuring that essential services are operational. This article will guide you through different methods to list running services on Linux, using various tools and commands, with detailed examples.<\/span><\/p>\n\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Understanding the status of running services helps in maintaining a Linux system efficiently. Services can be managed through different init systems, such as SysVinit, Upstart, or systemd. Each system has its own set of tools and commands for managing services. In this article, we will focus primarily on\u00a0<code>systemd<\/code>, the most widely used init system in modern Linux distributions, but will also cover other methods where applicable.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"using-systemd-to-list-running-services\">Using Systemd to List Running Services<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Systemd is the default init system for many Linux distributions, including Ubuntu, CentOS, Fedora, and Debian. It provides a unified method for managing system services and offers a range of commands to list and manage running services.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"listing-all-active-services\">Listing All Active Services<\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>To list all active services using\u00a0<code>systemd<\/code>, you can use the\u00a0<code>systemctl<\/code>\u00a0command. This command interacts with the systemd system and service manager.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">systemctl list-units --type<span class=\"token operator\">=<\/span>service --state<span class=\"token operator\">=<\/span>running\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li><code>list-units<\/code>: Lists all active units.<\/li>\n<li><code>--type=service<\/code>: Filters the output to show only services.<\/li>\n<li><code>--state=running<\/code>: Shows only services that are currently running.<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<h4 id=\"example\">Example<\/h4>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">$ systemctl list-units --type<span class=\"token operator\">=<\/span>service --state<span class=\"token operator\">=<\/span>running\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Output:<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-plaintext\"><code class=\"prism  language-plaintext\">UNIT                      LOAD   ACTIVE SUB     DESCRIPTION\r\nacpid.service             loaded active running ACPI event daemon\r\napache2.service           loaded active running The Apache HTTP Server\r\ndbus.service              loaded active running D-Bus System Message Bus\r\n...\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"listing-all-services-including-inactive-and-failed\">Listing All Services, Including Inactive and Failed<\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>If you need to see all services, including those that are inactive or failed, you can omit the\u00a0<code>--state<\/code>\u00a0option.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">systemctl list-units --type<span class=\"token operator\">=<\/span>service\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h4 id=\"example-1\"><span id=\"example-2\">Example<\/span><\/h4>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">$ systemctl list-units --type<span class=\"token operator\">=<\/span>service\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Output:<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-plaintext\"><code class=\"prism  language-plaintext\">UNIT                      LOAD   ACTIVE SUB     DESCRIPTION\r\nacpid.service             loaded active running ACPI event daemon\r\napache2.service           loaded active running The Apache HTTP Server\r\ndbus.service              loaded active running D-Bus System Message Bus\r\nexample.service           loaded inactive dead Example service\r\n...\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"checking-the-status-of-a-specific-service\">Checking the Status of a Specific Service<\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>To check the status of a specific service, use the\u00a0<code>systemctl status<\/code>\u00a0command followed by the service name.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">systemctl status <span class=\"token punctuation\">[<\/span>service-name<span class=\"token punctuation\">]<\/span>\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h4 id=\"example-2\"><span id=\"example-3\">Example<\/span><\/h4>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">$ systemctl status apache2\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Output:<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-plaintext\"><code class=\"prism  language-plaintext\">\u25cf apache2.service - The Apache HTTP Server\r\n     Loaded: loaded (\/lib\/systemd\/system\/apache2.service; enabled; vendor preset: enabled)\r\n     Active: active (running) since Fri 2024-07-19 12:34:56 UTC; 2h 15min ago\r\n   Main PID: 1234 (apache2)\r\n      Tasks: 6 (limit: 4915)\r\n     Memory: 15.3M\r\n     CGroup: \/system.slice\/apache2.service\r\n             \u251c\u25001234 \/usr\/sbin\/apache2 -k start\r\n             \u251c\u25001235 \/usr\/sbin\/apache2 -k start\r\n...\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<div class=\"cl-preview-section\">\n<h2 id=\"affordable-vps-hosting-with-dracula-servers\"><span style=\"color: #ff2600;\">Affordable VPS Hosting With Dracula Servers<\/span><\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Looking for reliable and budget-friendly Virtual Private Server (VPS) hosting? Look no further than\u00a0<a href=\"https:\/\/draculaservers.com\/\">Dracula Servers<\/a>. Dracula Servers offers a range of VPS hosting plans tailored to meet diverse needs. With competitive pricing, robust performance, and a user-friendly interface, it\u2019s an excellent choice for individuals and businesses alike.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Explore the\u00a0<a href=\"https:\/\/draculaservers.com\/\">Dracula Servers website<\/a> to discover hosting solutions that align with your requirements and take your online presence to new heights with their affordable and efficient VPS hosting services.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><a href=\"https:\/\/draculaservers.com\/\"><strong>Visit Dracula Servers<\/strong><\/a>\u00a0and experience reliable VPS hosting without breaking the bank.<\/p>\n<\/div>\n<h2 id=\"using-the-service-command\">Using the\u00a0<code>service<\/code>\u00a0Command<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>For systems that use SysVinit or Upstart, the\u00a0<code>service<\/code>\u00a0command is a traditional method for managing services. This command provides a simpler interface for checking the status of services.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"listing-all-services\">Listing All Services<\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">service<\/span> --status-all\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>This command lists the status of all services, showing\u00a0<code>+<\/code>\u00a0for running services and\u00a0<code>-<\/code>\u00a0for stopped services.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h4 id=\"example-3\"><span id=\"example-4\">Example<\/span><\/h4>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">$ <span class=\"token function\">service<\/span> --status-all\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Output:<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-plaintext\"><code class=\"prism  language-plaintext\"> [ + ]  acpid\r\n [ - ]  apache2\r\n [ + ]  dbus\r\n [ - ]  example\r\n...\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"checking-the-status-of-a-specific-service-1\"><span id=\"checking-the-status-of-a-specific-service-2\">Checking the Status of a Specific Service<\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>To check the status of a specific service:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">service<\/span> <span class=\"token punctuation\">[<\/span>service-name<span class=\"token punctuation\">]<\/span> status\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h4 id=\"example-4\"><span id=\"example-5\">Example<\/span><\/h4>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">$ <span class=\"token function\">service<\/span> apache2 status\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Output:<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-plaintext\"><code class=\"prism  language-plaintext\">apache2 is running\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"using-the-ps-command\">Using the\u00a0<code>ps<\/code>\u00a0Command<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>The\u00a0<code>ps<\/code>\u00a0command can be used to list processes, which includes services running in the background. While not specifically designed for service management, it can be useful for a general overview.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"listing-processes\">Listing Processes<\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">ps<\/span> aux\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li><code>a<\/code>: Show processes for all users.<\/li>\n<li><code>u<\/code>: Display the user\/owner column.<\/li>\n<li><code>x<\/code>: Show processes not attached to a terminal.<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<h4 id=\"example-5\"><span id=\"example-6\">Example<\/span><\/h4>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">$ <span class=\"token function\">ps<\/span> aux\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Output:<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-plaintext\"><code class=\"prism  language-plaintext\">USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND\r\nroot         1  0.0  0.1  22560  1824 ?        Ss   Jul19   0:01 \/sbin\/init\r\nwww-data   1234  0.0  0.3  23456  3456 ?        S    Jul19   0:02 \/usr\/sbin\/apache2 -k start\r\n...\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"using-the-top-command\">Using the\u00a0<code>top<\/code>\u00a0Command<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>The\u00a0<code>top<\/code>\u00a0command provides a real-time view of running processes and their resource usage. It\u2019s useful for monitoring system performance and identifying resource-intensive services.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"running-top\">Running\u00a0<code>top<\/code><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">top<\/span>\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>In the\u00a0<code>top<\/code>\u00a0output, you can see processes, their status, and resource usage.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h4 id=\"example-6\"><span id=\"example-7\">Example<\/span><\/h4>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">$ <span class=\"token function\">top<\/span>\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Output:<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-plaintext\"><code class=\"prism  language-plaintext\">top - 12:50:20 up  2:15,  2 users,  load average: 0.10, 0.15, 0.10\r\nTasks: 152 total,   2 running, 150 sleeping,   0 stopped,   0 zombie\r\n%Cpu(s):  2.5 us,  1.0 sy,  0.0 ni, 96.0 id,  0.5 wa,  0.0 hi,  0.0 si,  0.0 st\r\nKiB Mem :  2048348 total,   556972 free,   856828 used,   635548 buff\/cache\r\nKiB Swap:        0 total,        0 free,        0 used.  1084884 avail Mem \r\n\r\n  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND\r\n 1234 www-data  20   0  23456  3456  1234 S   0.1  0.2   0:01.23 apache2\r\n...\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"using-htop-for-enhanced-visualization\">Using\u00a0<code>htop<\/code>\u00a0for Enhanced Visualization<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><code>htop<\/code>\u00a0is an interactive process viewer that provides a more user-friendly and colorful display compared to\u00a0<code>top<\/code>.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"installing-htop\">Installing\u00a0<code>htop<\/code><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>On Debian-based systems:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> apt <span class=\"token function\">install<\/span> <span class=\"token function\">htop<\/span>\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>On Red Hat-based systems:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> yum <span class=\"token function\">install<\/span> <span class=\"token function\">htop<\/span>\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>On Fedora:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> dnf <span class=\"token function\">install<\/span> <span class=\"token function\">htop<\/span>\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"running-htop\">Running\u00a0<code>htop<\/code><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">htop<\/span>\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h4 id=\"example-7\"><span id=\"example-8\">Example<\/span><\/h4>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">$ <span class=\"token function\">htop<\/span>\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Output:<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>A color-coded, interactive process list with CPU, memory, and swap usage graphs.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"additional-tips\">Additional Tips<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li><strong>Understanding Service States<\/strong>: Knowing the different states of services (active, inactive, failed) can help in diagnosing system issues. Use\u00a0<code>systemctl list-units --type=service<\/code>\u00a0to see these states.<\/li>\n<li><strong>Checking Logs<\/strong>: If a service is not running as expected, check its logs using\u00a0<code>journalctl -u [service-name]<\/code>\u00a0for systemd services or\u00a0<code>\/var\/log\/<\/code>\u00a0for traditional services.<\/li>\n<li><strong>Service Management<\/strong>: Besides listing, you may need to start, stop, or restart services. Commands like\u00a0<code>systemctl start [service-name]<\/code>,\u00a0<code>systemctl stop [service-name]<\/code>, and\u00a0<code>systemctl restart [service-name]<\/code>\u00a0are useful in such scenarios.<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"wrap-up\">Wrap up<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Listing running services is an essential skill for Linux system administrators. Whether using\u00a0<code>systemd<\/code>,\u00a0<code>SysVinit<\/code>, or\u00a0<code>Upstart<\/code>, understanding how to view and manage services ensures that your system runs smoothly and reliably.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>From using\u00a0<code>systemctl<\/code>\u00a0to explore service statuses to employing\u00a0<code>ps<\/code>,\u00a0<code>top<\/code>, and\u00a0<code>htop<\/code>\u00a0for process insights, each tool provides unique advantages for monitoring and managing your Linux environment.<\/p>\n<p>Check out More Linux Tutorials <a href=\"https:\/\/draculaservers.com\/tutorials\/\" target=\"_blank\" rel=\"noopener\">Here!<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In Linux systems, managing services is a critical task for system administrators. Services, also known as daemons, are background processes that perform various functions, from managing network connections to running scheduled tasks. Knowing how to list running services is essential for monitoring system health, troubleshooting issues, and ensuring that essential services are operational. This article [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":3484,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,172],"tags":[606,607,608],"class_list":["post-3483","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-basics","category-linux-tutorials","tag-how-to-view-all-running-services-on-linux","tag-list-all-services-on-linux","tag-view-all-services-on-linux"],"blocksy_meta":[],"featured_image_urls_v2":{"full":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-47.png",1280,720,false],"thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-47-150x150.png",150,150,true],"medium":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-47-300x169.png",300,169,true],"medium_large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-47-768x432.png",768,432,true],"large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-47-1024x576.png",1024,576,true],"1536x1536":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-47.png",1280,720,false],"2048x2048":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-47.png",1280,720,false],"pk-small":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-47-80x80.png",80,80,true],"pk-thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-47-300x225.png",300,225,true]},"post_excerpt_stackable_v2":"<p>In Linux systems, managing services is a critical task for system administrators. Services, also known as daemons, are background processes that perform various functions, from managing network connections to running scheduled tasks. Knowing how to list running services is essential for monitoring system health, troubleshooting issues, and ensuring that essential services are operational. This article will guide you through different methods to list running services on Linux, using various tools and commands, with detailed examples. Understanding the status of running services helps in maintaining a Linux system efficiently. Services can be managed through different init systems, such as SysVinit, Upstart,&hellip;<\/p>\n","category_list_v2":"<a href=\"https:\/\/draculaservers.com\/tutorials\/category\/linux-basics\/\" rel=\"category tag\">Linux Basics<\/a>, <a href=\"https:\/\/draculaservers.com\/tutorials\/category\/linux-tutorials\/\" rel=\"category tag\">Linux Tutorials<\/a>","author_info_v2":{"name":"Abdul Mannan","url":"https:\/\/draculaservers.com\/tutorials\/author\/abdul-mannan-tbgmail-com\/"},"comments_num_v2":"0 comments","yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to List Running Services on Linux - Dracula Servers Tutorials<\/title>\n<meta name=\"description\" content=\"Use systemd,\u00a0SysVinit, or\u00a0Upstart, learn how to view and manage services ensures that your system runs smoothly and reliably.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/draculaservers.com\/tutorials\/list-running-services-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to List Running Services on Linux - Dracula Servers Tutorials\" \/>\n<meta property=\"og:description\" content=\"Use systemd,\u00a0SysVinit, or\u00a0Upstart, learn how to view and manage services ensures that your system runs smoothly and reliably.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/draculaservers.com\/tutorials\/list-running-services-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"Dracula Servers Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-19T10:00:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-04T21:26:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-47.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Abdul Mannan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abdul Mannan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/list-running-services-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/list-running-services-linux\\\/\"},\"author\":{\"name\":\"Abdul Mannan\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ac89d0281f4fb596bfaa0bc1e746c8a6\"},\"headline\":\"How to List Running Services on Linux\",\"datePublished\":\"2024-07-19T10:00:37+00:00\",\"dateModified\":\"2024-08-04T21:26:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/list-running-services-linux\\\/\"},\"wordCount\":732,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/list-running-services-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/Dracula-Servers-Thumbnail-47.png\",\"keywords\":[\"How to view all running services on Linux\",\"List all services on Linux\",\"View all services on Linux\"],\"articleSection\":[\"Linux Basics\",\"Linux Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/list-running-services-linux\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/list-running-services-linux\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/list-running-services-linux\\\/\",\"name\":\"How to List Running Services on Linux - Dracula Servers Tutorials\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/list-running-services-linux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/list-running-services-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/Dracula-Servers-Thumbnail-47.png\",\"datePublished\":\"2024-07-19T10:00:37+00:00\",\"dateModified\":\"2024-08-04T21:26:58+00:00\",\"description\":\"Use systemd,\u00a0SysVinit, or\u00a0Upstart, learn how to view and manage services ensures that your system runs smoothly and reliably.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/list-running-services-linux\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/list-running-services-linux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/list-running-services-linux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/Dracula-Servers-Thumbnail-47.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/Dracula-Servers-Thumbnail-47.png\",\"width\":1280,\"height\":720,\"caption\":\"How to List Running Services on Linux\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/list-running-services-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to List Running Services on Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"name\":\"Dracula Servers Tutorials\",\"description\":\"Dedicated Servers\",\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\",\"name\":\"Dracula Servers\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"width\":1625,\"height\":200,\"caption\":\"Dracula Servers\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ac89d0281f4fb596bfaa0bc1e746c8a6\",\"name\":\"Abdul Mannan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"caption\":\"Abdul Mannan\"},\"description\":\"An individual trying to decipher the enigmas of technology by the sheer driving force of curiosity. Interested in learning new skills and being better at those skills than the lot.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to List Running Services on Linux - Dracula Servers Tutorials","description":"Use systemd,\u00a0SysVinit, or\u00a0Upstart, learn how to view and manage services ensures that your system runs smoothly and reliably.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/draculaservers.com\/tutorials\/list-running-services-linux\/","og_locale":"en_US","og_type":"article","og_title":"How to List Running Services on Linux - Dracula Servers Tutorials","og_description":"Use systemd,\u00a0SysVinit, or\u00a0Upstart, learn how to view and manage services ensures that your system runs smoothly and reliably.","og_url":"https:\/\/draculaservers.com\/tutorials\/list-running-services-linux\/","og_site_name":"Dracula Servers Tutorials","article_published_time":"2024-07-19T10:00:37+00:00","article_modified_time":"2024-08-04T21:26:58+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-47.png","type":"image\/png"}],"author":"Abdul Mannan","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Abdul Mannan","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/draculaservers.com\/tutorials\/list-running-services-linux\/#article","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/list-running-services-linux\/"},"author":{"name":"Abdul Mannan","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/ac89d0281f4fb596bfaa0bc1e746c8a6"},"headline":"How to List Running Services on Linux","datePublished":"2024-07-19T10:00:37+00:00","dateModified":"2024-08-04T21:26:58+00:00","mainEntityOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/list-running-services-linux\/"},"wordCount":732,"commentCount":0,"publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/list-running-services-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-47.png","keywords":["How to view all running services on Linux","List all services on Linux","View all services on Linux"],"articleSection":["Linux Basics","Linux Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/draculaservers.com\/tutorials\/list-running-services-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/draculaservers.com\/tutorials\/list-running-services-linux\/","url":"https:\/\/draculaservers.com\/tutorials\/list-running-services-linux\/","name":"How to List Running Services on Linux - Dracula Servers Tutorials","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/list-running-services-linux\/#primaryimage"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/list-running-services-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-47.png","datePublished":"2024-07-19T10:00:37+00:00","dateModified":"2024-08-04T21:26:58+00:00","description":"Use systemd,\u00a0SysVinit, or\u00a0Upstart, learn how to view and manage services ensures that your system runs smoothly and reliably.","breadcrumb":{"@id":"https:\/\/draculaservers.com\/tutorials\/list-running-services-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/draculaservers.com\/tutorials\/list-running-services-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/list-running-services-linux\/#primaryimage","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-47.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-47.png","width":1280,"height":720,"caption":"How to List Running Services on Linux"},{"@type":"BreadcrumbList","@id":"https:\/\/draculaservers.com\/tutorials\/list-running-services-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/draculaservers.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"How to List Running Services on Linux"}]},{"@type":"WebSite","@id":"https:\/\/draculaservers.com\/tutorials\/#website","url":"https:\/\/draculaservers.com\/tutorials\/","name":"Dracula Servers Tutorials","description":"Dedicated Servers","publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/draculaservers.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/draculaservers.com\/tutorials\/#organization","name":"Dracula Servers","url":"https:\/\/draculaservers.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","width":1625,"height":200,"caption":"Dracula Servers"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/ac89d0281f4fb596bfaa0bc1e746c8a6","name":"Abdul Mannan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","caption":"Abdul Mannan"},"description":"An individual trying to decipher the enigmas of technology by the sheer driving force of curiosity. Interested in learning new skills and being better at those skills than the lot."}]}},"_links":{"self":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/3483","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/comments?post=3483"}],"version-history":[{"count":1,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/3483\/revisions"}],"predecessor-version":[{"id":3485,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/3483\/revisions\/3485"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media\/3484"}],"wp:attachment":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media?parent=3483"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/categories?post=3483"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/tags?post=3483"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}