Comments (6)
Quel est ton système d'exploitation ?
Peux tu saisir les commandes suivantes dans un terminal et faire un copier/coller du résultat obtenu ?
# python
>>> import psutil
>>> psutil.__version__
>>> psutil.disk_partitions(True)
Thx !
from glances.
Le système est une Fedora 15 x86_64
Et voici la sortie demandée
$ python
Python 2.7.1 (r271:86832, Apr 12 2011, 16:15:16)
[GCC 4.6.0 20110331 (Red Hat 4.6.0-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import psutil
psutil.version
'0.4.1'
psutil.disk_partitions(True)
[partition(device='rootfs', mountpoint='/', fstype='rootfs'), partition(device='/proc', mountpoint='/proc', fstype='proc'), partition(device='/sys', mountpoint='/sys', fstype='sysfs'), partition(device='udev', mountpoint='/dev', fstype='devtmpfs'), partition(device='devpts', mountpoint='/dev/pts', fstype='devpts'), partition(device='tmpfs', mountpoint='/dev/shm', fstype='tmpfs'), partition(device='tmpfs', mountpoint='/run', fstype='tmpfs'), partition(device='/dev/mapper/vg-lv_root', mountpoint='/', fstype='ext4'), partition(device='tmpfs', mountpoint='/sys/fs/cgroup', fstype='tmpfs'), partition(device='cgroup', mountpoint='/sys/fs/cgroup/systemd', fstype='cgroup'), partition(device='cgroup', mountpoint='/sys/fs/cgroup/cpuset', fstype='cgroup'), partition(device='cgroup', mountpoint='/sys/fs/cgroup/cpu', fstype='cgroup'), partition(device='cgroup', mountpoint='/sys/fs/cgroup/cpuacct', fstype='cgroup'), partition(device='cgroup', mountpoint='/sys/fs/cgroup/memory', fstype='cgroup'), partition(device='cgroup', mountpoint='/sys/fs/cgroup/devices', fstype='cgroup'), partition(device='cgroup', mountpoint='/sys/fs/cgroup/freezer', fstype='cgroup'), partition(device='cgroup', mountpoint='/sys/fs/cgroup/net_cls', fstype='cgroup'), partition(device='cgroup', mountpoint='/sys/fs/cgroup/blkio', fstype='cgroup'), partition(device='cgroup', mountpoint='/sys/fs/cgroup/perf_event', fstype='cgroup'), partition(device='systemd-1', mountpoint='/dev/mqueue', fstype='autofs'), partition(device='systemd-1', mountpoint='/sys/kernel/security', fstype='autofs'), partition(device='systemd-1', mountpoint='/proc/sys/fs/binfmt_misc', fstype='autofs'), partition(device='systemd-1', mountpoint='/dev/hugepages', fstype='autofs'), partition(device='systemd-1', mountpoint='/sys/kernel/debug', fstype='autofs'), partition(device='tmpfs', mountpoint='/var/lock', fstype='tmpfs'), partition(device='tmpfs', mountpoint='/media', fstype='tmpfs'), partition(device='tmpfs', mountpoint='/var/run', fstype='tmpfs'), partition(device='hugetlbfs', mountpoint='/dev/hugepages', fstype='hugetlbfs'), partition(device='mqueue', mountpoint='/dev/mqueue', fstype='mqueue'), partition(device='/dev/sda1', mountpoint='/boot', fstype='ext4'), partition(device='/dev/mapper/luks-9a831617-f0bc-4932-9dcd-f7e6c114bfc9', mountpoint='/home', fstype='ext4'), partition(device='sunrpc', mountpoint='/var/lib/nfs/rpc_pipefs', fstype='rpc_pipefs'), partition(device='fusectl', mountpoint='/sys/fs/fuse/connections', fstype='fusectl'), partition(device='gvfs-fuse-daemon', mountpoint='/home/olivier/.gvfs', fstype='fuse.gvfs-fuse-daemon'), partition(device='/dev/sdb2', mountpoint='/media/New Volume', fstype='fuseblk'), partition(device='/dev/mapper/udisks-luks-uuid-43c3ccbb-9254-4567-845b-eaa594ef4abb-uid500', mountpoint='/media/Backup_Linux', fstype='ext3'), partition(device='securityfs', mountpoint='/sys/kernel/security', fstype='securityfs'), partition(device='binfmt_misc', mountpoint='/proc/sys/fs/binfmt_misc', fstype='binfmt_misc'), partition(device='debugfs', mountpoint='/sys/kernel/debug', fstype='debugfs')]
from glances.
Merci je regarde cela quand j'ai un peu de temps.
from glances.
Peux tu essayer avec la dernière version de Glance (1.4b11) ?
Nicolas
from glances.
Parfait !! Les file system en double ont disparu.
from glances.
Cool :) Merci pour la remontée du bug !
from glances.
Related Issues (20)
- Crash when reading timezone for generating alert HOT 2
- pip glances export does't have docker resource HOT 1
- Refactor the QuickLook plugin to add Load HOT 1
- zsh: command not found: glances
- ModuleNotFoundError when using `--export influxdb2` in with latest-full docker image HOT 5
- On Linux OS, add guest CPU stat HOT 1
- Unable to Autostart glances using the systemd instructions [SOLVED] HOT 1
- ubuntu-latest-full with docker stat support
- If FastAPI server failed to start, Glances do not return a critical error
- Use glances network alias if available HOT 1
- url_prefix does not work on develop HOT 2
- Release 3.4.0.2's Alpine docker base out of date; Release 3.4.0.2 on newer Alpine 3.19.1 and 3.18.6 tags
- .gitignore in package HOT 1
- Ability to use glances --export influxdb in web interface mode HOT 1
- Glances silently fails on Windows 11 HOT 5
- Glances won't start on Windows 10 HOT 1
- NPU Monitoring HOT 1
- Custom system header information HOT 3
- Devel branch: Alpine Docker Image build failed on Alpine HOT 2
- [Documentation] Docker compose password unrecognized arguments when applying docs. HOT 2
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.