服务列表好办,chkconfig --list 就有了,但是他们都是做什么用的,系统中是否用得到,怎么查?
1、man 服务名最广泛使用的查询方式man比如# man abrtdABRTD(8) ABRT Manual ABRTD(8)NAME abrtd - automated bug reporting tool麓s daemon.SYNOPSIS abrtd [-dsv[v]...]DESCRIPTION abrtd is a daemon that watches for application crashes. When a crash occurs, it collects the problem data (core file, application鈥檚 command line etc.) and takes action according to the type of application that crashed and according to the configuration in the abrt.conf config file. There are plugins for various actions: for example to report the crash to Bugzilla, to mail the report, or to transfer the report via FTP or SCP. See the manual pages for the respective plugins.
2、rpm -qi当然,也会有一些服务通过man查询不到, 比如 blk-availability 、 abrt-ccpp。我们可以通过启动脚本对应的rpm包来查询,知道这个rpm包的作用,也就知道这个服务的作用了。rpm -qi `rpm -qf /etc/rc.d/init.d/服务名` # 注意是反引号看Description部分,一般就是这个rpm包的作用了,至少能看出来和哪些功能相关。[root@localhost ~]# rpm -qi `rpm -qf /etc/rc.d/init.d/blk-availability`Name : lvm2 Relocations: (not relocatable)Version : 2.02.98 Vendor: CentOSRelease : 9.el6 Build Date: Fri 22 Feb 2013 02:21:40 PM CSTInstall Date: Wed 19 Mar 2014 05:06:26 PM CST Build Host: c6b8.bsys.dev.centos.orgGroup : System Environment/Base Source RPM: lvm2-2.02.98-9.el6.src.rpmSize : 1417702 License: GPLv2Signature : RSA/SHA1, Sun 24 Feb 2013 01:39:56 AM CST, Key ID 0946fca2c105b9dePackager : CentOS BuildSystem <http://bugs.centos.org>URL : http://sources.redhat.com/lvm2Summary : Userland logical volume management toolsDescription :LVM2 includes all of the support for handling read/write operations onphysical volumes (hard disks, RAID-Systems, magneto optical, etc.,multiple devices (MD), see mdadd(8) or even loop devices, seelosetup(8)), creating volume groups (kind of virtual disks) from oneor more physical volumes and creating one or more logical volumes(kind of logical partitions) in volume groups.从U盘运行Linux操作系统的三种方法修复CentOS 6.4 Grub 启动相关资讯 Linux服务 Linux服务作用
- Linux 服务详解 (10/12/2014 12:11:18)
- Redhat Enterprise Linux启动服务 (09/21/2007 14:39:17)
| - Linux系统常见服务说明 (12/13/2007 09:05:40)
|
本文评论 查看全部评论 (0)