PxPlus User Forum

Twitter Twitter Twitter

Author Topic: TSK to return NID  (Read 1519 times)

edjack

  • Silver Member
  • ***
  • Posts: 44
  • Computerease
    • View Profile
TSK to return NID
« on: March 19, 2019, 02:54:09 PM »
 TSK(*PROCESS LIST) gives me a list of pvx processes with a UID identifier.
Is there another TSK function that will give me a process list with a NID identifier?
Or some other way to get a list of all pvx processes with a NID identifier?
Ed Jack
Computerease

Mike King

  • Diamond Member
  • *****
  • Posts: 3811
  • Mike King
    • View Profile
    • BBSysco Consulting
Re: TSK to return NID
« Reply #1 on: March 19, 2019, 04:10:53 PM »
The Task list provided lists all the PxPlus tasks on the server and since they are running on the server they will all technically have the same NID as the process issuing the TSK(*PROCESS LIST)

In theory if you are using WindX your application could have change the NID value to that of the WindX workstation.  If you are using Simple CS it saves the true workstation NID on a file tied back to the process ID thus you can see whose workstation is actually connected by simply entering the command "KILL" which normally is used to kill processes but does provide an easy way to see which workstations are on.
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com

edjack

  • Silver Member
  • ***
  • Posts: 44
  • Computerease
    • View Profile
Re: TSK to return NID
« Reply #2 on: March 20, 2019, 08:10:28 AM »
Thanks... This should work for us.
Ed Jack
Computerease