peekfd command
peekfd shows file descriptor activity for processes
Typical usage: diagnosing process issues, information gathering, troubleshootingIntroduction into peekfd
The peekfd command is a tool for Linux systems to monitor file descriptors, usually open files and sockets. It shows any file descriptor activity for the process that is being tracked.
Installation
When peekfd is not installed by default, it can be added to the system using the relevant software package.
Package information for peekfd
Operating system | Package name | Installation |
---|---|---|
AlmaLinux | psmisc |
|
Arch Linux | psmisc |
|
Debian | psmisc |
|
Fedora | psmisc |
|
Red Hat Enterprise Linux | psmisc |
|
Rocky Linux | psmisc |
|
openSUSE | psmisc |
|
Ubuntu | psmisc |
|
Your Linux distribution using a different package? Share your feedback.
Usage
Frequently Asked Questions
What is the peekfd command and its purpose?
The peekfd command is a command-line tool to monitor processes and track activity on file descriptors like open files and sockets.
Which package provides the peekfd command?
The command peekfd is provided by the psmisc package.
Related and similar commands
Linux has a lot of tools and commands available and sometimes you just need that little other tool. Here is a list of commands that are similar or related to peekfd:
Command | Category | Summary |
---|---|---|
basename | files | Strips directory and file name suffix from a given path |
chrt | processes | Sets Linux scheduler policy and priority for a process or command |
kill | processes | Sending signals to processes |
lsfd | files | Shows open file descriptors for processes |
nice | processes | Runs commands with specified priority |
numactl | processes | Controls NUMA policy for processes and shared memory |
pidof | processes | Returns process IDs for a process name |
pidstat | monitoring | Monitoring CPU, memory, and disk activity |
pidwait | processes | Wait for process to stop |
pmap | processes | Shows memory mapping of process |
prtstat | processes | Shows process details for selected process like state, CPU and memory usage |
pscap | capabilities | Display available capabilities for running processes |
pslog | logging | Shows which log files a process has opened |
pstree | processes | Show active processes and children like a tree |
pwdx | processes | Shows current working directory of a process |
renice | processes | Changes the priority of running processes |
slabtop | memory | Shows slab usage of kernel |
smem | memory | Show memory usage including swap |
strace | process inspection | Inspects running process |
units | data conversion | Converts a unit into another one, like from Celcius to Fahrenheit |
watch | processes | Monitors changes in output of specified command |