Operating System - HP-UX
1752796 Members
5632 Online
108789 Solutions
New Discussion юеВ

Re: process shown on top does not show on ps

 
Henry Chua
Super Advisor

process shown on top does not show on ps

Hi,

I got this query about using ps. It seems that a pid I found on top( a java process) cannot be found in ps. Is this possible. I see similar posting in the past but don't really understand the resolution. Can you please help?

Regards
Henry
2 REPLIES 2
Jeeshan
Honored Contributor

Re: process shown on top does not show on ps

Yeah, cometimes it happens that when a process runs you applied command top and its life time may be 3-4 secs. Or it may be run a while and while you run ps just after top it may be finished its process or operation. So better if you wanna keep track of processes you may write a shell script to track all processes.
a warrior never quits
Dennis Handly
Acclaimed Contributor

Re: process shown on top does not show on ps

Can you include a link to the previous thread?
(I assume this wasn't a zombie?)