3.7. Application Profilers
Network monitoring scripts (in
- Every 5 seconds, prints a list of processes (process identifier and command) with the number of packets sent and received and the amount of data sent and received by the process during that interval.
- Instruments each of the functions in the Linux kernel's
net/socket.cfile, and prints trace data.
- Prints information for each new incoming TCP connection accepted by the system. The information includes the UID, the command accepting the connection, the process identifier of the command, the port the connection is on, and the IP address of the originator of the request.
- Every 5 seconds, prints the number of socket buffers freed at locations in the kernel. Use the
--all-modulesoption to see symbolic names.
Storage monitoring scripts (in
- Checks the status of reading/writing disk every 5 seconds and outputs the top ten entries during that period.
- Prints the amount of time spent on read and write operations, and the number of bytes read and written.
- Prints the top ten executables based on cumulative I/O traffic observed, every second.
- Prints the executable name and process identifier as reads and writes to the specified device occur.
- Prints the executable name and process identifier each time a read or write occurs to the specified inode on the specified major/minor device.
- Prints the executable name, process identifier, and attributes each time the attributes are changed on the specified inode on the specified major/minor device.
latencytap.stpscript records the effect that different types of latency have on one or more processes. It prints a list of latency types every 30 seconds, sorted in descending order by the total time the process or processes spent waiting. This can be useful for identifying the cause of both storage and network latency. Red Hat recommends using the
--all-modulesoption with this script to better enable the mapping of latency events. By default, this script is installed to the