public void CheckIceServer() { timer = resetTimer; progressBar1.Value = timer; monitorForm.RunShell(l_pro_path.Text + "bin/admin.sh", false); monitorForm.GetShellResult("server state " + itemConfig.ice.ServerName, new ShellResultDelegate(CheckIceServerResult)); }
public void CheckNginx(bool force = false) { timer = resetTimer; progressBar1.Value = timer; monitorForm.GetShellResult("ps -ef|grep nginx", new ShellResultDelegate(CheckNginxResult), force); }