Lsof
Lsof
Lsof
| Dernière version | 4.99.7 ()[1] |
|---|---|
| Dépôt | github.com/lsof-org/lsof |
| Écrit en | C |
| Système d'exploitation | Type Unix |
| Type |
Utilitaire de ligne de commande (en) Logiciel utilitaire |
| Licence | Licence BSD |
| Site web | lsof.readthedocs.io |
lsof est une commande UNIX qui permet de lister les fichiers actuellement ouverts sur le système.
Exemple
% lsof
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
init 1 root cwd unknown /proc/1/cwd (readlink: Permission denied)
init 1 root rtd unknown /proc/1/root (readlink: Permission denied)
init 1 root txt unknown /proc/1/exe (readlink: Permission denied)
init 1 root NOFD /proc/1/fd (opendir: Permission denied)
kthreadd 2 root cwd unknown /proc/2/cwd (readlink: Permission denied)
kthreadd 2 root rtd unknown /proc/2/root (readlink: Permission denied)
kthreadd 2 root txt unknown /proc/2/exe (readlink: Permission denied)
kthreadd 2 root NOFD /proc/2/fd (opendir: Permission denied)
migration 3 root cwd unknown /proc/3/cwd (readlink: Permission denied)
[…]
lsof 4776 user txt REG 3,2 109800 462571 /usr/bin/lsof
lsof 4776 user mem REG 3,2 1375536 392869 /lib/libc-2.7.so
lsof 4776 user mem REG 3,2 119288 392872 /lib/ld-2.7.so
lsof 4776 user mem REG 3,2 1282752 490788 /usr/lib/locale/locale-archive
lsof 4776 user 4r FIFO 0,6 43598 pipe
lsof 4776 user 7w FIFO 0,6 43599 pipe
Voir aussi
Notes et références
- ↑ (en) lsof-org, « Release lsof 4.99.7 · lsof-org/lsof » (consulté le )
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.