[go-nuts] Why is go starting multiple child process?

2018-09-16 Thread the . warl0ck . 1989
0down votefavorite I have a simple go program like this, package main import ( "log" "time") func main () { log.Println("sleep 30s") time.Sleep(30 * time.Second)} When I star

Re: [go-nuts] Why is go starting multiple child process?

2018-09-16 Thread the . warl0ck . 1989
There's no -T in Ubuntu 16.04, am I wrong? On Monday, September 17, 2018 at 11:54:05 AM UTC+8, Patrick Smith wrote: > > Probably those are threads, not processes. Try 'pstree -T'. Also, I > believe the variable name is GOMAXPROCS, with an S at the end. > > On Sun, Sep 16, 2018 at 8:35 PM > > wro

Re: [go-nuts] Why is go starting multiple child process?

2018-09-16 Thread the . warl0ck . 1989
Yeah, -T works in Arch, these are threads, not processes. Case closed :-) On Monday, September 17, 2018 at 12:55:30 PM UTC+8, Patrick Smith wrote: > > I don't know about Ubuntu 16.04. On my Arch Linux system, 'pstree -V' > shows "pstree (PSmisc) 23.1" > > On Sun, Sep 16, 2018 at 9:28 PM > > wro