Linux Study Notes (6)-Work Management, linux Study Notes

Source: Internet
Author: User
Tags learn perl

Linux Study Notes (6)-Work Management, linux Study Notes

What is job management?

The job is translated from the job command. The job command can view the processes that work in the background. For example, what is job management? It takes a lot of time to package a large directory, but you also need to use other commands. You will think that I can log on to several terminals. In/etc/security/limits. conf, you can set the number of connections that users can log on to at the same time. If it is set to 1, isn't it the same? Since time-consuming Packaging Commands do not need to interact with users, can programs be packaged in the background? The answer is yes.

Put the process into the background to run

Use the & symbol to make the command work in the background

# Tar-zcf etc.tar.gz/etc &

This command will package the/etc directory, because the & symbol is added later, it will also be carried out in the background

The jobs command is not put together because the time is too short.

Use the shortcut key ctel + z to add the current process to the background

# Top

Run the top command and press ctrl + z. The top command is placed in the background, but the top command is paused.

View the current background process: jobs

# Jobs [-lrs]

Options and parameters:

-L: Besides listing the job number and command string, it also lists the PID number;

-R: Only programs running in the background are listed;

-S: Only programs suspended in the background are listed.

In fact, + represents the working process recently put into the background, and-represents the last and second working process put in the background. The third and later processes won't have the +/-symbol!

Restore the process paused in the background to the foreground for execution: fg % work number

# Fg % jobnumber

Options and parameters:

% Jobnumber: jobnumber is the work number. Note that % is dispensable!

Restore the process suspended in the background to the background for execution: bg % work number

# Bg % jobnumber

Options and parameters:

% Jobnumber: jobnumber is the work number. Note that % is dispensable!

It should be noted that the 'backend 'mentioned in the work management refers to a situation where [crtl]-c interruption can be avoided in the terminal mode, not in the background of the system! Therefore, the background of work management is still related to the terminal! In this case, if you connect to your Linux host through a remote connection and put your work in the background in the & way, could you please ask, if your work is offline, will the work continue? The answer is 'no '! Will not continue, but will be interrupted


What does a qualified Linux administrator do in common?

1. Looking at the size of the company, you are also a small company with miscellaneous, pouring water and running errands, also known as the Network Management
Major companies are divided by labor. Generally, they provide technical support to technical personnel, that is, to help them fulfill the requirements of various linux systems, or to operate and maintain the website. They can monitor the website to see if there is a problem, is the database a problem? If it's okay, please charge it by yourself. I'm not sure what problems will happen. I can't hold on to it temporarily. It's all about accumulation at ordinary times.

2. What industry should I focus on? In short, I should first familiarize myself with the basics of linux, and then I should be familiar with various versions. I may encounter freebsd or unix, but I should understand it myself. I should read it several times if I have encountered many,
I remember installing cron, tarball, and so on.

Bashshell must be proficient and be required for automation. It can be used to learn awk and objective CT. If you want to learn perl better, some interviewers like this and think that you will be awesome.

Then, to extend it to apache, php, and mysql, you have to be very proficient. The database is definitely a big data. Once I was a foreigner, I knew it was about linux and asked me all about mysql, it's silly to ask me directly. If you want to learn more about oracle, it's a great deal of money.

If it is for O & M, the cluster cannot be left alone. What lvs and ha should be required? This is also a big job. The architecture must be familiar with the basic questions in the interview, even if you haven't configured

The above are awesome. It is estimated that three years have passed. You can go out and enter the world. If you are good at English, you can get started with rocket training.

3. It may not be low. It depends on the level of view and the importance of the company. programmers also need c/c ++ to get a high point. php may not be too high, in addition, it is hard for people to write code with their brains. It is harder to read documents than to drink tea every day during O & M. In short, the technology is absolutely a lot of money, at that time called sa

Which of the following documents has the linux26 protocol stack study notes?

Sent to your mailbox. Please check it,

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.