Top: dynamically observe process changes
Ps is the state of the process at a certain time point, while top is the dynamic real-time observation of the running state of the process.
We can divide the result of the top command into three parts,
If you often use Linux Command lines, using the history (history) command can effectively improve your efficiency. This article describes the 15 Use Cases of the history command.
Display timestamp with HISTTIMEFORMAT
After you execute the
The safest way to kill a process is to simply use the kill command without a modifier or a flag.
First, use the ps-ef command to determine the PID of the process to be killed, and then enter the following command:
# Kill-pid
Note: Standard
The name of the bread in RHEL6 is not the same as that in the past. It is called tigervnc. It may be because last year was the year of the Tiger. Next year, this package will be called rabbitvnc ~
Rpm-ivh tigervnc-server-1.0.90-0.10.20100115svn39
As we can see on the Internet, hping is easier to use than the ping function provided by the system, so we need to take some time to install it,
How to Use hning2
I. Differences between hong2 and ping:
A typical ping program uses ICMP echo
The file transfer protocols in SecureCR include ASCII, Xmodem, Ymodem, and Zmodem.
ASCII: This is the fastest transmission protocol, but it can only transmit text files.
Xmodem: this old transmission protocol is slow, but the CRC error
In ubuntu 10.04:
Method:
Sudo vi/etc/default/grub
Find this line: GRUB_CMDLINE_LINUX_DEFAULT = "quiet splash"
Changed to GRUB_CMDLINE_LINUX_DEFAULT = "text" or "quiet splash text"
Save and restart sudo update-grub.
In ubuntu10.04 or later
1. Myeclipse Method
Copy the project to the webapps directory of Tomcat without setting this directory. tomcat regards all subfolders as a site, the ROOT directory of Tomcat accessed by the browser is the parsed ROOT folder.
2. Eclipse Method
Q: In Linux, how does one transition a CD to an iso image file?
A cd is a vulnerable storage medium. If you need to save it for a long time, you 'd better dump it into an iso image file. in Linux, we can do this:
Method 1: cp/dev/cdrom
System Environment: Windows XP SP3, jdk1.6.0 _ 13
Software Version: httpd-2.2.21-win32-x86-openssl-0.9.8r.msi apache-tomcat-6.0.33 tomcat-connectors-1.2.32-windows-i386-
Httpd-2.2.x
I did a test on a machine, because I have completed
Codeblocks was recently installed under fedora16. To write a program and create a console program, you can enter it! @ # And so on. You cannot enter letters, but sometimes you can enter a letter after restarting and then press the keyboard...
Recently, I started to use Ubuntu to write some code. Therefore, you need to use Eclipse, configure Eclipse, and write the process for your reference.
1. Download JDK and Eclipse
First, download JDK and Eclipse. This step can be performed
Files edited in WINDOWS are often transferred to LINUX with a ^ M symbol at the end of each line, which leads to shell script running errors.
This is because the DOS editor and the Linux editor are inconsistent with the carriage return at the
Almost everyone (not just system administrators) are forgetful and used to leave the Linux/Unix login session open (without logging out ).
So, how to make sure all the Linux servers will automatically logout users after idle for certain minutes?
Install the system by referring to the above address. In many places, you need to make more modifications.
First, I installed TFTP.
① Sudo apt-get install tftp tftpd openbsd-inetd
(Apt-get: Ubuntu Package Manager)
② Create a folder tftpboot in the
I. Operating System Optimization
For operating system optimization, it is to increase the available memory capacity as much as possible, increase the CPU frequency, and ensure the read/write rate of the file system. Stress tests show that the CPU
Linux has powerful command line processing. If it is used well, the efficiency will be very high. If it is not used well, it may cause fatal errors.
Take deleting the ". svn" file as an example!
If you are modifying the source code
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