系统为LINUX REDHAT 5

这台机器创建了一个oracle 用户,没有安装ORACLE 软件

只是为了将另一台数据库服务器 的备份包晚上1点的时候SCP到这台机器上 复制工作在1:30就结束了。

但是白天看这台机器的进程有很多的 /usr/sbin/sshd 进程 我查了ps 的命令 ,说

PROCESS STATE CODES

Here are the different values that the s, stat and state output specifiers

(header "STAT" or "S") will display to describe the state of a process.

D Uninterruptible sleep (usually IO)

R Running or runnable (on run queue)

S Interruptible sleep (waiting for an event to complete)

T Stopped, either by a job control signal or because it is being traced.

W paging (not valid since the 2.6.xx kernel)

X dead (should never be seen)

Z Defunct ("zombie") process, terminated but not reaped by its parent.

For BSD formats and when the stat keyword is used, additional characters may be

displayed:

< high-priority (not nice to other users)

N low-priority (nice to other users)

L has pages locked into memory (for real-time and custom IO)

s is a session leader

l is multi-threaded (using CLONE_THREAD, like NPTL pthreads do)

+ is in the foreground process group

而且进程的数量还总在变化,  /usr/sbin/sshd 先是很多,过一会再看,就减少了,减少到2个的时候又增加到很多(几十个) 然后又逐渐减少,重复进行

为什么是这种现象?有影响吗?

[root@pcmxexweb ~]# ps -aux |grep ora

Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ

oracle    1518  0.0  0.0   2532  1036 ?        Ss   Jun06   0:00 ./SCREEN

oracle    1519  0.0  0.0  67504  1612 pts/2    Ss   Jun06   0:00 /bin/bash

root      2777  0.0  0.0  10172   640 ?        S    Apr03   1:22 hald-addon-storage: polling /dev/hda

oracle    9467  0.0  0.0   1884   856 ?        Ss   May28   0:02 ./small

oracle    9942  0.0  0.0   1516   184 ?        Ss   Apr05   0:00 /usr/sbin/httpd

oracle   12546  0.2  0.0 206656   928 ?        Sl   Jun11   8:21 ./ftp_scanner -h 66.79.184.188.0.0 16 -u users -p pass -t 6 -c 20 -o log -d -k -C

oracle   17772  0.0  0.0  67680  1196 pts/2    S+   Jun11   0:00 /bin/bash

oracle   18933  0.0  0.0   2020   988 ?        Ss   Jun07   0:00 ./linux

oracle   26100  0.0  0.0   1880   848 ?        Ss   May21   0:05 ./small

oracle   31385  0.0  0.0   2316  1316 pts/2    S+   11:23   0:00 /usr/sbin/sshd

oracle   31390  0.0  0.0   2316  1316 pts/2    S+   11:23   0:00 /usr/sbin/sshd

oracle   31488  0.0  0.0   2316  1360 pts/2    S+   11:23   0:00 /usr/sbin/sshd

oracle   31492  0.0  0.0   2316  1364 pts/2    S+   11:23   0:00 /usr/sbin/sshd

oracle   31498  0.0  0.0   2316  1316 pts/2    S+   11:23   0:00 /usr/sbin/sshd

oracle   31499  0.0  0.0   2316  1316 pts/2    S+   11:23   0:00 /usr/sbin/sshd

oracle   31501  0.0  0.0   2316  1316 pts/2    S+   11:23   0:00 /usr/sbin/sshd

oracle   31502  0.0  0.0   2316  1316 pts/2    S+   11:23   0:00 /usr/sbin/sshd

oracle   31515  0.0  0.0   2316  1324 pts/2    S+   11:23   0:00 /usr/sbin/sshd

oracle   31710  0.0  0.0   2316  1360 pts/2    S+   11:24   0:00 /usr/sbin/sshd

oracle   31778  0.0  0.0   2316  1316 pts/2    S+   11:24   0:00 /usr/sbin/sshd

oracle   31783  0.0  0.0   2316  1316 pts/2    S+   11:24   0:00 /usr/sbin/sshd

oracle   31784  0.0  0.0   2316  1352 pts/2    S+   11:24   0:00 /usr/sbin/sshd

oracle   31787  0.0  0.0   2316  1364 pts/2    S+   11:25   0:00 /usr/sbin/sshd

oracle   31795  0.0  0.0   2316  1316 pts/2    S+   11:25   0:00 /usr/sbin/sshd

oracle   31801  0.0  0.0   2316  1316 pts/2    S+   11:25   0:00 /usr/sbin/sshd

oracle   31808  0.0  0.0   2316  1364 pts/2    S+   11:25   0:00 /usr/sbin/sshd

oracle   31810  0.0  0.0   2316  1356 pts/2    S+   11:25   0:00 /usr/sbin/sshd

oracle   31857  0.0  0.0  65144  1104 pts/2    S+   11:25   0:00 /bin/bash ./a 80.91

oracle   31860 98.4  0.0   1568   496 pts/2    R+   11:25   1:30 /bin/bash  80.91 22

root     31895  0.0  0.0  62472   748 pts/3    S+   11:27   0:00 grep ora

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐