How to strip ANSI escape codes from AIX topas command result in C#
问题 I'm trying to capture AIX real-time information like CPU, memory, IO load with a C# console application because I would like to show that information in a third part custom dashboard. After running the command topas, I need to capture periodically the whole following text: I tried to capture it with the following code that I have found out in some forum: using Renci.SshNet; using System; using System.IO; using System.Threading; namespace SSH_check_commands { public class MyAsyncInfo { public