Q: I want to monitor the memory usage of the Linux system, what views or command-line tools are available under Linux?
Physical memory is one of the most important aspects of Linux system optimization. Naturally, Linux also provides a number of
Today, the following error occurred while tossing Debian.
When you typically use Apt-get for install or update of your software, you may receive the following message:
E:could not get Lock/var/lib/dpkg/lock-open (one Resource temporarily
Parameters
-? or--help online Help.-D or--debug the instruction execution process in detail to facilitate error-making or understanding of program execution.-F or--force forcibly initiates record file maintenance operations, even if the Logrotate
$PATH: determines which directories the shell will look for commands or programs, and the PATH value is a series of directories that Linux searches for and compiles links to when you run a program.
Edit the PATH declaration in the format:
Path=
Method One
The code is as follows
Copy Code
Root@server ~]# Rpm-qa|grep httpdHttpd-2.2.3-11.el5_2.centos.4Httpd-manual-2.2.3-11.el5_2.centos.4
Description: Rpm–qa | The grep mysql command is for MySQL-related
One, PUREFTPD hint 553 error
After the LNMP installation pureftpd succeeded, the FTP connection prompts the following error:
We can try to restart PUREFTPD to see if we can solve this problem.
The code is as follows
Copy
VPS built in the Web server, running for a long time, the use of memory is more and more high, for small memory VPS may directly use the swap partition, thus affecting the performance of the system application. The following is a very simple script
Ziproxy can compress images into low quality JPEG files or JPEG 2000 and compress (gzip or) HTML and other text words. At the same time it also provides HTML/CSS/JS optimization, active host name resolution, transparent agent, and so on.
Ziproxy is
The adduser and useradd commands are the same commands (symbolic link is connected by symbols ).Permission: system administrator.Adduser is used to add users. In contrast, you can also delete user commands, userdel. Syntax: userdel [login
Execute the telnet command to start the terminal job and log on to the remote host.SyntaxTelnet [-8 acdEfFKLrx] [-B ] [-e ] [-k ] [-l ] [-n ][-S ] [-X ] [host name or IP address ]Parameter description: -8: 8 characters are allowed, including
ARP (Address Resolution Protocol) is a Protocol used to resolve the IP Address and the hardware Address of the network device.Arpwatch can listen to and record ARP packets in the regional network, and report the changes through E-mail.SyntaxArpwatch
Usage: mkfs [-V] [-t fstype] [fs-options] filesys [blocks]The Linux mkfs command is used to create a linux file system on a specific partition.Parameters: Device: hard disk partition to be checked, for example:/dev/sda1 -V: detailed display
In general, we use the fdisk command for disk partitions. However, if the disk capacity is greater than 2 TB, this command does not work because MBR partition tables only support 2 TB disks; therefore, the GPT partition table must be used for disks
The Linux e2fsck command is used to check whether the partition of the Linux ext2 file system works normally.SyntaxE2fsck [-pacnydfvFV] [-B superblock] [-B blocksize] [-l |-L bad_blocks_file][-C fd] deviceParameter description: Device: hard drive
Umount can detach a file system that is currently attached to the Linux directory.SyntaxUmount [-ahnrvV] [-t ] [File System]Parameters: -A: delete all file systems recorded in/etc/mtab. -H: displays help. -N do not store the information in
The rcp command is used to remotely copy files or directories. For example, if two or more files or directories are specified at the same time, and the last destination is an existing directory, then it copies all the previously specified files or
Execute the rhmask command to create an encrypted file, so that you can transmit the file over a public network without being compromised.SyntaxRhmask [encrypted file] [output file] or rhmask [-d] [encrypted file] [source file] [output
The Linux gitview command is used to view the content of a file. It displays both hexadecimal and ASCII characters.SyntaxGitview [-bchilv] [file]Parameters:-B monochrome mode, color is not displayed using ANSI control code.-C color mode: use an ANSI
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