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.

Unix has the following main source types that need to be monitored and enabled:

  1. CPU
  2. Memory
  3. Disk space
  4. Communication wires
  5. I / O Time
  6. Network time
  7. 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

May be interested

  • Regular Expression in Unix / LinuxRegular Expression in Unix / Linux
    a regular expression is a string that can be used to describe different sequences (arrangement) of characters. regular expression is often used by various unix commands, including ed, sed, awk, grep and micro domains.
  • Techniques cited in Unix / LinuxTechniques cited in Unix / Linux
    shell provides a variety of characters that have special meaning while using them in any shell script and cause a limit of a word unless quoted.
  • Basic utilities: print, email in UnixBasic utilities: print, email in Unix
    by this chapter, you have a few basic insights about unix systems and some of its basic commands. this chapter will briefly discuss some of the basic but important utilities of unix utilities that you will use in your daily activities.
  • User management in Unix / LinuxUser management in Unix / Linux
    unix supports a concept of group account, which groups a number of accounts logically. each account will be part of any group account. the unix team plays an important role in executing process management and allowing access to files.
  • Use variables in ShellUse variables in Shell
    a variable is a string of characters from which we assign a value. the assigned value can be a number, text, file name, device or any other type of data.
  • Micro editor in Unix / LinuxMicro editor in Unix / Linux
    there are many ways to edit files in unix and for me, one of the best ways is to use the editor to edit the micro screen orientation. this editor lets you edit the lines of content with other lines in the file.
  • C Shell operatorsC Shell operators
    this tutorial lists all the operators available in c shell. here, most operators are similar to those we have in the c programming language.
  • Control loop in Unix / LinuxControl loop in Unix / Linux
    the previous chapter has been shown how to create loops and work with them to perform various tasks. sometimes you need to stop a loop or continue their repetitive process.
  • ManPage Help in UnixManPage Help in Unix
    all unix commands come with arbitrary and mandatory functions. it is very common when you forget the full syntax of these commands.
  • Korn Shell OperatorKorn Shell Operator
    this tutorial lists all the operators available in the korn shell. here most of these operators are similar to what we have in the c program language.