I just noticed this:
when a user runs a PSOS script, if the records modified/created by the script are tracking the modification/creation USERNAME ( not the accountname ) the user name will read the same way you see the script appear in the DB connections.
<scriptName> - <accountName> <someNumber>
<scriptName> is the name of the script that was called via PSOS regardless of any subscript it may have called where the actual edits are taking place.
You also get
<scheduleName> if the script is triggered by a schedule and not PSOS. I wonder what it shows when that stuff is happening via dAPI. Anyone knows?
I guess it can be useful under some circumstances. Not sure which ones yet...