Difference between revisions of "File descriptor"

From wikieduonline
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.

wikipedia:File descriptor

echo "" > "/proc/$pid/fd/$fd"

Related terms

See also

Advertising: