Comments (5)
Salut et merci pour le retour sur OpenBSD. Je dois avouer que je n'ai pas fait de test sur BSD...
Sous Linux, le fichier mtab contient l'état actuel du montage des disques. Un exemple:
/dev/sda1 / ext4 rw,errors=remount-ro,user_xattr,commit=0 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
none /sys/kernel/debug debugfs rw 0 0
none /sys/kernel/security securityfs rw 0 0
udev /dev devtmpfs rw,mode=0755 0 0
devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
tmpfs /run tmpfs rw,noexec,nosuid,size=10%,mode=0755 0 0
none /run/lock tmpfs rw,noexec,nosuid,nodev,size=5242880 0 0
none /run/shm tmpfs rw,nosuid,nodev 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0
gvfs-fuse-daemon /home/nicolargo/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=nicolargo 0 0
Peux tu dans un premier temps supprimer l'appel à la fonction "glancesgrabfs.get()" en commentant la ligne 180. Cela devrait permettre à Glances de se lancer...
from glances.
J'ai commenté également diskio (à tout hasard)? J'espère que c'est bon, je ne fais jamais de python.
try:
#self.diskio = statgrab.sg_get_disk_io_stats_diff()
self.diskio = {}
except:
self.diskio = {}
try:
# Replace the bugged self.fs = statgrab.sg_get_fs_stats()
# self.fs = self.glancesgrabfs.get()
self.fs = {}
except:
self.fs = {}
Mais j'ai l'erreur :
Traceback (most recent call last):
File "/usr/local/bin/glances.py", line 917, in
main()
File "/usr/local/bin/glances.py", line 893, in main
init()
File "/usr/local/bin/glances.py", line 888, in init
screen = glancesScreen(refresh_time)
File "/usr/local/bin/glances.py", line 315, in init
curses.noecho() ; curses.cbreak() ; curses.curs_set(0)
_curses.error: curs_set() returned ERR
from glances.
Supprimes curses.curs_set(0) à la ligne 312
from glances.
Ca va faire la même chose sur tous les BSD a priori
from glances.
@keltia : Oui il y a de forte chance...
from glances.
Related Issues (20)
- Possible to sort or scroll the disk I/O column? HOT 3
- New logo for Glances version 4.0 HOT 1
- Lot's of log messages when a proxy is used with the Podman plugin HOT 2
- QuickLook plugin - Add physical core number HOT 1
- RAID plugin not showing up in Glances web UI (Docker install) HOT 2
- Union filesystem (mergerfs) read as individual drives HOT 1
- OpenBSD crash on start without a swap file/partition HOT 2
- Allow containers columns to be selected in config file
- glances: command not found
- Windows Install Issues HOT 3
- Change Renovate config HOT 1
- Add documentation for contributors
- [IP plugin] Make the public ip information more configurable (not only from the Censys service) HOT 1
- Newline in container command corrupts display / hides container HOT 1
- The cpulist of the percpu parameter cannot be fully displayed due to too many cores. HOT 7
- Alpine Docker image build error on ARM HOT 4
- 【macOS] Using Glances to obtain the cpu utilization of a specified process in macOS is inaccurate HOT 1
- Python3 related issues installing glances on Ubuntu 24.04 HOT 1
- V3.6.1.2 Docker Hub Image HOT 1
- GlancesAutoInstall claims to be incompliant with (Rpm-based) Rosa HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glances.