On Thu, Jan 28, 2021 at 9:29 AM Jeff Mangan <j...@magentatech.com> wrote: > > I am trying to get the results of top (more specifically htop) but every > time it prints nothing, whereas any other command (ls, pwd, etc...) returns > the output fine. My objective is to get access to the process stats that are > returned to the screen. > > Here is the latest example which displays nothing:
Please post code as plain text or as a link to the Go playground. Colorized text on a black background is difficult to read for many people, but everyone who uses e-mail can see plain text. Thanks. I'm not familiar with the htop program. What happens if you run "htop > out.txt"? What winds up in out.txt? Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcUD-jJ--8Y6B3Wt2xK-%3DitmRQ%2BeJKD%3DjWVeNe-u1Ky1iA%40mail.gmail.com.