Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have several apache calls via lynx at night. Every morning two jobs are still there and running, and I don't know which these are. In /var/log/https/access_log aren't any calls logged at the time the jobs started refering to ps.
Is there a possibility to find out which calls are still running in the morning?
How do you know there are jobs still running if you can't find or see them running? I don't get that. General rule, for processes- ps aux, for network netstat -an. I don't know what else you're looking for exactly. If you mean a process trace like ptrace, that will show subthreads, then that's another. but I'm still kinda lost here.
in the processlist, so I have their pid and the time they started, but there isn't an entry in the access_log at this time. So how do I know which two of my scripts are still running?
Do you have any sort of log rotation / httpd restart scripts? How do you know their "started with lynx" if there are no entries in the access log? These could simply be the normal child processes for your httpd daemon if it was built with the prefork module.
Ok, you are right: I *think* that these are two of the scripts started over night with lynx, but I don't really know. Last night the two scripts started both at 4:15am and are still running with 3 and 16 percent cpu time. There is indeed a log rotation running, and the last days files were always rotated at exact 4:15am. But yesterday the jobs startet at 4:29am and 5:00am.
How can I find out if these processes are normal child processes or still running http-scripts?
Why do suspect lynx? Do you see lynx in your process table? Lynx is a terminal browser, and it's not used to start Apache. What you are seeing is probably a log rotation or cron script. Check your ps output to see what the parent process is.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.