Script for SCO unix 6.0 Santa Cruz Operation System

Job ID: 38469145

Budget: $30 – $250 USD

Project Description:I need to develop a script in Unix SCO 6.0 that efficiently manages idle processes of users in the system according to the following criteria:Identification and Termination of Idle Processes Without Active Session (TTY):The script must identify and kill all idle processes associated with users who do not have an active login session on the system. This involves monitoring TTY events and verifying that the user does not have a current active session.Idle processes should be identified based on the absence of an active login and should not interfere with processes of users who are currently logged in.Identification and Termination of Idle Processes from Previous Sessions:The script should also identify and terminate processes that have been left idle from previous sessions, even if the user has an active login session at the moment. This means that processes started in previous login sessions that were not properly terminated should be removed.This requires continuous monitoring of TTY sessions to detect any process that belongs to an old session of a user, ensuring that processes of the current active session are not affected.Automatic Execution:The script must be scheduled to run automatically every 10 minutes using cron.It should be capable of executing commands efficiently to minimize the impact on system performance.Exclusion of System Processes:The script must ensure that it does not affect any processes belonging to system accounts such as bin, root, or any other system processes.Technical Requirements:Proficiency in scripting for Unix SCO 6.0.Familiarity with process and TTY session management in UNIX environments.Experience using ps, grep, and other related commands to identify and manage processes.Ability to implement the script as a cron job that runs automatically at regular intervals.Deliverables:A fully functional script in Unix SCO 6.0 that performs the tasks described.Clear instructions for installing and configuring the script.Documentation on how the script identifies and handles idle processes.
Related categories: Shell Script UNIX