免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1308 | 回复: 0
打印 上一主题 下一主题

ps出来的奇怪问题~~~~~~~~~~ [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-04-18 13:16 |只看该作者 |倒序浏览
我在ES4.0上运行一个单进程的程序,用ps命令查看却出现很多个同名却不同PID的进程(我能确保我的程序是单进程,但是是多线程的程序),百思不得其解,盼回复!

具体的截图如下:
[starnvsm@Bs log]$ ps aux|grep bs
starnvsm 22654  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:21 ./bs-test2
starnvsm 22655  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22656  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22658  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22659  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22660  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22661  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22662  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22663  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22664  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22665  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22666  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22667  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22668  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22669  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22670  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22671  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22672  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22673  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22674  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22675  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22676  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22677  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22678  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22679  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22680  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22681  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22682  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22683  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22684  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22685  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22686  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22687  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm 22688  0.0  1.4 116768 30964 pts/2  S+   Apr17   0:00 ./bs-test2
starnvsm  1528  0.0  0.0  6240  728 pts/4    S+   13:04   0:00 grep bs
[starnvsm@Bs log]$

[ 本帖最后由 ljok30 于 2008-4-18 13:17 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP