Esempio n. 1
0
        public string Exec()
        {
            StringBuilder result = new StringBuilder();

            foreach (string pid in PcsPool.GetAllPids())
            {
                PcsManager pcs = PcsPool.GetByPid(pid);
                if (pcs != null)
                {
                    string globalStatus = pcs.GlobalStatus(pid);
                    result.Append(globalStatus);
                }
            }

            return(result.ToString());
        }