Difference between revisions of "File descriptor"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
0 [[stdin]] | 0 [[stdin]] | ||
1 [[stdout]] | 1 [[stdout]] | ||
− | 2 [[stderr]] | + | [[2]] [[stderr]] |
Revision as of 07:26, 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
2>&1
See also
- Standard streams:
/dev/stdin
,/dev/stdout
,/dev/stderr
,/dev/null
, File descriptor,set -x, 2>&1, stdbuf
- file, File system, directory,
touch
,mkdir
,ls
,ln
truncate
,fallocate
,split
,stat
, inode, File descriptor, superblock, block size (blockdev
),fuser
,lsof
,scrub
,chattr
, ulimit (nofiles),cp
,mv
,file (command)
,mkfifo
,chmod
Advertising: