System performance in Unix / Linux
The purpose of this tutorial is to introduce performance analysis with the tools available for monitoring and managing performance on Unix systems, and to provide a general guideline on how to detect and Fix performance issues in Unix environments.
The purpose of this tutorial is to introduce performance analysis with the tools available for monitoring and managing performance on Unix systems, and to provide a general guideline on how to detect and Fix performance issues in Unix environments.
Unix has the following main source types that need to be monitored and enabled:
- CPU
- Memory
- Disk space
- Communication wires
- I / O Time
- Network time
- Application programs
Performance components in Unix / Linux
The following 5 main components are listed:
Components Description User CPU Status The actual amount of time the CPU spends to run the user's program in the user state. It includes the time spent running library summons, but does not include the time spent in the kernel. System CPU Status The amount of time that the CPU uses for this program is in the system state. All I / O programs require kernel services. Program writers can influence this value by using I / O connection keys. I / O time and system network The amount of time spent moving data and serving I / O requests. Virtual memory performance It includes switching and context exchange. The application program Time is for running other programs - when the system does not serve this application because another application is currently in the CPU.Performance tools in Unix / Linux
Unix provides important tools to measure and refine system performance:
Commands / renice commands Run a program with the previously modified preferences. netstat Print system network connections, routing tables, interface statistics, anonymous connections and multicast members. time The amount of time a single command provides or uses the source. uptime System load average (SLA - System Load Average) ps Report a snapshot of current processes. vmstat Report virtual memory statistics. gprof Display call graph profile data. prof The top profile process Displays the system tasks.According to Tutorialspoint
Previous article: User management in Unix / Linux
Next lesson: Logging system in Unix / Linux
You should read it
- Network communication utilities in Unix / Linux
- System log in Unix / Linux
- What is Unix / Linux?
- Useful commands in Unix / Linux
- Instructions for installing Unix / Linux
- File Management in Unix / Linux
- Signal and Trap in Unix / Linux
- Regular Expression in Unix / Linux
- Navigation IO in Unix / Linux
- Basic file system in Unix / Linux
- Techniques cited in Unix / Linux
- Basic utilities: print, email in Unix
Maybe you are interested
Plot Resident Evil 3 Remake: Escape from the dead city - P.Last WiMax gigabit speed creates 4th generation mobile network The Windows era will continue until 2023 Top 12 hottest things in the universe Return to the historic moment when NASA spacecraft landed on the Moon through a re-created film from over 14,000 photos The surface of Venus: Why is Venus the hottest planet in the solar system?