I am attempting to check on users that are spawning USS tasks (ex: for SFTP, SSH sessions). I was using OPSTATUS to pull all the tasks and can identify all the USS related tasks. However I am having trouble excluding only the user generated tasks versus the ones generated by legitimate tasks, SYSLOGD, SSHD, etc. Is there something I can key in on that would let me filter these tasks out?
Options that have failed and why:
1. Checking the user ID. All of our user ID's start with certain prefixes. Unfortunately some of those are just 1 letter and thus can easily be matched to a STC user ID.
2. Checking the job name doesn't really get us anything because there is nothing unique to filter on. For all intents and purposes the job names are random.
3. Checking for an active TSO user ID based on the ID of the task. This had promised but failed because a user does not need to be logged in to TSO to use say SFTP and thus would not have an active TSO user ID.
PLAN B:
Use a list of task names that I will exclude from the list as I run through it. Not opposed to using this method if it is all I have but I'd like to get away from it as the project I am working on used a list like this and it needed constant maintenance. I'd like to have something that is as maintenance free as possible.
Side Note:
If there IS a way to identify these tasks that CA-OPS could get to, this would be very helpful to add to the ASID returned by OPSTATUS in the EDQ.