Tip: do not remove the comment at the top, otherwise you cannot register as a system service,
About: chkconfig: 2345 65 37
Online search summarizes the following meaning:
2345 system environment for starting the service
65 is the priority of loading
37 is the priority of shutdown
Posted on Sun, 03 May 2020 21:44:50 -0700 by mw-dnb
The pstack command can display the stack trace of each process. pstack $pid is OK. The pstack command must be run by the owner or root of the $pid process.
This time, the cpu accounts for 100%, but there is no exception in memory. It is doubted that there is a dead cycle somewhere. After being reminded by colleagues, use pstack command to check ...
Posted on Sun, 03 May 2020 16:18:29 -0700 by haydndup
If you are managing Debian or Ubuntu servers, you may often use dpkg or apt get commands. These two commands are used to install, uninstall, and update packages.
In this article, let's look at how to check if a package is installed on a DEB based system.
To check whether a specific package, such as firefox, is install ...
Posted on Sat, 02 May 2020 12:31:17 -0700 by dadamssg
Download patch pack
View weblogic's current patch list
The new version of weblogic upgrade uses OPatch, and the old version of weblogic upgrade requires bsu.sh
1. Download the patch package
Find the patch package according to the link address in the solution to the vulnerability report scanned by gree ...
Posted on Sat, 02 May 2020 11:47:36 -0700 by giannis_athens
1, Meaning of ls-l paragraphs
wang@wang:~/workpalce/threading$ ls -l
//Total dosage 16
drwxrwxr-x 2 wang wang 4096 12 month 19 17:17 a
-rw-rw-r-- 1 wang wang 636 12 month 19 10:59 test.py
-rw-rw-r-- 1 wang wang 596 12 month 5 12:10 th.py
-rw-rw-r-- 1 wang wang 590 12 month 19 10:58 thtest.py
The first field has a total of 10 '-', the firs ...
Posted on Sat, 02 May 2020 00:52:43 -0700 by Meissa
The existing two pieces of code are basically the same, but the variables are changed, and the others are unchanged, but the results are different during execution
#backup import file,such as /etc/rc.local /var/spool/cron/root
IP=$(ifconfig eth1|sed -nr '2s#.*addr:(.*) B.*#\1#gp')
if [ $(date +%w) -eq 0 ]
Posted on Fri, 01 May 2020 22:38:25 -0700 by tigomark
Previously, in the browser, enter the ip of linux, and the following page appears:
So where is this page?
1, Tool notepad++
Before entering the topic, let's introduce the tools we will use
In notepad + +, there is a plug-in option. Select the plug-in manager option in the plug-in. There are only two options. After clicking, you wil ...
Posted on Fri, 01 May 2020 13:49:31 -0700 by Josien
1. Notify DBA to stop storage;
Serial login server
2. Backup system information
mkdir -p /bakinfo
df -h > /bakinfo/df.txt_`date +%Y%m%d%H%M%S`
ps -ef > /bakinfo/ps.txt_`date +%Y%m%d%H%M%S`
ip a > /bakinfo/ip.txt_`date +%Y%m%d%H%M%S`
netstat -rn > /bakinfo/netstat.txt_`date +%Y%m%d%H%M%S`
free -g > /bakinfo/free.txt_`date +%Y ...
Posted on Fri, 01 May 2020 04:05:47 -0700 by Nilpez
Multiline comments and multiline programs
When three quotation marks' msg 'are used to assign values to variables, they are multiline programs. If they are not assigned, they are multiline comments.
Single and double quotation marks can be used to assign values to variables, but there may be single quotation marks or double quotation marks ins ...
Posted on Thu, 30 Apr 2020 17:16:15 -0700 by culprit
I. software environment
Oracle Linux 7.1
II. Host settings
Master IP: 10.24.33.186
Slave IP: 10.24.33.188
Three master slave configuration
1. Master configuration
Create a replication user and grant the appropriate permissions:
mysql> create user 'repl'@'10.24.33.188' identified by 'repl';
Query OK, 0 rows affected ( ...
Posted on Wed, 29 Apr 2020 22:57:25 -0700 by joe_C_nice