예제 #1
0
        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));
        }
예제 #2
0
        public void CheckNginx(bool force = false)
        {
            timer = resetTimer;
            progressBar1.Value = timer;

            monitorForm.GetShellResult("ps -ef|grep nginx", new ShellResultDelegate(CheckNginxResult), force);
        }