5
0
How can I find all the file descriptors used by a process such as httpd (Apache web server) or mysqld (MySQL Database server)?
You can use /proc file system or the lsof command to find all the file descriptors used by a process.
/proc File System Example
First, find out process ID using the ps command, enter:
# ps aux | grep processName
# ps aux | grep mysqld
Sample outputs:
(more…)
Read More...
11
0
#11 & #12 – netstat and ss – Network Statistics
The command netstat displays network connections, routing tables, interface statistics, masquerade connections, and multicast memberships. ss command is used to dump socket statistics. It allows showing information similar to netstat.
#13 – iptraf – Real-time Network Statistics
The iptraf command is interactive colorful IP LAN monitor. It is an ncurses-based IP LAN monitor that generates various network statistics including TCP info, UDP counts, ICMP and OSPF information, Ethernet load info, node stats, IP checksum errors, and others. It can provide the following info in easy to read format:
(more…)
Read More...
