windows: wmic Path win32_process Where "Name = 'FeiSuMiniNews.exe'" Get CommandLine,ProcessId linux: ps -eo "pid,args"