1. Cybersecurity >
  2. Cybersecurity Nachrichten >
  3. Bpytop - Linux/OSX/FreeBSD Resource Monitor

ArabicEnglishFrenchGermanGreekItalianJapaneseKoreanPersianPolishPortugueseRussianSpanishTurkishVietnamese

Bpytop - Linux/OSX/FreeBSD Resource Monitor


IT Security Nachrichten vom | Direktlink: feedproxy.google.com Nachrichten Bewertung


Resource monitor that shows usage and stats for processor, memory, disks, network and processes.
Python port of bashtop.

Features
  • Easy to use, with a game inspired menu system.
  • Full mouse support, all buttons with a highlighted key is clickable and mouse scroll works in process list and menu boxes.
  • Fast and responsive UI with UP, DOWN keys process selection.
  • Function for showing detailed stats for selected process.
  • Ability to filter processes, multiple filters can be entered.
  • Easy switching between sorting options.
  • Send SIGTERM, SIGKILL, SIGINT to selected process.
  • UI menu for changing all config file options.
  • Auto scaling graph for network usage.
  • Shows message in menu if new version is available
  • Shows current read and write speeds for disks

Themes
Bpytop uses the same theme files as bashtop so any theme made for bashtop will work.
See themes folder for available themes.
The make install command places the default themes in /usr/local/share/bpytop/themes. User created themes should be placed in $HOME/.config/bpytop/themes.
Let me know if you want to contribute with new themes.

Support and funding
You can sponsor this project through github, see my sponsors page for options.
Or donate through paypal or ko-fi.
Any support is greatly appreciated!

Prerequisites

Mac Os X
Will not display correctly in the standard terminal! Recommended alternative iTerm2
Will also need to be run as superuser to display stats for processes not owned by user.

Linux, Mac Os X and FreeBSD
For correct display, a terminal with support for:
Also needs a UTF8 locale and a font that covers:
  • Unicode Block “Braille Patterns” U+2800 - U+28FF
  • Unicode Block “Geometric Shapes” U+25A0 - U+25FF
  • Unicode Block "Box Drawing" and "Block Elements" U+2500 - U+259F

Notice
Dropbear seems to not be able to set correct locale. So if accessing bpytop over ssh, OpenSSH is recommended.

Dependencies
Python3 (v3.6 or later)
psutil module (v5.7.0 or later)

Optionals for additional stats
(Optional OSX) osx-cpu-temp Needed to show CPU temperatures.

Screenshots
Main UI showing details for a selected process.

Main UI in mini mode.

Main menu.

Options menu.

Installation
PyPi packaging for installation with pip will be setup later.
If you want to help speed this up, help with setting up proper testing is welcome!

Dependencies installation Linux
Install python3 and git with a package manager of you choice
Install psutil python module (sudo might be required)
python3 -m pip install psutil

Dependencies installation OSX
Install homebrew if not already installed
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Install python3 if not already installed
brew install python3 git
Install psutil python module
python3 -m pip install psutil
Install optional dependency osx-cpu-temp
brew install osx-cpu-temp

Dependencies installation FreeBSD
Install with pkg and pip
sudo pkg install python3 git
sudo python3 -m ensurepip
sudo python3 -m pip install psutil

Manual installation Linux, OSX and FreeBSD
Clone and install
git clone https://github.com/aristocratos/bpytop.git
cd bpytop
sudo make install
to uninstall it
sudo make uninstall

Configurability
All options changeable from within UI. Config files stored in "$HOME/.config/bpytop" folder

bpytop.cfg: (auto generated if not found)
"/etc/bpytop.conf" will be used as default seed for config file creation if it exists.
#? Config file for bpytop v. 1.0.0

#* Color theme, looks for a .theme file in "/usr/[local/]share/bpytop/themes" and "~/.config/bpytop/themes", "Default" for builtin default theme.
#* Prefix name by a plus sign (+) for a theme located in user themes folder, i.e. color_theme="+monokai"
color_theme="Default"

#* Update time in milliseconds, increases automatically if set below internal loops processing time, recommended 2000 ms or above for better sample times for graphs.
update_ms=2000

#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu responsive",
#* "cpu lazy" updates top process over time, "cpu responsive" updates top process directly.
proc_sorting="cpu lazy"

#* Reverse sorting order, True or False.
proc_reversed=False

#* Show processes as a tree
proc_tree=False

#* Use the cpu graph colors in the process list.
proc_colors=True

#* Use a darkening gradient in the process list.
proc_gradient=True

#* If process cpu usage should be of the core it's running on or usage of the total available cpu power.
proc_per_core=False

#* Check cpu temperature, needs "vcgencmd" on Raspberry Pi and "osx-cpu-temp" on MacOS X.
check_temp=True

#* Draw a clock at top of screen, formatting according to strftime, empty string to disable.
draw_clock="%X"

#* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort.
background_update=True

#* Custom cpu model name, empty string to disable.
custom_cpu_name=""

#* Opti onal filter for shown disks, should be last folder in path of a mountpoint, "root" replaces "/", separate multiple values with comma.
#* Begin line with "exclude=" to change to exclude filter, oterwise defaults to "most include" filter. Example: disks_filter="exclude=boot, home"
disks_filter=""

#* Show graphs instead of meters for memory values.
mem_graphs=True

#* If swap memory should be shown in memory box.
show_swap=False

#* Show swap as a disk, ignores show_swap value above, inserts itself after first disk.
swap_disk=True

#* If mem box should be split to also show disks info.
show_disks=True

#* Show init screen at startup, the init screen is purely cosmetical
show_init=True

#* Enable check for new version from github.com/aristocratos/bpytop at start.
update_check=True

#* Enable start in mini mode, can be toggled with shift+m at any time.
mini_mode=False

#* Set loglevel for "~/.config/bpytop/error.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG".
#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info.
log_level=WARNING

Command line options: (not yet implemented)
USAGE: bpytop [argument]    Arguments:      -m, --mini            Start in minimal mode without memory and net boxes      -v, --version         Show version info and exit      -h, --help            Show this help message and exit      --debug               Start with loglevel set to DEBUG overriding value set in config  

TODO


...
http://feedproxy.google.com/~r/PentestTools/~3/WN3AZqWDWYA/bpytop-linuxosxfreebsd-resource-monitor.html

Externe Quelle mit kompletten Inhalt anzeigen


Zur Startseite von Team IT Security

➤ Weitere Beiträge von Team Security | IT Sicherheit

Bpytop - Linux/OSX/FreeBSD Resource Monitor

vom 823.39 Punkte ic_school_black_18dp
Resource monitor that shows usage and stats for processor, memory, disks, network and processes.Python port of bashtop.FeaturesEasy to use, with a game inspired menu system.Full mouse support, all buttons with a highlighted key is clickable and mouse scroll wor

Bashtop - Linux/OSX/FreeBSD Resource Monitor

vom 563.42 Punkte ic_school_black_18dp
Bpytop, bashtop python port is now available at https://github.com/aristocratos/bpytopIt's a lot faster and about a third as cpu heavy and has more features, including: Mouse support Toggleable mini mode More customization Graphs for memory

USN-4041-1: Linux kernel update

vom 384.45 Punkte ic_school_black_18dp
linux, linux-aws, linux-aws-hwe, linux-azure, linux-gcp, linux-gke-4.15, linux-hwe, linux-kvm, linux-oem, linux-oracle, linux-raspi2, linux-snapdragon update A security issue affects these releases of Ubuntu and its derivatives: Ubuntu 19.04 Ubuntu 18.10 Ubun

USN-4017-1: Linux kernel vulnerabilities

vom 354.66 Punkte ic_school_black_18dp
linux, linux-aws, linux-aws-hwe, linux-azure, linux-gcp, linux-hwe, linux-kvm, linux-oem, linux-oracle, linux-raspi2, linux-snapdragon vulnerabilities A security issue affects these releases of Ubuntu and its derivatives: Ubuntu 19.04 Ubuntu 18.10 Ubun

USN-4135-1: Linux kernel vulnerabilities

vom 331.96 Punkte ic_school_black_18dp
linux, linux-aws, linux-aws-hwe, linux-azure, linux-gcp, linux-gke-4.15, linux-gke-5.0, linux-hwe, linux-kvm, linux-oem, linux-oracle, linux-raspi2, linux-snapdragon vulnerabilities A security issue affects these releases of Ubuntu and its derivatives

Transforming Azure Monitor Logs for DevOps, granular access control, and improved Azure integration

vom 262.46 Punkte ic_school_black_18dp
Logs are critical for many scenarios in the modern digital world. They are used in tandem with metrics for observability, monitoring, troubleshooting, usage and service level analytics, auditing, security, and much more. Any plan to build an application or

USN-3256-1: Linux kernel vulnerability

vom 241.17 Punkte ic_school_black_18dp
Ubuntu Security Notice USN-3256-1 4th April, 2017 linux, linux-aws, linux-gke, linux-raspi2, linux-snapdragon, linux-ti-omap4 vulnerability A security issue affects these releases of Ubuntu and its derivatives: Ubuntu 16.10 Ubuntu 16.04 LTS Ubuntu 14.04 LT

USN-4404-2: Linux kernel vulnerabilities

vom 229.82 Punkte ic_school_black_18dp
linux kernel vulnerabilities A security issue affects these releases of Ubuntu and its derivatives: Ubuntu 20.04 LTS Ubuntu 19.10 Ubuntu 18.04 LTS Summary Several security issues were fixed in the NVIDIA graphics driver kernel modules. Software D

USN-3328-1: Linux kernel vulnerabilities

vom 225.56 Punkte ic_school_black_18dp
Ubuntu Security Notice USN-3328-1 19th June, 2017 linux, linux-meta vulnerabilities A security issue affects these releases of Ubuntu and its derivatives: Ubuntu 16.04 LTS Summary Several security issues were fixed in the Linux kernel. Software descripti

FreeBSD 9.3/10.1/10.2 Linux Support issetugid erweiterte Rechte

vom 222.65 Punkte ic_school_black_18dp
Allgemein scipID: 80751 Betroffen: FreeBSD 9.3/10.1/10.2 Veröffentlicht: 27.01.2016 Risiko: problematisch Erstellt: 01.02.2016 Eintrag: 71.3% komplett Beschreibung Es wurde eine problematische Schwachstelle in FreeBSD 9.3/10.1/10.2 gefunden. H

FreeBSD 9.3/10.1/10.2 Linux Support issetugid erweiterte Rechte

vom 222.65 Punkte ic_school_black_18dp
Allgemein scipID: 80751 Betroffen: FreeBSD 9.3/10.1/10.2 Veröffentlicht: 27.01.2016 Risiko: problematisch Erstellt: 01.02.2016 Eintrag: 71.3% komplett Beschreibung Es wurde eine problematische Schwachstelle in FreeBSD 9.3/10.1/10.2 gefunden. H

AzureRMR: an R interface to Azure Resource Manager

vom 220.13 Punkte ic_school_black_18dp
In a previous article I announced AzureR, a new family of packages for working with Azure from R. This article goes into more detail on how you can use AzureRMR, the base package of the AzureR family, to manage resources with Azure Resource Manager.

Team Security Diskussion über Bpytop - Linux/OSX/FreeBSD Resource Monitor