ImageVerifierCode 换一换
格式:DOCX , 页数:23 ,大小:111.21KB ,
资源ID:10036422      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/10036422.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(Linux系统维护例行操作指导手册.docx)为本站会员(b****8)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

Linux系统维护例行操作指导手册.docx

1、Linux系统维护例行操作指导手册神州数码系统集成服务有限公司密级:第 1 篇(共 1 篇)Linux系统维护例行操作指导手册外包交付中心方案名称:编写:编写日期:审核:审核日期:批准:批准日期:修订状况章节编号章节名称修订内容简述修订日期修订前版本号修改人目录:1 系统架构 31.1 招商信诺Linux系统架构图 31.2 服务器概要信息 31.3 数据库信息 32 主机系统监控和预防性检查操作方法 32.1 操作频率 32.2 检查硬盘灯、电源灯等状态 42.3 查看网卡状态及重启 42.4 查看硬盘数以及分区状态 42.5 查看系统主要进程运行情况 52.6 查看活动进程 52.7 查看

2、操作系统空间情况 92.8 检查操作系统日志 102.8.1 系统登录日志:last 102.8.2 查看系统启动日志:dmesg 102.8.3 查看/var/log/messages 系统日志 102.8.4 查看其他日志 102.9 查看操作系统性能 102.9.1 查看系统实时运行状态 102.9.2 查看系统负载情况 122.9.3 查看最近1,5,15分钟平均系统负载:uptime 122.9.4 查看当前登陆系统的用户 122.9.5 查看物理内存和Swap空间使用率:free 133 例行作业操作方法 133.1 操作频率 133.2 操作系统备份 133.3 过期系统日志清除

3、 134 操作系统手工停止、启动、重启操作步骤 134.1 关闭操作系统 134.2 重启操作系统 134.3 启动操作系统 145 操作系统常见需求处理方法、常见问题解决方法 145.1 系统加固: 145.2 忘记root密码 145.3 配置网卡 165.4 配置防火墙 166 操作系统应急恢复方法 161系统架构1.1Linux系统架构图PS:此图只是示例,请根据实际项目系统架构情况重新绘制1.2服务器概要信息服务器名IP地址操作系统主要应用1.3数据库信息数据库所在服务器名IP地址数据库版本端口Oracle用户名SID注:以下各检查项,如果有监控软件能实现检查项的监控报警,就不用手工

4、检查。否则需要手工检查。2主机系统监控和预防性检查操作方法2.1操作频率每工作日检查1次。2.2检查硬盘灯、电源灯等状态硬盘灯、电源灯正常为绿灯,如果出现黄灯或红灯说明有问题。如果电源报警灯亮可以先检查电源是否插好。如果都已插好则是电源损坏。需要通知硬件代维方更换硬件。2.3查看网卡状态及重启重启网络服务:#service network restart查看网络状态:#ifconfigpmc2: #ifconfigeth0 Link encap:EthernetHWaddr 00:1F:29:09:69:4A inet addr:10.1.180.73 Bcast:10.1.180.255 M

5、ask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:6421788961 errors:0 dropped:0 overruns:0 frame:0 TX packets:9685332818 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:652478847531 (622252.3 Mb) TX bytes:12895085984008 (12297712.3 Mb) Interr

6、upt:185 Memory:f8000000-f8012100 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:6385721 errors:0 dropped:0 overruns:0 frame:0 TX packets:6385721 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:402215646 (38

7、3.5 Mb) TX bytes:402215646 (383.5 Mb)2.4查看硬盘数以及分区状态#fdisk lpmc2:/var/log #fdisk -lDisk /dev/cciss/c0d0: 146.7 GB, 146778685440 bytes255 heads, 63 sectors/track, 17844 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/cciss/c0d0p1 1 262 2104483+ 82 L

8、inux swap / Solaris/dev/cciss/c0d0p2 * 263 17844 141227415 83 Linux2.5查看系统主要进程运行情况#psef |grep backup2.6查看活动进程#ps aux监听某个进程lsofp 进程号pmc2: # ps -auxWarning: bad ps syntax, perhaps a bogus -? See USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMANDroot 1 0.0 0.0 780 304 ? S 2008 0:49 init 5 root 2 0.

9、0 0.0 0 0 ? S 2008 0:01 migration/0root 3 0.0 0.0 0 0 ? SN 2008 0:00 ksoftirqd/0root 4 0.0 0.0 0 0 ? S 2008 0:00 migration/1root 5 0.0 0.0 0 0 ? SN 2008 0:00 ksoftirqd/1root 6 0.0 0.0 0 0 ? S 2008 0:00 migration/2root 7 0.0 0.0 0 0 ? SN 2008 0:00 ksoftirqd/2root 8 0.0 0.0 0 0 ? S 2008 0:00 migration

10、/3root 9 0.0 0.0 0 0 ? SN 2008 0:00 ksoftirqd/3root 10 0.0 0.0 0 0 ? S 2008 0:01 migration/4root 11 0.0 0.0 0 0 ? SN 2008 0:00 ksoftirqd/4root 12 0.0 0.0 0 0 ? S 2008 0:00 migration/5root 13 0.0 0.0 0 0 ? SN 2008 0:00 ksoftirqd/5root 14 0.0 0.0 0 0 ? S 2008 0:00 migration/6root 15 0.0 0.0 0 0 ? SN 2

11、008 0:00 ksoftirqd/6root 16 0.0 0.0 0 0 ? S 2008 0:01 migration/7root 17 0.0 0.0 0 0 ? SN 2008 0:00 ksoftirqd/7root 18 0.0 0.0 0 0 ? S 2008 0:00 events/0root 19 0.0 0.0 0 0 ? S 2008 0:00 events/1root 20 0.0 0.0 0 0 ? S 2008 0:00 events/2root 21 0.0 0.0 0 0 ? S 2008 0:00 events/3root 22 0.0 0.0 0 0 ?

12、 S 2008 0:00 events/4root 23 0.0 0.0 0 0 ? S 2008 0:00 events/5root 24 0.0 0.0 0 0 ? S 2008 0:00 events/6root 25 0.0 0.0 0 0 ? S 2008 0:00 events/7root 26 0.0 0.0 0 0 ? S 2008 0:00 khelperroot 27 0.0 0.0 0 0 ? S 2008 0:00 kthreadroot 37 0.0 0.0 0 0 ? S 2008 0:00 kblockd/0root 38 0.0 0.0 0 0 ? S 2008

13、 0:08 kblockd/1root 39 0.0 0.0 0 0 ? S 2008 0:08 kblockd/2root 40 0.0 0.0 0 0 ? S 2008 0:00 kblockd/3root 41 0.0 0.0 0 0 ? S 2008 0:00 kblockd/4root 42 0.0 0.0 0 0 ? S 2008 0:00 kblockd/5root 43 0.0 0.0 0 0 ? S 2008 0:06 kblockd/6root 44 0.0 0.0 0 0 ? S 2008 0:00 kblockd/7root 45 0.0 0.0 0 0 ? S 200

14、8 0:00 kacpidroot 244 0.0 0.0 0 0 ? S 2008 99:04 kswapd0root 245 0.0 0.0 0 0 ? S 2008 0:00 aio/0root 246 0.0 0.0 0 0 ? S 2008 0:00 aio/1root 247 0.0 0.0 0 0 ? S 2008 0:00 aio/2root 248 0.0 0.0 0 0 ? S 2008 0:00 aio/3root 249 0.0 0.0 0 0 ? S 2008 0:00 aio/4root 250 0.0 0.0 0 0 ? S 2008 0:00 aio/5root

15、 251 0.0 0.0 0 0 ? S 2008 0:00 aio/6root 252 0.0 0.0 0 0 ? S 2008 0:00 aio/7root 478 0.0 0.0 0 0 ? S 2008 0:00 cqueue/0root 479 0.0 0.0 0 0 ? S 2008 0:00 cqueue/1root 480 0.0 0.0 0 0 ? S 2008 0:00 cqueue/2root 481 0.0 0.0 0 0 ? S 2008 0:00 cqueue/3root 482 0.0 0.0 0 0 ? S 2008 0:00 cqueue/4root 483

16、0.0 0.0 0 0 ? S 2008 0:00 cqueue/5root 484 0.0 0.0 0 0 ? S 2008 0:00 cqueue/6root 485 0.0 0.0 0 0 ? S 2008 0:00 cqueue/7root 486 0.0 0.0 0 0 ? S 2008 0:00 kseriodroot 518 0.0 0.0 0 0 ? S 2008 0:00 kpsmousedroot 1007 0.0 0.0 0 0 ? S 2008 0:00 ata/0root 1008 0.0 0.0 0 0 ? S 2008 0:00 ata/1root 1009 0.

17、0 0.0 0 0 ? S 2008 0:00 ata/2root 1010 0.0 0.0 0 0 ? S 2008 0:00 ata/3root 1011 0.0 0.0 0 0 ? S 2008 0:00 ata/4root 1012 0.0 0.0 0 0 ? S 2008 0:00 ata/5root 1013 0.0 0.0 0 0 ? S 2008 0:00 ata/6root 1014 0.0 0.0 0 0 ? S 2008 0:00 ata/7root 1015 0.0 0.0 0 0 ? S 2008 0:00 ata_auxroot 1071 0.0 0.0 0 0 ?

18、 S 2008 0:00 reiserfs/0root 1072 0.0 0.0 0 0 ? S 2008 1:56 reiserfs/1root 1073 0.0 0.0 0 0 ? S 2008 1:55 reiserfs/2root 1074 0.0 0.0 0 0 ? S 2008 0:00 reiserfs/3root 1075 0.0 0.0 0 0 ? S 2008 0:00 reiserfs/4root 1076 0.0 0.0 0 0 ? S 2008 0:22 reiserfs/5root 1077 0.0 0.0 0 0 ? S 2008 1:25 reiserfs/6r

19、oot 1078 0.0 0.0 0 0 ? S 2008 0:00 reiserfs/7root 1140 0.0 0.0 7128 700 ? Ss 2008 0:00 /sbin/udevd -daemonroot 1812 0.0 0.0 0 0 ? S 2008 0:00 khubdroot 1824 0.0 0.0 0 0 ? S 2008 0:00 shpchpd_eventroot 2865 0.0 0.0 10516 736 ? Ss 2008 0:00 /sbin/resmgrdroot 2896 0.0 0.0 8296 876 ? Ss 2008 2:27 /sbin/

20、syslog-ngroot 2899 0.0 0.0 2640 404 ? Ss 2008 0:08 /usr/sbin/irqbalanceroot 2902 0.0 0.0 2884 668 ? Ss 2008 2:34 /sbin/klogd -c 1 -x -xroot 2907 0.0 0.0 2620 520 ? Ss 2008 0:00 /sbin/acpid100 2941 0.0 0.0 13164 1140 ? Ss 2008 0:33 /usr/bin/dbus-daemon -systemroot 3039 0.0 0.0 13400 3484 ? Ss 2008 0:

21、06 /usr/sbin/hald -daemon=yes -retain-privilegesroot 3418 0.0 0.0 6012 736 ? S 2008 0:00 hald-addon-acpiroot 3536 0.0 0.0 12012 632 ? Ssl 2008 0:00 /sbin/auditd -nroot 3538 0.0 0.0 0 0 ? S 2008 0:00 kauditdnobody 3542 0.0 0.0 4844 672 ? Ss 2008 0:00 /sbin/portmapdaemon 3593 0.0 0.0 12984 1044 ? Ss 2

22、008 0:00 /usr/sbin/slpdroot 3709 0.0 0.0 122964 1104 ? Ssl 2008 2:16 /usr/sbin/nscdlp 3879 0.0 0.0 24284 4120 ? Ss 2008 0:00 /usr/sbin/cupsdroot 3893 0.0 0.0 0 0 ? S 2008 0:00 nfsd4root 3894 0.0 0.0 0 0 ? S 2008 0:00 nfsdroot 3895 0.0 0.0 0 0 ? S 2008 0:00 nfsdroot 3896 0.0 0.0 0 0 ? S 2008 0:00 nfs

23、droot 3897 0.0 0.0 0 0 ? S 2008 0:00 nfsdroot 3899 0.0 0.0 0 0 ? S 2008 0:00 lockdroot 3900 0.0 0.0 0 0 ? S 2008 162:34 rpciod/0root 3901 0.0 0.0 0 0 ? S 2008 0:00 rpciod/1root 3902 0.0 0.0 0 0 ? S 2008 0:00 rpciod/2root 3903 0.0 0.0 0 0 ? S 2008 0:00 rpciod/3root 3904 0.0 0.0 0 0 ? S 2008 0:00 rpci

24、od/4root 3905 0.0 0.0 0 0 ? S 2008 0:00 rpciod/5root 3906 0.0 0.0 0 0 ? S 2008 0:00 rpciod/6root 3907 0.0 0.0 0 0 ? S 2008 0:00 rpciod/7root 3925 0.0 0.0 5928 624 ? Ss 2008 0:00 /usr/sbin/rpc.mountdroot 3964 0.0 0.0 27056 1464 ? Ss 2008 0:11 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pidroot 3978

25、0.0 0.0 20288 2004 ? S 2008 0:06 /usr/sbin/powersaved -d -f /var/run/acpid.socket -v 3root 4059 0.0 0.0 21324 2172 ? Ss 2008 0:02 /usr/lib/postfix/masterroot 4090 0.0 0.0 7100 572 ? Ss 2008 0:01 /usr/sbin/cronpostfix 4095 0.0 0.0 21328 2160 ? S 2008 0:11 qmgr -l -t fifo -uroot 4393 0.0 0.0 3060 704

26、tty1 Ss+ 2008 0:00 /sbin/mingetty -noclear tty1root 4395 0.0 0.0 3060 692 tty3 Ss+ 2008 0:00 /sbin/mingetty tty3root 4396 0.0 0.0 3060 708 tty4 Ss+ 2008 0:00 /sbin/mingetty tty4root 4397 0.0 0.0 3064 688 tty5 Ss+ 2008 0:00 /sbin/mingetty tty5root 4398 0.0 0.0 3064 692 tty6 Ss+ 2008 0:00 /sbin/minget

27、ty tty6oracle 4631 0.0 0.1 63048 10244 ? Ssl 2008 2:53 /opt/oracle/product/10.2/db_1/bin/tnslsnr LISTENER -inheritroot 30031 0.0 0.0 28648 1568 ? Ss 2008 0:00 login - root root 24551 0.0 0.0 9720 2292 tty2 Ss+ 2008 0:00 -bashroot 23901 0.0 0.0 50880 6652 ? S 2008 0:08 /opt/gnome/sbin/gdmroot 23914 0

28、.0 0.0 60268 2820 ? S 2008 0:00 /opt/gnome/sbin/gdmroot 23917 0.0 0.1 44876 8312 tty7 Ss+ 2008 118:31 /usr/X11R6/bin/X :0 -audit 0 -br -auth /var/lib/gdm/:0.Xauth vt7gdm 23936 0.0 0.2 94228 18812 ? Ss 2008 0:00 /opt/gnome/lib64/gdm/gdmgreeterroot 24077 0.0 0.0 8700 444 ? Ss 2008 0:00 /usr/bin/gpg-ag

29、ent -sh -daemonroot 24082 0.0 0.0 10268 900 ? Ss 2008 0:00 dbus-daemon -fork -print-pid 8 -print-address 6 -sessionroot 17791 0.0 0.0 10268 892 ? Ss 2009 0:00 dbus-daemon -fork -print-pid 8 -print-address 6 -sessionoracle 28198 0.0 0.1 61984 9096 ? Ssl 2009 0:24 /opt/oracle/product/10.2/db_1/bin/tnslsnr LISTENER -inheritoracle 28205 0.0 0.2 2563316 19812 ? Ss 2009 0:01 ora_pmon_orcloracle 28207 0.0 0.1 2562144 16180 ? Ss 2009 1:33 ora_psp0_orcloracle 28209 0.0 10.8 2562140 887704 ? Ss 2009 0:10 ora_mman_orclo

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1