save draft.

This commit is contained in:
szrlee 2014-09-11 14:00:12 +08:00
parent 0efb15e795
commit 8191d837e6

View File

@ -1,16 +1,28 @@
(translating by szrlee) (translating by szrlee)
Awesome ! systemd Commands to Manage Linux System Awesome ! systemd Commands to Manage Linux System
用systemd命令来管理linux系统
================================================================================ ================================================================================
Systemd is the new system and service manager for Linux. It is a replacement for init system and can manage system startup and services. It starts up and supervises the entire system. In article we are using [centos 7.0 installed with systemd 216 version][1] and the latest version is [available for download from freedesktop.org][2]. Systemd is the new system and service manager for Linux.
Systemd是一种新的linux系统服务管理器。
It is a replacement for init system and can manage system startup and services. It starts up and supervises the entire system. In article we are using [centos 7.0 installed with systemd 216 version][1] and the latest version is [available for download from freedesktop.org][2].
它替换了init系统能够管理系统的启动过程和一些系统服务一旦启动起来就将监管整个系统。
With new player in town, PID 1 is occupied by “systemd” and can be seen from pstree command as well: With new player in town, PID 1 is occupied by “systemd” and can be seen from pstree command as well:
因为linux系统里这一新的玩家PID 1被“systemd”占据了这能通过pstree命令看到。
[root@linoxide ~]# pstree [root@linoxide ~]# pstree
![](http://linoxide.com/wp-content/uploads/2014/08/01.systemd_pstree.png) ![](http://linoxide.com/wp-content/uploads/2014/08/01.systemd_pstree.png)
Lets explore what systemd is capable of and what possibilities we have with the new replacement for sysVinit. Lets explore what systemd is capable of and what possibilities we have with the new replacement for sysVinit.
那么现在让我们来探索systemd擅长什么它又有多大的可能性成为sysVinit的新的替代品。
### 1. Faster startup ### ### 1. Faster startup ###
The sysvinit starts the processes serially, one at a time. Systemd starts services in parallel and starts only those services which are actually required, reducing the boot time significantly. The sysvinit starts the processes serially, one at a time. Systemd starts services in parallel and starts only those services which are actually required, reducing the boot time significantly.