收藏 分销(赏)

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

上传人:天**** 文档编号:4547254 上传时间:2024-09-27 格式:DOC 页数:32 大小:266.04KB
下载 相关 举报
Linux系统维护例行操作指导手册.doc_第1页
第1页 / 共32页
Linux系统维护例行操作指导手册.doc_第2页
第2页 / 共32页
Linux系统维护例行操作指导手册.doc_第3页
第3页 / 共32页
Linux系统维护例行操作指导手册.doc_第4页
第4页 / 共32页
Linux系统维护例行操作指导手册.doc_第5页
第5页 / 共32页
点击查看更多>>
资源描述

1、神州数码系统集成服务有限企业密级:第 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查看操作系统空间状况92.8检查操作系统日志102.8.1系统登录日志:last102.8.

2、2查看系统启动日志:dmesg102.8.3查看/var/log/messages 系统日志102.8.4查看其他日志102.9查看操作系统性能102.9.1查看系统实时运行状态102.9.2查看系统负载状况122.9.3查看近来1,5,15分钟平均系统负载:uptime122.9.4查看目前登陆系统旳顾客122.9.5查看物理内存和Swap空间使用率:free133例行作业操作措施133.1操作频率133.2操作系统备份133.3过期系统日志清除134操作系统手工停止、启动、重启操作环节134.1关闭操作系统134.2重启操作系统134.3启动操作系统145操作系统常见需求处理措施、常见问题

3、处理措施145.1系统加固:145.2忘掉root密码145.3配置网卡165.4配置防火墙166操作系统应急恢复措施161 系统架构1.1 Linux系统架构图XX系统服务器备机XX系统服务器主机光纤互换机磁盘阵列PS:此图只是示例,请根据实际项目系统架构状况重新绘制1.2 服务器概要信息服务器名IP地址操作系统重要应用1.3 数据库信息数据库所在服务器名IP地址数据库版本端口Oracle顾客名SID注:如下各检查项,假如有监控软件能实现检查项旳监控报警,就不用手工检查。否则需要手工检查。2 主机系统监控和防止性检查操作措施2.1 操作频率每工作日检查1次。2.2 检查硬盘灯、电源灯等状态硬

4、盘灯、电源灯正常为绿灯,假如出现黄灯或红灯阐明有问题。假如电源报警灯亮可以先检查电源与否插好。假如都已插好则是电源损坏。需要告知硬件代维方更换硬件。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 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Me

5、tric:1 RX packets: errors:0 dropped:0 overruns:0 frame:0 TX packets: errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes: (622252.3 Mb) TX bytes:08 (12297712.3 Mb) Interrupt:185 Memory:f8000000-f8012100 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOP

6、BACK 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: (383.5 Mb) TX bytes: (383.5 Mb)2.4 查看硬盘数以及分区状态#fdisk lpmc2:/var/log #fdisk -lDisk /dev/cciss/c0d0: 146.7 GB, 0 bytes

7、255 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 Linux swap / Solaris/dev/cciss/c0d0p2 * 263 17844 83 Linux2.5 查看系统重要进程运行状况#psef |grep backup2.6 查看活动进程#ps aux监听某个进程lsofp 进程号pmc2: # p

8、s -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 2023 0:49 init 5 root 2 0.0 0.0 0 0 ? S 2023 0:01 migration/0root 3 0.0 0.0 0 0 ? SN 2023 0:00 ksoftirqd/0root 4 0.0 0.0 0 0 ? S 2023 0:00 migration/1root 5 0.0 0.0 0

9、 0 ? SN 2023 0:00 ksoftirqd/1root 6 0.0 0.0 0 0 ? S 2023 0:00 migration/2root 7 0.0 0.0 0 0 ? SN 2023 0:00 ksoftirqd/2root 8 0.0 0.0 0 0 ? S 2023 0:00 migration/3root 9 0.0 0.0 0 0 ? SN 2023 0:00 ksoftirqd/3root 10 0.0 0.0 0 0 ? S 2023 0:01 migration/4root 11 0.0 0.0 0 0 ? SN 2023 0:00 ksoftirqd/4ro

10、ot 12 0.0 0.0 0 0 ? S 2023 0:00 migration/5root 13 0.0 0.0 0 0 ? SN 2023 0:00 ksoftirqd/5root 14 0.0 0.0 0 0 ? S 2023 0:00 migration/6root 15 0.0 0.0 0 0 ? SN 2023 0:00 ksoftirqd/6root 16 0.0 0.0 0 0 ? S 2023 0:01 migration/7root 17 0.0 0.0 0 0 ? SN 2023 0:00 ksoftirqd/7root 18 0.0 0.0 0 0 ? S 2023

11、0:00 events/0root 19 0.0 0.0 0 0 ? S 2023 0:00 events/1root 20 0.0 0.0 0 0 ? S 2023 0:00 events/2root 21 0.0 0.0 0 0 ? S 2023 0:00 events/3root 22 0.0 0.0 0 0 ? S 2023 0:00 events/4root 23 0.0 0.0 0 0 ? S 2023 0:00 events/5root 24 0.0 0.0 0 0 ? S 2023 0:00 events/6root 25 0.0 0.0 0 0 ? S 2023 0:00 e

12、vents/7root 26 0.0 0.0 0 0 ? S 2023 0:00 khelperroot 27 0.0 0.0 0 0 ? S 2023 0:00 kthreadroot 37 0.0 0.0 0 0 ? S 2023 0:00 kblockd/0root 38 0.0 0.0 0 0 ? S 2023 0:08 kblockd/1root 39 0.0 0.0 0 0 ? S 2023 0:08 kblockd/2root 40 0.0 0.0 0 0 ? S 2023 0:00 kblockd/3root 41 0.0 0.0 0 0 ? S 2023 0:00 kbloc

13、kd/4root 42 0.0 0.0 0 0 ? S 2023 0:00 kblockd/5root 43 0.0 0.0 0 0 ? S 2023 0:06 kblockd/6root 44 0.0 0.0 0 0 ? S 2023 0:00 kblockd/7root 45 0.0 0.0 0 0 ? S 2023 0:00 kacpidroot 244 0.0 0.0 0 0 ? S 2023 99:04 kswapd0root 245 0.0 0.0 0 0 ? S 2023 0:00 aio/0root 246 0.0 0.0 0 0 ? S 2023 0:00 aio/1root

14、 247 0.0 0.0 0 0 ? S 2023 0:00 aio/2root 248 0.0 0.0 0 0 ? S 2023 0:00 aio/3root 249 0.0 0.0 0 0 ? S 2023 0:00 aio/4root 250 0.0 0.0 0 0 ? S 2023 0:00 aio/5root 251 0.0 0.0 0 0 ? S 2023 0:00 aio/6root 252 0.0 0.0 0 0 ? S 2023 0:00 aio/7root 478 0.0 0.0 0 0 ? S 2023 0:00 cqueue/0root 479 0.0 0.0 0 0

15、? S 2023 0:00 cqueue/1root 480 0.0 0.0 0 0 ? S 2023 0:00 cqueue/2root 481 0.0 0.0 0 0 ? S 2023 0:00 cqueue/3root 482 0.0 0.0 0 0 ? S 2023 0:00 cqueue/4root 483 0.0 0.0 0 0 ? S 2023 0:00 cqueue/5root 484 0.0 0.0 0 0 ? S 2023 0:00 cqueue/6root 485 0.0 0.0 0 0 ? S 2023 0:00 cqueue/7root 486 0.0 0.0 0 0

16、 ? S 2023 0:00 kseriodroot 518 0.0 0.0 0 0 ? S 2023 0:00 kpsmousedroot 1007 0.0 0.0 0 0 ? S 2023 0:00 ata/0root 1008 0.0 0.0 0 0 ? S 2023 0:00 ata/1root 1009 0.0 0.0 0 0 ? S 2023 0:00 ata/2root 1010 0.0 0.0 0 0 ? S 2023 0:00 ata/3root 1011 0.0 0.0 0 0 ? S 2023 0:00 ata/4root 1012 0.0 0.0 0 0 ? S 202

17、3 0:00 ata/5root 1013 0.0 0.0 0 0 ? S 2023 0:00 ata/6root 1014 0.0 0.0 0 0 ? S 2023 0:00 ata/7root 1015 0.0 0.0 0 0 ? S 2023 0:00 ata_auxroot 1071 0.0 0.0 0 0 ? S 2023 0:00 reiserfs/0root 1072 0.0 0.0 0 0 ? S 2023 1:56 reiserfs/1root 1073 0.0 0.0 0 0 ? S 2023 1:55 reiserfs/2root 1074 0.0 0.0 0 0 ? S

18、 2023 0:00 reiserfs/3root 1075 0.0 0.0 0 0 ? S 2023 0:00 reiserfs/4root 1076 0.0 0.0 0 0 ? S 2023 0:22 reiserfs/5root 1077 0.0 0.0 0 0 ? S 2023 1:25 reiserfs/6root 1078 0.0 0.0 0 0 ? S 2023 0:00 reiserfs/7root 1140 0.0 0.0 7128 700 ? Ss 2023 0:00 /sbin/udevd -daemonroot 1812 0.0 0.0 0 0 ? S 2023 0:0

19、0 khubdroot 1824 0.0 0.0 0 0 ? S 2023 0:00 shpchpd_eventroot 2865 0.0 0.0 10516 736 ? Ss 2023 0:00 /sbin/resmgrdroot 2896 0.0 0.0 8296 876 ? Ss 2023 2:27 /sbin/syslog-ngroot 2899 0.0 0.0 2640 404 ? Ss 2023 0:08 /usr/sbin/irqbalanceroot 2902 0.0 0.0 2884 668 ? Ss 2023 2:34 /sbin/klogd -c 1 -x -xroot

20、2907 0.0 0.0 2620 520 ? Ss 2023 0:00 /sbin/acpid100 2941 0.0 0.0 13164 1140 ? Ss 2023 0:33 /usr/bin/dbus-daemon -systemroot 3039 0.0 0.0 13400 3484 ? Ss 2023 0:06 /usr/sbin/hald -daemon=yes -retain-privilegesroot 3418 0.0 0.0 6012 736 ? S 2023 0:00 hald-addon-acpiroot 3536 0.0 0.0 12023 632 ? Ssl 20

21、23 0:00 /sbin/auditd -nroot 3538 0.0 0.0 0 0 ? S 2023 0:00 kauditdnobody 3542 0.0 0.0 4844 672 ? Ss 2023 0:00 /sbin/portmapdaemon 3593 0.0 0.0 12984 1044 ? Ss 2023 0:00 /usr/sbin/slpdroot 3709 0.0 0.0 122964 1104 ? Ssl 2023 2:16 /usr/sbin/nscdlp 3879 0.0 0.0 24284 4120 ? Ss 2023 0:00 /usr/sbin/cupsd

22、root 3893 0.0 0.0 0 0 ? S 2023 0:00 nfsd4root 3894 0.0 0.0 0 0 ? S 2023 0:00 nfsdroot 3895 0.0 0.0 0 0 ? S 2023 0:00 nfsdroot 3896 0.0 0.0 0 0 ? S 2023 0:00 nfsdroot 3897 0.0 0.0 0 0 ? S 2023 0:00 nfsdroot 3899 0.0 0.0 0 0 ? S 2023 0:00 lockdroot 3900 0.0 0.0 0 0 ? S 2023 162:34 rpciod/0root 3901 0.

23、0 0.0 0 0 ? S 2023 0:00 rpciod/1root 3902 0.0 0.0 0 0 ? S 2023 0:00 rpciod/2root 3903 0.0 0.0 0 0 ? S 2023 0:00 rpciod/3root 3904 0.0 0.0 0 0 ? S 2023 0:00 rpciod/4root 3905 0.0 0.0 0 0 ? S 2023 0:00 rpciod/5root 3906 0.0 0.0 0 0 ? S 2023 0:00 rpciod/6root 3907 0.0 0.0 0 0 ? S 2023 0:00 rpciod/7root

24、 3925 0.0 0.0 5928 624 ? Ss 2023 0:00 /usr/sbin/rpc.mountdroot 3964 0.0 0.0 27056 1464 ? Ss 2023 0:11 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pidroot 3978 0.0 0.0 20288 2023 ? S 2023 0:06 /usr/sbin/powersaved -d -f /var/run/acpid.socket -v 3root 4059 0.0 0.0 21324 2172 ? Ss 2023 0:02 /usr/lib/p

25、ostfix/masterroot 4090 0.0 0.0 7100 572 ? Ss 2023 0:01 /usr/sbin/cronpostfix 4095 0.0 0.0 21328 2160 ? S 2023 0:11 qmgr -l -t fifo -uroot 4393 0.0 0.0 3060 704 tty1 Ss+ 2023 0:00 /sbin/mingetty -noclear tty1root 4395 0.0 0.0 3060 692 tty3 Ss+ 2023 0:00 /sbin/mingetty tty3root 4396 0.0 0.0 3060 708 t

26、ty4 Ss+ 2023 0:00 /sbin/mingetty tty4root 4397 0.0 0.0 3064 688 tty5 Ss+ 2023 0:00 /sbin/mingetty tty5root 4398 0.0 0.0 3064 692 tty6 Ss+ 2023 0:00 /sbin/mingetty tty6oracle 4631 0.0 0.1 63048 10244 ? Ssl 2023 2:53 /opt/oracle/product/10.2/db_1/bin/tnslsnr LISTENER -inheritroot 30031 0.0 0.0 28648 1

27、568 ? Ss 2023 0:00 login - root root 24551 0.0 0.0 9720 2292 tty2 Ss+ 2023 0:00 -bashroot 23901 0.0 0.0 50880 6652 ? S 2023 0:08 /opt/gnome/sbin/gdmroot 23914 0.0 0.0 60268 2820 ? S 2023 0:00 /opt/gnome/sbin/gdmroot 23917 0.0 0.1 44876 8312 tty7 Ss+ 2023 118:31 /usr/X11R6/bin/X :0 -audit 0 -br -auth

28、 /var/lib/gdm/:0.Xauth vt7gdm 23936 0.0 0.2 94228 18812 ? Ss 2023 0:00 /opt/gnome/lib64/gdm/gdmgreeterroot 24077 0.0 0.0 8700 444 ? Ss 2023 0:00 /usr/bin/gpg-agent -sh -daemonroot 24082 0.0 0.0 10268 900 ? Ss 2023 0:00 dbus-daemon -fork -print-pid 8 -print-address 6 -sessionroot 17791 0.0 0.0 10268

29、892 ? Ss 2023 0:00 dbus-daemon -fork -print-pid 8 -print-address 6 -sessionoracle 28198 0.0 0.1 61984 9096 ? Ssl 2023 0:24 /opt/oracle/product/10.2/db_1/bin/tnslsnr LISTENER -inheritoracle 28205 0.0 0.2 2563316 19812 ? Ss 2023 0:01 ora_pmon_orcloracle 28207 0.0 0.1 2562144 16180 ? Ss 2023 1:33 ora_p

30、sp0_orcloracle 28209 0.0 10.8 2562140 887704 ? Ss 2023 0:10 ora_mman_orcloracle 28211 0.0 22.9 2595952 1879296 ? Ss 2023 6:00 ora_dbw0_orcloracle 28213 0.0 0.5 2577696 48272 ? Ss 2023 8:24 ora_lgwr_orcloracle 28215 0.0 1.2 2563684 102704 ? Ss 2023 12:35 ora_ckpt_orcloracle 28217 0.0 16.7 2564780 136

31、9832 ? Ss 2023 9:24 ora_smon_orcloracle 28219 0.0 3.2 2563724 267828 ? Ss 2023 0:00 ora_reco_orcloracle 28221 0.0 8.5 2563796 698012 ? Ss 2023 3:10 ora_cjq0_orcloracle 28223 0.0 31.7 3347456 2593104 ? Ss 2023 13:57 ora_mmon_orcloracle 28225 0.0 2.0 2562140 164608 ? Ss 2023 0:04 ora_mmnl_orcloracle 2

32、8227 0.0 0.2 2562988 16464 ? Ss 2023 0:00 ora_d000_orcloracle 28233 0.0 0.1 2563316 15680 ? Ss 2023 0:00 ora_s000_orcloracle 28237 0.0 0.4 2577696 33280 ? Ss 2023 0:46 ora_arc0_orcloracle 28239 0.0 0.4 2577696 33140 ? Ss 2023 0:45 ora_arc1_orcloracle 28243 0.0 0.2 2562140 17564 ? Ss 2023 0:00 ora_qm

33、nc_orcloracle 28247 0.0 16.9 2564804 1389684 ? Ss 2023 0:27 ora_q000_orcloracle 28249 0.0 0.2 2562136 16768 ? Ss 2023 0:05 ora_q001_orcloracle 25297 0.0 0.3 2562848 31136 ? Ss Sep03 0:00 oracleorcl (LOCAL=NO)oracle 25299 0.0 0.2 2562272 19720 ? Ss Sep03 0:00 oracleorcl (LOCAL=NO)oracle 25301 0.0 0.2 2562268 19648 ? Ss Sep03 0:00 oracleorcl (L

展开阅读全文
相似文档                                   自信AI助手自信AI助手
猜你喜欢                                   自信AI导航自信AI导航
搜索标签

当前位置:首页 > 包罗万象 > 大杂烩

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        获赠5币

©2010-2024 宁波自信网络信息技术有限公司  版权所有

客服电话:4008-655-100  投诉/维权电话:4009-655-100

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :gzh.png    weibo.png    LOFTER.png 

客服