avatar
o*n
1
the ps command now can only pick up some system
processes, my own programm run in the background
cannot be seen, even in the process manager.
if I don't close the terminal from which
I start the program, I can see it by "jobs"
but if I close the terminal associated
with it, the process is nowhere to find -- so I
cannot kill it!!!
any way to fix it?
I am using solaris 7 sparc CDE, c shell.
thanks in advance.
avatar
m*e
2
ps aux
ps -el

【在 o******n 的大作中提到】
: the ps command now can only pick up some system
: processes, my own programm run in the background
: cannot be seen, even in the process manager.
: if I don't close the terminal from which
: I start the program, I can see it by "jobs"
: but if I close the terminal associated
: with it, the process is nowhere to find -- so I
: cannot kill it!!!
: any way to fix it?
: I am using solaris 7 sparc CDE, c shell.

avatar
n*t
3

~~~~~~~~
BSD style
~~~~~~~~~~~
SYS V style

【在 m*****e 的大作中提到】
: ps aux
: ps -el

avatar
r*a
4
if your program name is b, then: ps -A | grep b

【在 o******n 的大作中提到】
: the ps command now can only pick up some system
: processes, my own programm run in the background
: cannot be seen, even in the process manager.
: if I don't close the terminal from which
: I start the program, I can see it by "jobs"
: but if I close the terminal associated
: with it, the process is nowhere to find -- so I
: cannot kill it!!!
: any way to fix it?
: I am using solaris 7 sparc CDE, c shell.

avatar
o*n
5
just found the reason:
if I rename the program to anything that
does not begin with letter 's' I will see it.
strange! on the other machine of the same type,
I don't see this problem.
strange!

【在 r**a 的大作中提到】
: if your program name is b, then: ps -A | grep b
avatar
w*g
6
YOu may want to check md5sum of your ps binary file. Your system might have
been compromised.
Sun website has a database which include all binary files' md5sum fingerprint.

【在 o******n 的大作中提到】
: just found the reason:
: if I rename the program to anything that
: does not begin with letter 's' I will see it.
: strange! on the other machine of the same type,
: I don't see this problem.
: strange!

avatar
t*o
7
if your program name is b, then: ps -ef | grep b
avatar
m*m
8
solaris is not BSD system.
ps -ef /ps -el is enough

【在 m*****e 的大作中提到】
: ps aux
: ps -el

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。