View Linux boot System

Source: Internet
Author: User

To view the startup system type for Linux

The mainstream of Linux is currently dominated by two sysvinit and upstart, as well as the recently controversial systemd. So how do you check the boot system of your operating system?

Before online someone used the Pstree command to view the first line to make a judgment. Not particularly accurate.

I use Ls-l/sbin/init to think it is still more accurate.

For example:

Centos5

[Email protected] ~]# ll/sbin/init-rwxr-xr-x 1 root root 43496 Jul 2011/sbin/init

The results indicate that the starting system is sysvinit


Ubuntu

[Email protected]:~$ ll/sbin/initlrwxrwxrwx 1 root root 7 Sep-16:26/sbin/init-upstart*

The results indicate that the starting system is upstart


Centos7

[Email protected] ~]# ll/sbin/init lrwxrwxrwx. 1 root root 14:40/sbin/init. /lib/systemd/systemd

The results indicate that the starting system is SYSTEMD



This article from "Good Life, happy work!" "Blog, be sure to keep this provenance http://yjw1983.blog.51cto.com/265702/1615642

View Linux boot System

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.