Giter Club home page Giter Club logo

gnethogs's People

Contributors

anewuser avatar kevinselvaprasanna avatar mbfoss avatar supervacuo 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

Watchers

 avatar  avatar  avatar  avatar  avatar

gnethogs's Issues

Scroll bar is to be added

When the number of processes becomes too large, the window height keeps on increasing and extends beyond the screen. Ideally the tree view should become scrollable when the number of processes becomes large

Unable to build on Ubuntu 14.04

First of all apat from the libraries mentioned in the readme Ubuntu 14.04 requires this as well:

sudo apt-get install libtool autopoint

After that is installed and autoogen.sh is running we get this:

./autogen.sh
Regenerating autotools files
autopoint: *** The AM_GNU_GETTEXT_VERSION declaration in your configure.ac
file requires the infrastructure from gettext-0.19.3 but this version
is older. Please upgrade to gettext-0.19.3 or newer.
autopoint: *** Stop.
autoreconf: autopoint failed with exit status: 1

Ubuntu 14.04 ships with gettext 0.18.3

automake version

When I try to build gnethogs with automake 1.14, I get:

#  gnethogs git:(master) # make       
 cd . && /bin/bash /home/aengelen/dev/gnethogs/missing automake-1.14 --gnu
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/bin/automake-1.14 line 3930.
configure.ac:5: error: version mismatch.  This is Automake 1.14.1,
configure.ac:5: but the definition used by this AM_INIT_AUTOMAKE
configure.ac:5: comes from Automake 1.15.  You should recreate
configure.ac:5: aclocal.m4 with aclocal and run automake again.
WARNING: 'automake-1.14' is probably too old.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'automake' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
Makefile:384: recipe for target 'Makefile.in' failed
make: *** [Makefile.in] Error 1
#  gnethogs git:(master) # 

However, with 1.15:

#  gnethogs git:(master) # make                                  
 cd . && /bin/bash /home/aengelen/dev/gnethogs/missing automake-1.14 --gnu
/home/aengelen/dev/gnethogs/missing: line 81: automake-1.14: command not found
WARNING: 'automake-1.14' is missing on your system.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'automake' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
Makefile:384: recipe for target 'Makefile.in' failed
make: *** [Makefile.in] Error 1
#  gnethogs git:(master) #   

What can I do to fix this?

Feature Requests: Column Customization

I would like to be able to resize the columns and pick which columns are shown or not shown.

Currently if you have a program listed with a long name, you have to scroll to the right a lot to view other columns. This could be a bit annoying.

Other than that, the program is nice. Thanks!

Extra bonus points if you could add the ability to kill programs with a right click menu. :)
Screenshot from 2021-05-10 10-26-37
Screenshot from 2021-05-10 10-26-54

Can't compile on Void Linux (musl C library)

make[2]: Entering directory '/home/jyothish/repos/gnethogs/src'
  CXX      gnethogs-main.o
In file included from MainWindow.h:5,
                 from main.cpp:2:
TreeData.h: In member function 'void TreeData::setTreeColumns(Gtk::TreeView*)':
TreeData.h:92:42: error: '_' was not declared in this scope
   92 |                 tree_view->append_column(_("Icon"), icon);
      |                                          ^
main.cpp: At global scope:
main.cpp:55:1: fatal error: opening dependency file .deps/gnethogs-main.Tpo: Permission denied
   55 | }
      | ^
compilation terminated.
make[2]: *** [Makefile:477: gnethogs-main.o] Error 1
make[2]: Leaving directory '/home/jyothish/repos/gnethogs/src'
make[1]: *** [Makefile:471: all-recursive] Error 1
make[1]: Leaving directory '/home/jyothish/repos/gnethogs'
make: *** [Makefile:391: all] Error 2

Can't compile on Ubuntu 18.04

with nethogs master branch

# ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for glib-compile-resources... /usr/bin/glib-compile-resources
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GNETHOGS... yes
checking for pthread_attr_init in -lpthread... yes
checking for nethogsmonitor_loop in -lnethogs... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking libnethogs.h usability... yes
checking libnethogs.h presence... yes
checking for libnethogs.h... yes
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.51.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.26.1
checking for XML::Parser... ok
checking for a sed that does not truncate output... /bin/sed
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... (cached) /usr/bin/msgmerge
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for ld used by gcc... /usr/bin/x86_64-linux-gnu-ld
checking if the linker (/usr/bin/x86_64-linux-gnu-ld) is GNU ld... yes
checking for shared library run path origin... done
checking how to run the C preprocessor... gcc -E
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating data/Makefile
config.status: creating data/icons/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing po/stamp-it commands

# make -j2
make  all-recursive
make[1]: Entering directory '/tmp/build/nethogs/gnethogs-0.2'
Making all in data
make[2]: Entering directory '/tmp/build/nethogs/gnethogs-0.2/data'
Making all in icons
make[3]: Entering directory '/tmp/build/nethogs/gnethogs-0.2/data/icons'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/tmp/build/nethogs/gnethogs-0.2/data/icons'
make[3]: Entering directory '/tmp/build/nethogs/gnethogs-0.2/data'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/tmp/build/nethogs/gnethogs-0.2/data'
make[2]: Leaving directory '/tmp/build/nethogs/gnethogs-0.2/data'
Making all in src
make[2]: Entering directory '/tmp/build/nethogs/gnethogs-0.2/src'
  CC       gresources.o
  CXX      gnethogs-main.o
  CXX      gnethogs-MainWindow.o
main.cpp: In function 'void nethogsMonitorThreadProc()':
main.cpp:18:57: error: too few arguments to function 'int nethogsmonitor_loop(NethogsMonitorCallback, char*)'
  const int status = nethogsmonitor_loop(&onNethogsUpdate);
                                                         ^
In file included from PendingUpdates.h:4:0,
                 from MainWindow.h:6,
                 from main.cpp:2:
/usr/local/include/libnethogs.h:63:25: note: declared here
 NETHOGS_DSO_VISIBLE int nethogsmonitor_loop(NethogsMonitorCallback cb,
                         ^~~~~~~~~~~~~~~~~~~
Makefile:472: recipe for target 'gnethogs-main.o' failed
make[2]: *** [gnethogs-main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/tmp/build/nethogs/gnethogs-0.2/src'
Makefile:475: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/build/nethogs/gnethogs-0.2'
Makefile:395: recipe for target 'all' failed
make: *** [all] Error 2

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.