The SYSTEMCTL command is a system Service Manager directive that incorporates service and chkconfig capabilities to view and set up services.Here's an example of Docker service.Manage with systemctl command显示服务状态:systemctl status
View the current system character setecho$LANGen_US.UTF-8env|grep LANGLANG=locale|grep CTYPELC_CTYPE="en_US.UTF-8"$Changing the system character set
Execute export LANG= or export LC_ALL= command, can temporarily modify the system character set
1.Linuxthe process ina process is an instance of program execution and is the smallest unit of system resource scheduling. If the same program is run by multiple users at the same time, the program has a number of relatively independent processes,
1. Open PycharmTools->deployment->configuratioConnecion->root Path:/home/admin/application/core-python/yanzhengma (fill in the root directory path)Mappings->deployment Path on server:/test (fill in the file under the server directory, the file is in
1.hping3/nping
TCP/IP packet generation tool for stress testing, security audits
2. Using Hping for Dos attacks
Command: Hping3-c 10000-d 120-s-w 64-p--flood--rand-source testsite.com
Description of each parameter
-c Number of
# Specify the time of the format date + '%y-%m-%d%h:%m:%S '2017-11-29 10:42:55# Timestamp -to seconds date + '%s '1511925242# Timestamp converted to time date + '%y-%m-%d%h:%m:%s '-d @15119252422017-11-29 11:14:02+ '%y%m%d%h:% m:%s '-d @ ' date +%S
Personally think that an OPS person should be the most expected day of work schedule:40%, deal with urgent and important matters, 60%, carry out important non-urgent work. Urgent important is easy to understand, in fact, is to save the class work.
When using Securefx to connect Linux, the Discovery folder display garbled, has been trying a variety of configurations, now the method to organize a bit! For everyone's Reference!First, set the character encoding to UTF-8 in the optionsThen locate
1 Find all . Tar files in the current directoryFind-name "*.tar"Find log file with current directory greater than 100M days ago Find-name "*.log"-mtime +15-type f-size +100m-mtime Find modified time,-type Find file type,f for file,D for
How to see if Tomcat starts under LinuxUnder the Linux system, restart tomcat using commands!First, go to the bin directory under TomcatCd/usr/local/tomcat/binUsing the Tomcat Close command./shutdown.shTo see if Tomcat is shutting downPs-ef|grep
Linux daily operation and maintenance management skills--monitoring system StatusFirst, check the disk status1.iostat–x Disk usage%util indicates io waits,2.iotop disk usage (dynamic display)Second,free to view memory usage1. The free command
First, modify the portOpen the Server.xml file under the Conf folder of the Tomcat installation directory, and locate the connector label for http/1.1 protocol to 80 (the default is 8080):port= " protocol"= "http/1.1" connectiontimeout = "20000"
1: Single User environment variable settingUser Directory e.g/home/michael/below. Bash_profile is the configuration that is read when logging in.. BASHRC is the configuration to read every time bash starts./home/enovia_dev#. bash_profile# Get the
cd Command Tips
Go directly to the user's home directory:cd ~
Go to the previous directory:cd -
Go to the previous level directory of the current directory:cd ..
Go to the top two-level directory in the current directory:cd ../..
Linux samba server configuration, linuxsamba
Disable selinux and firewall first.
Create a mount point
Mkdir/opt/gua
Attach a cd
Mount/dev/cdrom/opt/gua/
Enter the Directory
Cd/opt/gua/CentOS/
Install the samba Service
Rpm-ivh samba-3.0.33-3
View the hardware information of the system in Linux (for example, Centoso for some instances ).
1. cpu
# Lscpu command to view cpu statistics (not supported in some earlier versions)
Disk /dev/sda: 64.4 GB, 64424509440 bytes255 heads, 63
Commonly used linux Command Daquan Reprinted from: https://www.cnblogs.com/laov/p/3541414.html ()), laov3541414.html
Linux introduction andUbuntu Installation
Linux, free open source, multi-user multi-task system. Based on Linux, multiple versions
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