Commit Graph

661 Commits

Author SHA1 Message Date
Sean E. Russell
5123f9bc0f Adds an option to disable the temperature widget for, e.g., VPSes or other servers. 2020-02-12 09:05:14 -06:00
Caleb Bassi
755037d211 Add deprecation notice 2020-01-25 10:14:57 -08:00
Bart Willems
2e96ecb050 added the degrees symbol(°) to the temperatures, made the TempWidget.Draw function more flexible
Signed-off-by: Bart Willems <bwillems@protonmail.com>
2020-01-23 23:17:14 +01:00
HowJMay
ad8060510a fix: Fix typos
Fix typos in repo
2020-01-22 01:21:57 +08:00
Jaron Swab
7ff732e06e Added sigterm options to "d" command.
This should satisfy issue #13 (at least in part).
`main.go` now has cases for "dd", "d3", and "d9".
"d3" is "sigquit" and "d9" is "sigkill".

`KillProc()` now takes a string as an arugment to perferm desired kill
action using `--signal`.

`help.go` also has been update to reflect the additions.
2019-10-03 20:59:22 -04:00
Jaron Swab
10e3b7afbc Added check for shell arguments
If the user enters shell arguments the config file is skipped.

Also change the config.json color scheme from monokai to default.
2019-10-02 22:19:29 -04:00
Jaron Swab
af4ef606d9 Created a json config file
This should satisfy issue #111.

The config.json file allows the user to define customizations without
the need to use shell arguments.
2019-10-02 22:09:13 -04:00
Jaron Swab
99bd4af7a8 Added a color scheme to match Nord.
This is an approximation since Nord uses HTML color codes that are
outside of the 256 terminal colors.

CPU Lines and BattLines not edited from the default.
2019-10-01 21:17:53 -04:00
Jeffrey Horn
b1e97a8a79 Add missing cli option to README and fix formatting 2019-09-26 16:01:02 -07:00
Matt Melquiond
fcdb71bfad added cli usage info, removed useless type alias 2019-09-09 20:46:34 +02:00
Caleb Bassi
2cd92e147e Refactor help menu 2019-07-15 16:06:37 -07:00
Kraust
42e65038b0 Changed GPU naming scheme 2019-07-14 10:44:03 -04:00
Kraust
7b2f16a48c Added FreeBSD Nvidia GPU support using nvidia-smi
- Also refactored the temp_freebsd code to be modular.
2019-07-14 10:23:42 -04:00
Kraust
f58d1e256a Removed nvidia temps as another PR handles this. 2019-07-14 09:59:18 -04:00
Kraust
aa496ba38d FreeBSD Fixes
- Added NVIDIA GPU Temperature Support
- Fixed a bug where CPU temp would not be displayed if a syctl option was not found
- Fixed a bug where Swap was not being displayed on mirroed ZFS partitions.
2019-07-14 09:46:07 -04:00
Matt Melquiond
b80258b07e Implement #148 and #149 2019-06-12 23:28:52 +02:00
Caleb Bassi
e1f3488c4c Refactor network interface selection 2019-06-07 15:03:00 -07:00
Brian Mattern
246ebfbff2 Remove unused duplicate definition. 2019-06-06 11:08:05 -07:00
Brian Mattern
129f6c238a Remove default filter (oops). 2019-06-04 15:11:58 -07:00
Brian Mattern
9c0253ef31 Factor Entry widget out of proc. 2019-06-04 15:09:09 -07:00
Brian Mattern
84a4bbd440 Fix fullwidth rune handling. 2019-06-04 14:25:35 -07:00
Brian Mattern
f3b451c887 Move filter event handling into proc widget. 2019-06-03 16:02:22 -07:00
Brian Mattern
32f88622c7 Convert tabs to spaces in README.md. 2019-06-03 15:36:01 -07:00
Brian Mattern
38c92e910d Handle space in filter input box. 2019-06-03 15:33:42 -07:00
Brian Mattern
8549ae34a1 Add padding around filter label and edit box. 2019-06-03 15:30:10 -07:00
Brian Mattern
6d0eae1f0b Fix counter when list has 0 items. 2019-06-03 15:18:40 -07:00
Brian Mattern
bb44c222ef Add cursor while editing filter.
Also, change from [Filter: ...] to Filter: [...].
2019-06-03 15:14:22 -07:00
Brian Mattern
2aea13bf0a Refactor filter editing input handling.
Only swallow events that are explicitly handled by the editor. Fall
through to the default event handling for all other events.

Also, cancel editing on <Escape> and fix README file formatting.
2019-06-03 14:38:09 -07:00
Brian Mattern
5941bec6c1 Update process list immediately when filter changes. 2019-06-03 14:08:57 -07:00
Brian Mattern
866281cc42 First pass at filter support.
Press / to input a filter string. The proc list will be filtered to
procs that contain the filter as a substring of either the command or
the string representation of the PID.
2019-05-31 23:20:55 -07:00
Caleb Bassi
1b5985860c Misc project changes 2019-05-29 15:07:01 -07:00
Caleb Bassi
12dfe76c8c Fix localization issues on macOS (#124) 2019-05-28 11:48:12 -07:00
Caleb Bassi
b45fb2dc1c Merge pull request #145 from mgamsjager/freebsd-fixes
Freebsd fixes
2019-05-28 11:48:12 -07:00
Matthias Gamsjager
212caf48a9 Fix temperatures on FreeBSD 2019-05-28 11:48:08 -07:00
Matthias Gamsjager
45b5b2dbc0 Fix issues with swap memory on FreeBSD 2019-05-28 11:48:04 -07:00
Matthias Gamsjager
6907f598f8 Fix process localization issues on FreeBSD 2019-05-28 11:47:55 -07:00
Caleb Bassi
235c386a6c Update changelog 2019-05-15 17:46:02 -07:00
Caleb Bassi
f6994e843d
Merge pull request #144 from mattLLVW/feature/network_interface
select network interface
2019-05-15 17:19:44 -07:00
Caleb Bassi
d5f2fef5dd Change network widget title based on interface 2019-05-15 17:13:36 -07:00
Caleb Bassi
d734634a5d
Merge pull request #143 from mgamsjager/freebsd-proc
FreeBSD process support
2019-05-15 16:44:11 -07:00
matt LLVW
0d783d932e added README interface option 2019-05-14 22:44:18 +02:00
matt LLVW
622f27f886 functional 2019-05-14 22:26:22 +02:00
matt LLVW
2be4549c15 started 2019-05-14 18:09:17 +02:00
Matthias Gamsjager
ea5e097d52 Proper json helper 2019-05-14 13:00:04 +02:00
Matthias Gamsjager
68d38a61d7 Create separate file for FreeBSD 2019-05-14 12:57:05 +02:00
Caleb Bassi
21cd642424 readme: add snap installation instructions 2019-04-25 18:00:25 -07:00
林博仁(Buo-ren Lin)
0817bea2bb Implement snap packaging, snaps are universal linux packages
This patch implements the necessary details to package gotop as a snap
that can be installed on various GNU/Linux distributions supported by
Snapd.

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-04-25 11:11:26 -07:00
Caleb Bassi
56662fda14
Merge pull request #130 from A-lxe/process-list-location-indicator
Add a scroll location indicator to the process table
2019-04-08 00:09:31 -07:00
Claudio Matsuoka
3818e459fa Add Linux console font
A console font with braille and graphic block characters is needed to
run gotop directly on the Linux console. Contribute a 16x8 psf font
containing these characters.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2019-04-07 15:21:03 -03:00
Alex Aubuchon
e7dff53936 Remove partial comment 2019-03-25 11:15:35 -04:00