Command option Sample:tasklist /P
Search command sample in the internet.It is the result.
tasklist /P option