Home Operation and Maintenance Linux Operation and Maintenance Is it necessary to learn Python for Linux operation and maintenance?

Is it necessary to learn Python for Linux operation and maintenance?

Jul 06, 2019 am 10:25 AM
linux operation and maintenance

At this stage, mastering a development language has become a necessary skill for senior operation and maintenance engineers. If you don’t know how to develop, you will not be able to fully understand the business processes of your system, and you will not be able to help debug and optimize the programs developed by developers. , developers sometimes pay little attention to performance issues. These problems have to be solved by operation and maintenance personnel. When a business goes online, the CPU usage is too high and the memory usage is too large. If you don’t know how to develop, you may only be able to check At the process level, that is, which process occupies so much, and then what? Then it is left to the developers. How does this reflect your value?

Is it necessary to learn Python for Linux operation and maintenance?

Why Want to learn Python? (Recommended learning: Python video tutorial)

First of all, Python is a very powerful scripting language, which can meet most of the needs of automated operation and maintenance, and You can do back-end C/S architecture, and you can use the WEB framework to quickly develop a high-end Web interface. Only when you have the ability to build an automated operation and maintenance system, will your value be reflected and you will have Talk to your boss about your qualifications, otherwise, just go back and install the machine!

Why should we use Python for operation and maintenance development?

Good question, why not use PHP, JAVA, C, Ruby, here I can only say , See the wisdom of others. If you happen to have mastered other languages ​​​​other than Python, then use whatever you like. If you are a novice who has not even understood how to write Shell and want to learn a language, please use Python, why?

C/C, well, I can only say that if you know Python and C, then you will be more popular, but if you don’t know C, it doesn’t matter. Hiccup, basically people who do operation and maintenance use C just to install B, because in most cases you can't read the underlying source code of the system. However, if you have learned Python well, it is still recommended that you learn C. After all, compared to Python, a dynamic language, C is still much more efficient, but for novices, it is not recommended to start learning as the first language. Why? It hurts self-confidence... Haha, you know

Ruby, developed in Japan, is not bad. The style is a bit similar to Python. Because Ruby onrails is famous, it is used more abroad. In China, don’t worry! No chance, Python has taken up all its imagination.

Of course there is also the new language GO. Some people who are engaged in operation and maintenance see developers working on GO and want to join in the fun. They think it is the future. I want to say, don’t follow suit. No matter how successful GO is, it will not Become an operation and maintenance development language.

Some people think Python is inefficient and say it cannot support multi-threading, OH, okay! This is somewhat correct, but I would like to ask, how many of you who read my article have done search engine development? How many of you have done concurrent website development with hundreds of millions of PV?

How many of you have read this? Have you read the Linux kernel source code? If not, please don’t follow it. Do you know why Python does not support multi-threading? This is the wrong question. In fact, Python supports multi-threading, but it does not support multi-CPU multi-threading, that is, one program spawns out. Multi-threading can only occupy one CPU, but why? Oh, because of GIL, what is GIL, please figure it out for yourself. . . But do you have to use multi-threading? You can use multiple processes! No matter how awesome you are, you can still use coroutines, which Python supports very well. If your program logic is not good, multi-threading will not be fast.

I know a doctor who said something, which I think is good. He said that 80% of the efficiency of a program is determined by the person who writes the program, and the language itself accounts for 20%, so next time someone will talk about Python. When the efficiency is low, please ask him to go back and check for himself how much useless logic, loops, etc. his program contains. This doctor wrote his own WEB program in Python. A server can handle hundreds of millions of requests every day, with nearly 20,000 concurrent requests per second. Why is the WEB framework so awesome? Don’t ask who it is, it’s called tornado.

For more Python related technical articles, please visit the Python Tutorial column to learn!

The above is the detailed content of Is it necessary to learn Python for Linux operation and maintenance?. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Proficient in Linux operation and maintenance technology, on the road to high salary Proficient in Linux operation and maintenance technology, on the road to high salary Sep 10, 2023 pm 01:42 PM

As an open source operating system, Linux has received more and more attention and is widely used in the Internet industry in recent years. For those who are proficient in Linux operation and maintenance technology, they have great advantages both in job competition and in terms of salary and benefits. This article will explore how to master Linux operation and maintenance technology and move towards a high salary. First of all, understanding the basic knowledge of Linux is the only way to learn Linux operation and maintenance technology. Linux is a Unix-like operating system with the characteristics of stability, security, and efficiency. enter

How to perform system monitoring and troubleshooting on Linux operation and maintenance work How to perform system monitoring and troubleshooting on Linux operation and maintenance work Nov 07, 2023 am 08:32 AM

Title: Detailed explanation of system monitoring and troubleshooting for Linux operation and maintenance work Introduction: As a Linux system administrator, system monitoring and troubleshooting are an essential part of your daily work. In actual operation and maintenance, we need to capture exceptions through the monitoring system and perform timely troubleshooting. This article will introduce in detail the system monitoring and troubleshooting methods in Linux operation and maintenance work, and provide relevant code examples. 1. System Monitoring CPU Usage Monitoring CPU is one of the core resources of the system. By monitoring CPU usage, you can

The secret weapon to double your salary: Proficient in Linux operation and maintenance The secret weapon to double your salary: Proficient in Linux operation and maintenance Sep 12, 2023 pm 09:25 PM

The secret weapon to double your salary: Be proficient in Linux operation and maintenance. In recent years, with the rapid development of the Internet industry, the demand for excellent technical operation and maintenance personnel has also increased. In this information age, technical operation and maintenance has become the core competitiveness of all walks of life. Among the many technical operation and maintenance fields, proficiency in Linux operation and maintenance has undoubtedly become the most attractive field. So why can being proficient in Linux operation and maintenance be a secret weapon to increase your salary? First, the wide application of Linux operating system makes proficient in Linux

What are the commonly used commands for Linux operation and maintenance? What are the commonly used commands for Linux operation and maintenance? Oct 19, 2023 am 10:09 AM

Commonly used commands for Linux operation and maintenance include: 1. ls, lists the files and folders in the current directory; 2. cd, switches the current directory; 3. pwd, displays the full path of the current working directory; 4. mkdir, creates a new directory ; 5. rmdir, delete an empty directory; 6. rm, delete files or directories; 7. cp, copy files or directories; 8. mv, move files or directories; 9. touch, change the timestamp of a file or create a new file ; 10. find, search for files or directories; 11. grep, etc.

The secret to salary growth lies in mastering Linux operation and maintenance skills The secret to salary growth lies in mastering Linux operation and maintenance skills Sep 08, 2023 pm 02:43 PM

The secret to salary growth lies in mastering Linux operation and maintenance skills. In recent years, with the rapid development of the Internet and the widespread application of information technology, Linux operation and maintenance skills have become more and more important. Whether you are an enterprise or an individual, mastering Linux operation and maintenance skills can make you stand out in the workplace, obtain higher salaries and better development opportunities. This article will use this topic as an entry point to discuss the importance of mastering Linux operation and maintenance skills and some code examples. Linux is an open source operating system that is stable, secure, and efficient.

Build a high-paying resume: Linux operation and maintenance technology is a plus Build a high-paying resume: Linux operation and maintenance technology is a plus Sep 08, 2023 pm 06:15 PM

Build a high-paying resume: Linux operation and maintenance skills are a plus. The importance of resumes is self-evident. An excellent resume can win job seekers the chance to interview, and the technical expertise in it is a bonus that cannot be ignored. In the current era of rapid technological development, Linux operation and maintenance technology, as a popular skill, is not only widely used in the server management and cloud computing fields of enterprises, but has also become an important talent demand for enterprises. Therefore, mastering Linux operation and maintenance skills will be a competitive advantage for job seekers who want to stand out.

Linux operation and maintenance: the first choice skill to start a high-paying career Linux operation and maintenance: the first choice skill to start a high-paying career Sep 10, 2023 pm 01:22 PM

Linux is an open source operating system favored by the business community and technical personnel for its stability and security. In today's digital era, Linux operation and maintenance has become a highly valued skill and is regarded as the first choice for starting a high-paying career. This article will discuss the importance of Linux operation and maintenance and how to become an excellent Linux operation and maintenance engineer. First, let’s understand the importance of Linux operation and maintenance. As the digitalization process of enterprises accelerates, more and more enterprises adopt Linux systems to support their business operations.

How to double your wealth through Linux operation and maintenance technology How to double your wealth through Linux operation and maintenance technology Sep 10, 2023 am 10:57 AM

How to Multiply Wealth through Linux Operation and Maintenance Technology In today's information age, computer technology is changing with each passing day, bringing unlimited business opportunities and opportunities for wealth growth. As one of the most important operating systems in the computer field, the mastery and application of Linux operation and maintenance technology has become the key to doubling wealth. As an open source operating system, Linux is famous for its high stability, reliability and security. It has strong scalability and flexibility, providing users with a wide range of customization functions and powerful tool support. Pass

See all articles