W
W
WebDev2016-06-10 11:27:59
MySQL
WebDev, 2016-06-10 11:27:59

Process running but not in htop?

Hello. There is a script on the server that runs on cron and writes info to the log file. The start time is 20:00 and that's ok, it works. But now (10:00), I went to the server and see that the new log file was created 10 minutes ago and is being filled right now. That is, this script is working right now. I did not run it with my hands, the time on the server is correct, and most importantly, this process is not in htop. What can be wrong?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
maximw, 2015-10-14
@vaserguy

SELECT DISTICT product_id  FROM t AS t1
LEFT JOIN t AS t2 ON t1.product_id = t2.product_id
WHERE t1.param_id = 1 AND t2.param_id = 2 OR t1.param_id = 2 AND t2.param_id = 1

U
utyfua, 2015-10-14
@utyfua

(`param_id = 1` or `param_id` = 2)
if it is not clear, write questions in the comments..

I
Ivan Koryukov, 2015-10-14
@MadridianFox

SELECT product_id FROM params WHERE param_id IN(1,2)

A
Alexander, 2016-06-10
@NeiroNx

It may be that you run htop not as root and it only sees processes owned by the user. If the pid of the process is reflected in the logs, you can find it by it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question