由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - xterm got kill when i run my application, how come ?
相关主题
stack smashing detectedfirefox不支持中文输入
How to debug "broken pipe" in linux programming ?cygwin+X+GB?
谁在说kde容易崩溃关于vi的几个问题
GNU screen 下面 vim 没有颜色?问个小白问题:怎么进入fvwm?
问个问题,关于X11 displayfind 跟中文不对付,怎么办
screen里面的vi和不用screen的vi字体颜色不一样。NX 的不足
what terminal should i use as an ssh bbs client?firefox 点到地址栏里,为什么地址不自动被选呢?
有没有什么分割桌面或屏幕的工具类似于gridubuntu里用什么上BBS啊?
相关话题的讨论汇总
话题: xterm话题: uml话题: my话题: run话题: xterms
进入Linux版参与讨论
1 (共1页)
w*s
发帖数: 7227
1
it's a little bit complicated,
1. i have a script starts 20 xterms like this,
xterm -e "uml ..."
here uml is the open source virtual machine.
so basically i run 20 umls in my pc, each in a xterm so i can check
the progress.
2. each of uml will automatically start my application,
which is multithreaded, has pipes, sockets etc.
basically instead of 20 pcs run my app to stress test the server
in the other end. I use UML to do this in 1 pc.
when i do this, every once a while some xterms disappear.
if the UMLs don't run my app, i know it's fine.
but if my app has bug, how can it kill the xterm ?
During this procedure, i keep on checking pc memory by "free -m",
and seems it has plenty of free memory.
Total is ~3GB, but i never see the used memory exceed 2GB.
thanks !
x****s
发帖数: 921
2
uml crash/exit后,xterm也结束了吧。 你可以试下 xterm -e "sleep 5"

【在 w*s 的大作中提到】
: it's a little bit complicated,
: 1. i have a script starts 20 xterms like this,
: xterm -e "uml ..."
: here uml is the open source virtual machine.
: so basically i run 20 umls in my pc, each in a xterm so i can check
: the progress.
: 2. each of uml will automatically start my application,
: which is multithreaded, has pipes, sockets etc.
: basically instead of 20 pcs run my app to stress test the server
: in the other end. I use UML to do this in 1 pc.

w*s
发帖数: 7227
3
i setup the way such that xterm can stay.
Most xterms can stay running, if my app crashes, i can see the seg fault etc.

【在 x****s 的大作中提到】
: uml crash/exit后,xterm也结束了吧。 你可以试下 xterm -e "sleep 5"
x****s
发帖数: 921
4
就是说在你的环境下,using exactly same command line, just replace "uml ..."
with "sleep 5", your xterm will stay?
if yes, then I have no idea.
w*s
发帖数: 7227
5
sth. like
xterm -e "my app; sh"

"

【在 x****s 的大作中提到】
: 就是说在你的环境下,using exactly same command line, just replace "uml ..."
: with "sleep 5", your xterm will stay?
: if yes, then I have no idea.

1 (共1页)
进入Linux版参与讨论
相关主题
ubuntu里用什么上BBS啊?问个问题,关于X11 display
konsole 也不错,直接改 encoding 就看见中文了screen里面的vi和不用screen的vi字体颜色不一样。
这个screenwhat terminal should i use as an ssh bbs client?
screen窗口的title能不能设成自动刷新路径?有没有什么分割桌面或屏幕的工具类似于grid
stack smashing detectedfirefox不支持中文输入
How to debug "broken pipe" in linux programming ?cygwin+X+GB?
谁在说kde容易崩溃关于vi的几个问题
GNU screen 下面 vim 没有颜色?问个小白问题:怎么进入fvwm?
相关话题的讨论汇总
话题: xterm话题: uml话题: my话题: run话题: xterms