For any computer user, data may be lost due to sudden system failures or sudden power outages during normal operation. We always regret failing to back up the system and various files in time. In fact, a computer user often focuses on... information
Linux startup file rc. local can control some commands automatically executed when the system is started. programs similar to tomcat or mysql cannot start su-username-c & quot; command & quot; with the root permission; in this way, you can use any
-PROC file system introduction: displays the memory information. for the corresponding command: vmstat/free $ cat/proc/meminfo $ cat/proc/vmstat $ cat/proc/vmmemctl; show device information $ cat/proc/de...
==============================-PROC file
Top command is one of the most popular performance monitoring tools, which we must understand. It is an excellent interactive tool for monitoring performance. It provides overall system performance, but reporting process information is the top
#! /Bin/sh # get_current_time pay special attention to the following: manual extraction is required. the manual execution time is different from the execution environment in crontab-e. exportJAVA_HOME/opt/jdk1.6.0 _ 10/exportPATH $ JAVA_HOME/bin: $
About swap partition settings: a popular saying that swap transmits messages by region is that the swap partition size should be twice the memory size when Linux is installed. That is to say, if the memory is 2 GB, 4 GB hard disk space should be
1. check whether webshell Trojans are placed in the root directory of the site. determine if they are PHP Trojan scripts based on the statement # find/storage/www/-name & quot ;*. php & quot; | xargsgrep-in -- color & quot; eval (& quot; # grep-I --
Run two Tomcat servers at the same time. The second Tomcat server needs to modify three ports: & lt; Serverport & quot; 8005 & quot; shutdown & quot; SHUTDOWN & quot; debug & quot; 0 & quot; & gt; ---- the original value is 8005, which can be
The first download was the. rpm. bin version, which always showed a dependency check failure during installation. Later, the. bin version was directly downloaded and the installation was successful. I downloaded the jdk1.6.0 _ 16 version, first use
Find the position of ifconfig first: # The path of whereisifocnfig is as follows:/sbin/ifconfig run directly/sbin/ifconfig shows Nic information, but it is very troublesome to input/sbin/ifconfig every time. $ Suroot switch to root and enter #
First install the Wireless NIC driver to view the device model of the Wireless NIC: enter the command $ lspci-v to find the following information on the terminal: 03: 00.0 Networkcontroller: broadcomconfigurationbcm43225802.11b/g/n (rev01) Subsystem:
Details on common options of netstat-n: the IP address and port are directly displayed. Otherwise, the port will be resolved to: 80 to www, 22 to ssh, 13 for daytime, resolve the IP address to 127.0.0.1localhost, and 0.0.0.0 for *-l to display the
1. what kind of shell does instance 1 make the $2 of file1 and file2 different and get the global $0? Note: When comparing the $2 files, make sure that the first column is the same before comparing the 1.1 files and the operation file # catfile000012
1. change the system time zone to the Shanghai time zone cp/usr/share/zoneinfo/Asia/Shanghai/etc/localtime2. write a script ntp. cron #! /Bin/bash/usr/sbin/ntpdatentp.fudan.edu.cn | logger-tNTP put the script in/etc/cron. daily...
1. change the
I used to use SSH to log on to the company's server! However, today it went on strike. As usual, enter the command in the terminal to log on to the server: sudossh-lroot192.168.0.88sorry, which prompts the following information: @@@@@...
I used to
Memory usage instructions the Free Command provides a more concise view of system memory usage than the top command [root @ rac1 ~] # FreetotalusedfreesharedbufferscachedMem: 10351081008984261240124212413000-/+ buffers/cache: 4...
Memory usage
We can use/proc/cpuinfo to view CPU information. This file contains the data section of each processor on the system. There are 6 entries in the/proc/cpuinfo description for multi-core and hyper-thread (HT) technical checks: processor, vendorid,
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