Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
htop shows two processes but I cant find one of them
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1506
Location: Adelaide/Australia

PostPosted: Tue Aug 02, 2022 11:37 am    Post subject: htop shows two processes but I cant find one of them Reply with quote

I watch htop on my Gentoo system.
I have ZoneMinder running, which is a security camera system.
Out of curiosity, I see in 'htop' 2 instances of a process for ZoneMinder, but when I use
Code:
pf -ef
, I can't find one of them, yet it continues to be shown in htop.
I can't even find this second process from 'htop' using 'top'.

I am sort of lost as to how I can convince 'ps', 'top' and 'htop' to agree.

FYI: the process that htop is reporting that I cannot see elsewhere has a PID which is 3 lower than the one I can see, implying it is some sort of 'parent'.

Suggestions?
_________________
...Lyall
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 51511
Location: 56N 3W

PostPosted: Fri Aug 05, 2022 4:12 pm    Post subject: Reply with quote

lyallp,

Is it one process with 2 threads?

htop can show threads or processes.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1506
Location: Adelaide/Australia

PostPosted: Sat Aug 06, 2022 10:33 am    Post subject: Reply with quote

Upon reflection, you appear to be correct.

Other Processes exhibit the same behaviour, just that they don't end up in the top 15 or so, that my window of htop shows.

Code:
ps -faeT
shows the same process list as htop.
_________________
...Lyall
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum