process

Name

netid.exe -process

Synopsis

netid.exe -process [tree <process ID>]
netid.exe -process wait -id <process ID> [-timeout <timeout>]
netid.exe -process wait -id <process ID> [-timeout <timeout> -action <action>]
netid.exe -process wait -id <process ID> [-timeout <timeout> -terminate]

Description

The process tree command writes the parent process or processes of a specified process to trace. See the SiteAccessUnknown parameter and the as-parent-app value for more information.

The process wait command waits for process to end. Call action when process end or after timeout. Call terminate to kill process if process does not end within timeout.

Options

tree <process ID>

The process ID to check. The value 0 will check the current process.

wait -id <process ID> [-timeout <timeout>]
-id <process ID>

The process ID to wait for.

-timeout <timeout>

The maximum number of seconds to wait for the process to end.

wait -id <process ID> [-timeout <timeout> -action <action>]
-id <process ID>

The process ID to wait for.

-action <action>

The action to execute when the process ends.

-timeout <timeout>

The maximum number of seconds to wait before the action is executed.

wait -id <process ID> [-timeout <timeout> -terminate]
-id <process ID>

The process ID to wait for.

-timeout <timeout> -terminate

The maximum number of seconds to wait for the process to end before it is terminated.