What is a Service?

Process States

About

A service is a process that:

  • runs continuously in the background
  • are started by the operating system when the system starts.

It's declared and managed by the OS init system. With the init system, you may:

  • start / stop a service
  • get a list of all currently running services

It is used remotely through some remote interface, either synchronous or asynchronous (eg web service, messaging system, RPC, or socket.)

How to list the well-known services

To have a list of the well-known services, you can inspect the services file (The services translation file) on linux, located at:

/etc/services

Example which port used the port 25?

cat /etc/services | grep ' 25/tcp'

This is a SMTP port

smtp            25/tcp          mai

How to manage services

on Windows

on Linux

How do you identify a service?

A service is identified:

  • on the network by a socket. The most well-known is the netsocket (ie the hostname, the port and the protocol)
  • on the application level by its scheme (application protocol)

For instance, if you known that there is a service on the port 80, you would expect it to be:





Discover More
A web resource is the data of the web

This articles shows what a web resource is, how to access it and how it's defined. Web resources is also known as web content. The most known web resource is an html page with its CSS and Javascript but...
Card Puncher Data Processing
Application - Failure

A failure is when the system as a whole stops providing the required service to the user. It's generally caused by an exception not caught.
Process States
Background process

have generally a low priority The most known background process are services.
Process States
Command Argument

This page is argument of a command. When the command is started via a shell script (manual or automatic), the arguments: are separated by one or more blank space should be quoted if the value...
Fail2ban

Fail2Ban is an intrusion prevention software framework that protects computer servers from brute-force attacks. is a log parser. It cannot do anything before something is written in the log files. ...
Firewalld OS Service / Admin

This page is the management of the OS service known as firewalld on the operating system. The system service configuration file is located at: Excerpt: See Reload firewall and keep...
Bash Liste Des Attaques Ovh
How to check a port? locally and remotely on Linux

This page is Port management on Linux. When you install a software (process), you need often to verify the available port in order to configure the component installation. with netstat, you can check...
Web Site Certificate
How to enable SSL on a server (ie HTTPS on a web server) ?

This page shows you how to configure a certificate and a private key for a server in order to enable SSL or a web server (http) (ie web site) in order to enable https (ie HTTP over SSL).
Linux - Boot (Init service system)

The Init system is the first process (as PID 1) started by a operating system at system startup that start all other service (ie services) The following are possible init system: bash...
Data System Architecture
Log - logrotate app

logrotate is an application running as a linux service that allows: * automatic rotation, * compression * removal, * and mailing of log files. Each log file may be handled daily, weekly, monthly,...



Share this page:
Follow us:
Task Runner