Giter VIP home page Giter VIP logo

Comments (15)

pkieltyka avatar pkieltyka commented on May 20, 2024

staying on number 12 for a while. im on MacOS 10.13

from gotop.

cjbassi avatar cjbassi commented on May 20, 2024

@pkieltyka Like how many seconds? Also does the program eventually display normally?

from gotop.

pkieltyka avatar pkieltyka commented on May 20, 2024

from gotop.

cjbassi avatar cjbassi commented on May 20, 2024

Could you try the latest release and let me know if it loads this time? If it does, does the Process Table load too?

from gotop.

cjbassi avatar cjbassi commented on May 20, 2024

Actually if you could pull the latest commits from the slow-startup branch and run that again and then let me know where it gets stuck that would be great.

from gotop.

embano1 avatar embano1 commented on May 20, 2024

OSX 10.12.6
Stays roughly 40s at:

$ go run main.go
1
2
3
4
5
6
7

from gotop.

Vic020 avatar Vic020 commented on May 20, 2024

macOS 10.13.3
25s
and have nothing on Temperatures

╰─$ go run main.go
1
2
3
4
5
6
7

update 1:
if install by "download.sh"

╰─$ ./gotop
Error caught. Exiting program.

Issue with CPU percentages.

Diagnostics:
self.Count: 4
gopsutil.Counts(): 4
len(percents): 0
percents: []
self.interval: 1s

panic: 1

goroutine 19 [running]:
github.com/cjbassi/gotop/utils.Error(0x1183f77, 0xf, 0xc420164060, 0x52)
	/home/cjbassi/go/src/github.com/cjbassi/gotop/utils/utils.go:30 +0x23f
github.com/cjbassi/gotop/widgets.(*CPU).update(0xc420096f60)
	/home/cjbassi/go/src/github.com/cjbassi/gotop/widgets/cpu.go:55 +0x532
created by github.com/cjbassi/gotop/widgets.NewCPU
	/home/cjbassi/go/src/github.com/cjbassi/gotop/widgets/cpu.go:37 +0x2d3

from gotop.

cjbassi avatar cjbassi commented on May 20, 2024

@Vic020 The temperatures widget doesn't have any text in it at all?

Also could you pull the latest changes to the slow-startup branch and try that again? And also try the latest release and let me know if anything changes? Make sure it's version 1.2.11. You have to pull the new download.sh script to get the new release. Thanks!

from gotop.

Vic020 avatar Vic020 commented on May 20, 2024

Yes, The temperatures widget doesn't have any text in it at all !

nothing changed after pulled the latest code, it would take 20-30s to launch.

$ go run main.go
1
2
3
4
5
6
7

Got panic after used new script, and version is 1.2.12

$ ./gotop
Error caught. Exiting program.

Issue with CPU percentages.

Diagnostics:
self.Count: 4
gopsutil.Counts(): 4
len(percents): 0
percents: []
self.interval: 1s

panic: 1

goroutine 33 [running]:
github.com/cjbassi/gotop/utils.Error(0x1184197, 0xf, 0xc42017c060, 0x52)
	/home/cjbassi/go/src/github.com/cjbassi/gotop/utils/utils.go:30 +0x23f
github.com/cjbassi/gotop/widgets.(*CPU).update(0xc420154000)
	/home/cjbassi/go/src/github.com/cjbassi/gotop/widgets/cpu.go:57 +0x532
created by github.com/cjbassi/gotop/widgets.NewCPU
	/home/cjbassi/go/src/github.com/cjbassi/gotop/widgets/cpu.go:38 +0x2d3

macOS 10.13.3
MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports)

from gotop.

samling avatar samling commented on May 20, 2024

Hanging on number 7 for me as well for about 6-7 seconds. Gotop does load as soon as it gets past number 7, however I also don't have temperatures. Running MacOS 10.12.6 on a mid-2015 15" MacBook Pro.

from gotop.

dastergon avatar dastergon commented on May 20, 2024

Hanging on number 7 for a couple of seconds. Running MacOS 10.13.4 on a MBP 13-inch 2017.

from gotop.

AlphaWong avatar AlphaWong commented on May 20, 2024

Is it related to go version as seems go 1.10 has a performance issue ?
Is it build by go 1.10 or go 1.9 ?

Might be related ?
golang/go#24034

from gotop.

f1337 avatar f1337 commented on May 20, 2024

Hangs on step 7 for 5-6 seconds.

Probably unrelated, but once loaded, this version pegs my CPUs at 99% (master does not). Neither this version, nor master shows me temperature data.

My system details:
macOS High Sierra 10.13.4
MacBook Pro (Retina, 15-inch, Mid 2015)
Processor: 2.5 GHz i7
Memory: 16 GB
Terminal: iTerm2 + fish shell + ohmyfish. no tmux.
Go: 1.10.1 darwin/amd64 (via brew install go)

from gotop.

cjbassi avatar cjbassi commented on May 20, 2024

Thanks for all the info and sorry people have been having issues. It turns out gopsutil has some issues on OSX which makes gotop unusable on OSX right now. Hoping to fix that in the future, but I also don't have a mac to test on right now so help is appreciated. Going to close this issue and open another one that pools the issues people have been having on OSX.

from gotop.

cjbassi avatar cjbassi commented on May 20, 2024

gotop should be working on OSX now, and you can install using either Git, Homebrew, or from Source as documented in the readme. Let me know if you're still having any issues! Thanks @f1337 for helping get it to work!

from gotop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.