process management
hi all
i am running a perl program in rhel5,when i restart the system and wanted to start the program again, it tells that process is already running,but i could not see even with ps -ef |grep program.pl and i tried ps -aux |grep program.pl i could not get any process running with that name.Again renamed the prog and tried still same repeated.plz share the answer if anybody knows? thanks and regards, srini |
Quote:
If this is something you wrote, tell us what it does, and post the relevant portions of the code. Tell us what process(es) it starts, and what it's trying to do. Could be it's just detecting a stale lock or PID file... |
What TB0ne said ...
On top of that, if you CAN'T see any perl process running yet the "program" complains that it's already running ... there's always a chance that it maintains status via some file, and that the file didn't get removed when the program went away (e.g., it was kill9ed and didn't get a chance to clean up). Cheers, Tink -- |
All times are GMT -5. The time now is 01:19 AM. |