The old sysstat cron job continues running in parallel with the new one.
Issue
-
The old sysstat cron job continues running in parallel with the new one.
-
The old one was as follows. This ran sar1 599 times at a second interval:
# run system activity accounting tool every 10 minutes
*/10 * * * * root /usr/lib64/sa/sa1 1 599
# generate a daily summary of process accounting at 23:53
53 23 * * * root /usr/lib64/sa/sa2 -A
- The new one. I changed it back to the default:
# run system activity accounting tool every 10 minutes
*/10 * * * * root /usr/lib64/sa/sa1 1 1
# generate a daily summary of process accounting at 23:53
53 23 * * * root /usr/lib64/sa/sa2 -A
- However the sadc process started from the above-mentioned previous systat cron job setting keeps on running. It starts again and again every 10 minutes even though I kill the process:
ps -ef | grep sadc
root 10392 10391 0 18:00 ? 00:00:00 /usr/lib64/sa/sadc -F -L 1 599 -
Environment
- Red Hat Enterprise Linux 6
- cronie
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.