Nginx Log Configuration, Log Cutting
Nginx Log Configuration
Set access.log
grammar
log_format custom format
Set error_log
grammar
Log Cutting
Previous articles: Nginx's configuration file nginx.conf
Nginx logs are useful for statistics and system service troubleshooting.
There are two main types of Nginx logs: access_log and error ...
Added by elklabone on Thu, 26 Sep 2019 06:04:10 +0300
Full set of shell web monitoring scripts
shell web monitoring script, the whole set is in it, decision rules changed several times, multiple combinations can see the old version, follow-up lazy to write new.
Old version links: https://blog.51cto.com/junhai/2407485
This time there are three scripts, write down the process of implementation.
The effect of calculating failure time is as ...
Added by theonlydrayk on Sat, 14 Sep 2019 12:17:09 +0300
CentOS 7 Process and Scheduled Task Management (Theory + Practice)
View and control processes
The relationship between programs and processes
program
Executable code and data stored on media such as hard disks, discs, etc.
Statically saved code
process
Program code running in CPU and memory
Code executed dynamically
Parent and Child Processes
Each process can create one or more processes
Simply put, ...
Added by crees on Tue, 27 Aug 2019 21:14:23 +0300
. net core implements task scheduling based on cron expression
Intro
Last time we implemented a simple Timer-based timing task. Details can be seen This article.
However, it may not be appropriate to use this method slowly. Some tasks may only want to execute in a certain period of time. It is not so flexible to use timer only. We hope that we can specify a cron expression like quartz to specify the execu ...
Added by Das Capitolin on Sun, 04 Aug 2019 18:46:26 +0300
[0723] Automated Operation and Maintenance-saltstack
Introduction to 24.1 Automation Operation and Maintenance
Understanding Automation Operation and Maintenance:
Traditional operation and maintenance is inefficient and most of the work is done artificially.
Traditional operation and maintenance work is cumbersome and error-prone.
Traditional operations do the same thing over and over again eve ...
Added by bfuzze_98 on Sun, 04 Aug 2019 16:10:06 +0300
nginx configuration file optimization
nginx configuration file optimization
nginx configuration file optimization
1. nginx configuration file simplification
2. Virtual host alias configuration
3. nginx status information configuration
4.0 nginx error log introduction
5.0 User Access Log
6.0 rewrite rewriting url
title: nginx configuration file optimization
tags: nginx,ac ...
Added by bp90210 on Sun, 21 Jul 2019 09:48:02 +0300
Chapter 12 Timing Tasks
Contents of this article:
12.1 Configure Timer Tasks
12.2 crontab file
Debugging 12.3 crond command
12.4 Task Schedule Accurate to Seconds
12.1 Configure Timer Tasks
First, you need to understand the concepts:
(1).crond is a daemon class program with a path of / usr/sbin/crond.The default will start in background mode, and crond will start in ...
Added by fonecave on Thu, 20 Jun 2019 19:51:07 +0300