Staled Prcoess Checker

Description

This script will check wehter there are any process running more than a day and report back to admin

Location of Scripts and Their Names

Location: /data/mta/Script/Check_Staled/Scripts

GitHub Address: https://github.com/chandra-mta/MTA

Script Name Last Updated
check_staled_process.py Mar 15, 2021
remove_old_temp_files.py Mar 15, 2021

Please read /data/mta/Script/Check_Staled/Scripts/README file for more details.

Oct 11, 2018Initially logged
Mar 15, 2021pytho3.8 update

Data Needed

Environment Setting

Output Locations and File Names

How to Run the Script(s)

  1. run: /data/mta/Script/Check_Staled/Scripts/check_staled_process.py on the machine you want to check

How to Run Test(s)

  1. No Test

Expected result from the test

Cron Job

CPU: c3po-vUser: mta
CPU: r2d2-vUser: mta
CPU: r2d2-vUser: cus
CPU: boba-vUser: mta

23 0 * * * /data/mta/Script/Check_Staled/Scripts/check_staled_process.py >> $HOME/Logs/check_staled_process.cron 2>&1

Web Addreess

No Web Address

Note

None

Future Plan/Update Schedule

None


Back to Top Page