o******n 发帖数: 25 | 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. |
m*****e 发帖数: 4193 | 2 ps aux
ps -el
【在 o******n 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 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.
|
n******t 发帖数: 4406 | 3
~~~~~~~~
BSD style
~~~~~~~~~~~
SYS V style
【在 m*****e 的大作中提到】![](/moin_static193/solenoid/img/up.png) : ps aux : ps -el
|
r**a 发帖数: 630 | 4 if your program name is b, then: ps -A | grep b
【在 o******n 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 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.
|
o******n 发帖数: 25 | 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 的大作中提到】![](/moin_static193/solenoid/img/up.png) : if your program name is b, then: ps -A | grep b
|
w******g 发帖数: 14 | 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 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 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!
|
t**********o 发帖数: 124 | 7 if your program name is b, then: ps -ef | grep b |
m***m 发帖数: 67 | 8 solaris is not BSD system.
ps -ef /ps -el is enough
【在 m*****e 的大作中提到】![](/moin_static193/solenoid/img/up.png) : ps aux : ps -el
|