Giter VIP home page Giter VIP logo

tmux-top's People

Contributors

dhodovsk avatar nreilingh avatar pschmitt avatar tomastomecek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

tmux-top's Issues

[packit] Propose downstream failed for release 0.1.1

Packit failed on creating pull-requests in dist-git:

dist-git branch error
f35 Failed to download file from URL https://github.com/TomasTomecek/tmux-top/archive/v0.1.1/tmux-top-0.1.1.tar.gz. Reason: 'Not Found'.
f36 Failed to download file from URL https://github.com/TomasTomecek/tmux-top/archive/v0.1.1/tmux-top-0.1.1.tar.gz. Reason: 'Not Found'.
main Failed to download file from URL https://github.com/TomasTomecek/tmux-top/archive/v0.1.1/tmux-top-0.1.1.tar.gz. Reason: 'Not Found'.

You can retrigger the update by adding a comment (/packit propose-downstream) into this issue.

Unable to build on aarch64

I've been unable to build tmux-top successfully on aarch64 (Termux):

uname -a                                                                     
Linux localhost 4.9.200-perf-g44bd5bc #1 SMP PREEMPT Sun Nov 24 19:53:16 UTC 2019 aarch64 Android
go get github.com/TomasTomecek/tmux-top/cmd/tmux-top                       
# github.com/TomasTomecek/tmux-top/cmd/tmux-top
dev/golang/src/github.com/TomasTomecek/tmux-top/cmd/tmux-top/cli.go:115:4: unknown field 'ShortName' in 
struct literal of type cli.Command
dev/golang/src/github.com/TomasTomecek/tmux-top/cmd/tmux-top/cli.go:117:4: cannot use print_net (type fu
nc(*cli.Context)) as type cli.ActionFunc in field value
dev/golang/src/github.com/TomasTomecek/tmux-top/cmd/tmux-top/cli.go:121:4: unknown field 'ShortName' in 
struct literal of type cli.Command
dev/golang/src/github.com/TomasTomecek/tmux-top/cmd/tmux-top/cli.go:123:4: cannot use print_mem (type fu
nc(*cli.Context)) as type cli.ActionFunc in field value
dev/golang/src/github.com/TomasTomecek/tmux-top/cmd/tmux-top/cli.go:127:4: unknown field 'ShortName' in 
struct literal of type cli.Command
dev/golang/src/github.com/TomasTomecek/tmux-top/cmd/tmux-top/cli.go:129:4: cannot use print_load (type f
unc(*cli.Context)) as type cli.ActionFunc in field value
dev/golang/src/github.com/TomasTomecek/tmux-top/cmd/tmux-top/cli.go:133:4: unknown field 'ShortName' in 
struct literal of type cli.Command
dev/golang/src/github.com/TomasTomecek/tmux-top/cmd/tmux-top/cli.go:135:4: cannot use print_io (type fun
c(*cli.Context)) as type cli.ActionFunc in field value
dev/golang/src/github.com/TomasTomecek/tmux-top/cmd/tmux-top/cli.go:139:4: unknown field 'ShortName' in 
struct literal of type cli.Command
dev/golang/src/github.com/TomasTomecek/tmux-top/cmd/tmux-top/cli.go:141:4: cannot use print_sens (type f
unc(*cli.Context)) as type cli.ActionFunc in field value
dev/golang/src/github.com/TomasTomecek/tmux-top/cmd/tmux-top/cli.go:141:4: too many errors

Cross compiling for ARM works though (and produces a usable binary)

CC=arm-linux-gnueabihf-gcc GOOS=linux GOARCH=arm GOARM=7 CGO_ENABLED=0 go build -a -ldflags '-extldflags "-static"' -v -o tmux-top_linux_armv8_static -buildmode=default ./cmd/tmux-top

add non-blocking mode for netw/io

At the moment tmux-top blocks for 1 second to obtain some stats (I/O). It would make more sense to store them on disk and return right away (~/.cache/tmux-top/).

mv cli source for naming sake

Rather than:

go get github.com/TomasTomecek/tmux-top/cli
mv ${GOPATH}/bin/{cli,tmux-top}

The more idiomatic approach would be to have the source in a ./cmd/ sub-directory, so users need only to do:

go get github.com/TomasTomecek/tmux-top/cmd/tmux-top

Getting bg=default instead of displaying color

I have powerline9k theme; not sure if there's compatible

tmux-top net
#[bg=default,fg=white]W#[bg=default,fg=default] #[bg=default,fg=green]192.168.20.171/24#[bg=default,fg=default]

tmux -V
tmux 2.1

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.