1 / 14

Core System Services

Core System Services. INIT Daemon. The init process is the patron of all processes. first process that gets started in any Linux/ UNIX -based system. INIT. Start up system run level. Specify processes to be executed during system boot.

otis
Télécharger la présentation

Core System Services

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Core System Services

  2. INIT Daemon • The init process is the patron of all processes. • first process that gets started in any Linux/ UNIX -based system.

  3. INIT • Start up system run level. • Specify processes to be executed during system boot. • Specify processes to be run when the specified run level is entered. • Specify certain actions or processes to be run if certain signals or user actions are indicated.

  4. upstart • upstart is an event-based replacement for the init daemon which handles starting of tasks and services during boot, stopping them during shutdown, and supervising them while the system is running

  5. Run level • A runlevel is a preset operating state on a Unix-like operating system. • A system can be booted into any of several runlevels, each of which is represented by a single digit integer. Each runlevel designates a different system configuration and allows access to a different combination of processes

  6. Run Levels in Linux

  7. The /etc/inittab File • The /etc/inittab file contains all the information init needs for starting runlevels.

  8. INETD • The role of inetd is to function as a “super-server” to other network server–related processes, such as telnet, ftp, tftp, etc. • So instead of constantly maintaining potentially dozens of services loaded in memory waiting to be used, they are all listed in inetd’s configuration file, /etc/inetd.conf. On their behalf, inetd listens for incoming connections. Thus, only a single process needs to be in memory.

  9. INETD • low-volume services (such as tftp) are usually best run through the inetd, whereas higher-volume services (such as web servers) are better run as a stand-alone process that is always in memory, ready to handle requests

  10. XINETD • xinetd, the eXtendedInterNET Daemon, is an open-source daemon which runs on many Linux and Unix systems and manages Internet-based connectivity. It offers a more secure extension to or version of inetd, the Internet daemon.

  11. syslogd Daemon • Syslogd provides two system utilities which provide support for system logging and kernel message trapping. Support of both internet and unix domain sockets enables this utility package to support both local and remote logging.

  12. The syslog daemon processing is controlled by a configuration file called /etc/syslog.confin which you define logging rules and output destinations for error messages, authorization violation messages, and trace data.

  13. THE CRON PROGRAM • The cron program allows any user in the system to schedule a program to run on any date, at any time, or on a particular day of week, down to the minute. • Using cron is an extremely efficient way to automate your system, generate reports on a regular basis

  14. CRON • The tool that allows you to edit entries to be executed is crontab.

More Related