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
4.7 ★ | 3 Vote
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
How to share YouTube Music over time
It's time to switch to Passkey: The anti-phishing password alternative!
How to talk to a girl you like for the first time
6 signs it's time to upgrade your Smart TV
5 most powerful stealth weapons of all time of America
[99% Fixed] Clock Watchdog Timeout Blue Screen Error