Lsof (list open files)
Lsof needs access to core memory and various files, so it must be run as root to fully perform its functions. I. Parametric analysis
The meaning of the lsof output column information is as follows:
Type columns are more
In front of a lot of about CPU and memory analysis, that in Linux, how to view the local network related to the situation. Use: Netstat
Netstat is a program that accesses the network and related information in the kernel., generally used to verify
Virtual machine copies are often encountered during the entire virtual machine, but the network configuration will encounter errors after the copy
Service network Restart when starting the network prompts the following error:
Device does not
Linux Learning
2. Common Hot Key Learning
1.Tab KeyThe Tab Key has the function of command complement and file completion, so that we can avoid the wrong command or filename.For example:Ls-al ~/.bash When you press the TAB key two times, all of
The Linux Run Jar Pack command is as follows:
Mode one:
Java-jar Xxx.jar
Features: The current SSH window is locked, you can press CTRL + C interrupt the program to run, or directly close the window, program exit
How to keep the window unlocked.
A good memory is better than a bad pen.
Find is our commonly used command, Linux is a very helpful command, find command the basic use of the following find Pathname-options [-print-exec-ok command] {} \; Parameters:--print: Outputs the results to
The solution to the forgotten root password is to go into Single-user mode at startup and modify the root password again. After the OEPNSSH patch has been upgraded OpenSSL, the Telnet service is turned off without verifying that the SSH function is
1, configure the personal home directory svn configuration file: ~/.subversion/config, positioning and configuration for the following:
[plain] view plain copy [helpers] Editor-cmd =/usr/bin/vim Save exit, ready to use.
This way, when you
The date command is very often used, in addition to entering date directly, more often than not, we want to output in a specific format, each time before using the turn of Man or--help, write down to deepen the impression. Arguments to the date
It programmer development must-all kinds of resources download list, the most complete IT resources in history, personal collection summary.
Order to enter VIVI FileName: Open or create a new file and place the cursor at the beginning of the first
The person who will shell programming certainly will not be unfamiliar to #!/bin/sh. What does this line of string mean in the end?
It should be clear that the so-called interpreter refers to the executable program following the #! line.
We start
When the file is too large, split file command: Split [option] filetosplit [outputfile] parameter description: Option #指定split的文件长度, no this parameter in accordance with 1000 lines interception filetosplit #需要spli The file of T is outputfile
The startup, shutdown, and error tracking of Tomcat services under Linux, using Putty to remotely connect to the server, typically starts the shutdown Tomcat service in several ways:Switch to the Bin directory (CD Usr/local/tomcat/bin) in the Tomcat
### TOMCAT6 Configuration:
-1. One-way authentication, is the transmission of data encryption, but will not verify the source of the client
-2. Two-way authentication, if the client browser does not import the client certificate, is not able to
First, install dependent library libevent
1. Enter the/usr/lib directory, use the command: Ls-al libevent to see if the installation, if installed and version less than 2.0.21, first through: Rpm-e libevent-nodeps to uninstall.
2. Upload libevent-2.
Linux Settings Gateway and IP
Modify IP Address
Immediate effect:
# ifconfig eth0 192.168.0.20 netmask 255.255.255.0
Start in effect:
Modify/etc/sysconfig/network-scripts/ifcfg-eth0
Modify the default gateway
Immediate effect:
# route add default
Chapter One data types and lists1.1 Space occupied by data typeUse the-wall-wstict-prototypes option when compiling the kernel to prevent many errors from occurringBasic data types used by the kernelint standard C language integer typeU32 32-bit
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