Difference between revisions of "File descriptor"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
* <code>cat [[/proc/sys/fs/]]file-nr</code> | * <code>cat [[/proc/sys/fs/]]file-nr</code> | ||
* <code>cat /proc/sys/fs/file-max</code> | * <code>cat /proc/sys/fs/file-max</code> | ||
+ | |||
+ | echo "" > "/proc/$pid/fd/$fd" | ||
== Related terms == | == Related terms == | ||
Line 10: | Line 12: | ||
* [[Python]]: <code>[[os]].close(fd)</code> | * [[Python]]: <code>[[os]].close(fd)</code> | ||
* [[Resource starvation]] | * [[Resource starvation]] | ||
− | * [[sysctl]] fs.file-max | + | * <code>[[sysctl]] fs.file-max</code> |
== See also == | == See also == |
Revision as of 05:54, 26 July 2022
This article is a Draft. Help us to complete it.
cat /proc/sys/fs/file-nr
cat /proc/sys/fs/file-max
echo "" > "/proc/$pid/fd/$fd"
Related terms
- Zabbix agent file descriptor monitorization
- inode
- Python:
os.close(fd)
- Resource starvation
sysctl fs.file-max
See also
Advertising: