Difference between revisions of "File descriptor"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
echo "" > "/proc/$pid/fd/$fd" | echo "" > "/proc/$pid/fd/$fd" | ||
+ | |||
+ | 0 [[stdin]] | ||
+ | 1 [[stdout]] | ||
+ | 2 [[stderr]] | ||
+ | |||
+ | |||
== Related terms == | == Related terms == | ||
* [[Zabbix agent]] file descriptor monitorization | * [[Zabbix agent]] file descriptor monitorization |
Revision as of 07:25, 3 November 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"
0 stdin 1 stdout 2 stderr
Related terms
- Zabbix agent file descriptor monitorization
- inode
- Python:
os.close(fd)
- Resource starvation
sysctl fs.file-max
See also
Advertising: