本文共 3491 字,大约阅读时间需要 11 分钟。
[root@F5:Active] config # chkconfig --listanacron 0:off 1:off 2:on 3:on 4:on 5:on 6:offauditd 0:off 1:off 2:on 3:on 4:on 5:on 6:offbigstart 0:off 1:off 2:on 3:on 4:on 5:on 6:offcluster 0:off 1:off 2:on 3:on 4:on 5:on 6:offcrond 0:off 1:off 2:on 3:on 4:on 5:on 6:offdhclient 0:off 1:off 2:on 3:on 4:on 5:on 6:offfw_update 0:off 1:off 2:off 3:on 4:off 5:off 6:offhttpd 0:off 1:off 2:on 3:on 4:on 5:on 6:offhttpd_sam 0:off 1:off 2:on 3:on 4:on 5:on 6:offip6tables 0:off 1:off 2:on 3:on 4:on 5:on 6:offiptables 0:off 1:off 2:on 3:on 4:on 5:on 6:offirqbalance 0:off 1:off 2:on 3:on 4:on 5:on 6:offlm_sensors 0:off 1:off 2:on 3:on 4:on 5:on 6:offlvm2-monitor 0:off 1:on 2:on 3:on 4:on 5:on 6:offmcstrans 0:off 1:off 2:on 3:on 4:on 5:on 6:offmdmonitor 0:off 1:off 2:on 3:on 4:on 5:on 6:offmdmpd 0:off 1:off 2:off 3:off 4:off 5:off 6:offmultipathd 0:off 1:off 2:off 3:off 4:off 5:off 6:offnetconsole 0:off 1:off 2:on 3:on 4:on 5:on 6:offnetfs 0:off 1:off 2:off 3:on 4:on 5:on 6:offnetplugd 0:off 1:off 2:off 3:off 4:off 5:off 6:offnetwork 0:off 1:off 2:on 3:on 4:on 5:on 6:offntpd 0:off 1:off 2:on 3:on 4:on 5:on 6:offpostfix 0:off 1:off 2:off 3:off 4:off 5:off 6:offrawdevices 0:off 1:off 2:off 3:on 4:on 5:on 6:offrdisc 0:off 1:off 2:off 3:off 4:off 5:off 6:offrestorecond 0:off 1:off 2:on 3:on 4:on 5:on 6:offrsync 0:off 1:off 2:on 3:on 4:on 5:on 6:offsaslauthd 0:off 1:off 2:off 3:off 4:off 5:off 6:offsmartd 0:off 1:off 2:on 3:on 4:on 5:on 6:offsshd 0:off 1:off 2:on 3:on 4:on 5:on 6:offsyslog-ng 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root@F5:Active] config # cat /etc/rc.local#!/bin/sh## This script will be executed *after* all the other init scripts.# You can put your own initialization stuff in here if you don't# want to do the full Sys V style init stuff.## NOTE:# - /config/startup is for customer config additions and# will be saved in UCS and configsynced.## - /etc/rc.local should *not* be used by customers and# can/will be changed by F5## Add /var/log/pam and set the appropriate owner, permissions#mkdir /var/log/pam > /dev/null 2>&1chmod 0770 /var/log/pamchown root:apache /var/log/pamtouch /var/log/pam/tallylogchmod 0660 /var/log/pam/tallylogchown root:apache /var/log/pam/tallylogchcon -t var_log_pam_t /var/log/pam/tallylog## This callback is required for various Enterprise Manager tasks that# may be performed on the device.#if [ -f /shared/f5_update_action -a -f /usr/bin/f5_update_checker ]; then nohup /usr/bin/f5_update_checker >> /var/log/f5_update_checker.log 2>&1fi# run customer config additionsif [ -x /config/startup ]; then /config/startupfitouch /var/lock/subsys/local
named Running for 3 hoursntpd Running...postfix master Stoppedsnmpd Running for 3 hourssshd原文出处:Netkiller 系列 手札 本文作者:陈景峯 转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。