1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Some ideas related to TCC instances (limit, enumerate etc)

Discussion in 'Suggestions' started by rconn, Sep 8, 2016.

  1. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,860
    Likes Received:
    83
    Some ideas related to TCC instances (limit, enumerate etc)

    If you write some bugs (I do it often) so that TCC instances are started recursively, then in the end the system will "halt" due to lack of memory/CPU.

    Of course, TCSTART/TCEXIT could be used to track this, but a more secure way would be to specify:

    1. MaxInstanceCount=xx as an option would be nice.

    2. Related to this an %_INSTANCECOUNT variable would also be relevant.

    3. Parameter to give a name to an instance as: tcc.exe /I InstanceName

    4. Returning %_INSTANCEIDS as a list 0 1 3 5 (instance 2/4 - already exit)

    5. Returning %_INSTANCENAMES as a list of named instances

    6. ACTIVATE INSTANCE InstanceId | InstanceName

    7. PRIORITY InstanceId | InstanceName

    8. %INSTANCEPID[id|name]

    9. TASKEND id | name

    10. TASKLIST /I - include instance information id/name

    [​IMG]Stein Oiestad on January 29, 2013 07:21
     

Share This Page