Re: [go-nuts] calling cmd

2021-01-28 Thread Jeff Mangan
XY Problem I'll be using that in the future :-) Yeah, I just wanted to see those stats and thought I would write a go app to do it just for the sake of writing some go code. It's not important. Thanks for the info. On Thu, Jan 28, 2021 at 2:08 PM Kurtis Rader wrote: > On Thu, Jan 28, 2021

Re: [go-nuts] calling cmd

2021-01-28 Thread Kurtis Rader
On Thu, Jan 28, 2021 at 9:29 AM Jeff Mangan 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 t

Re: [go-nuts] calling cmd

2021-01-28 Thread Ian Lance Taylor
On Thu, Jan 28, 2021 at 9:29 AM Jeff Mangan 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 > return

[go-nuts] calling cmd

2021-01-28 Thread Jeff Mangan
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 noth