View the number of file handles opened by the process under Linux and clean up

---View the default maximum number of file handles, the system defaults to 1024# ulimit-n1024----See how many handles the current process has opened# Lsof-n|awk ' {print $} ' |sort|uniq-c|sort-nr|more131 2420457 2424457 24231 .....Where the first

Linux Tools-dstat

Dstat is a versatile product that can replace Vmstat,iostat,netstat and Ifstat commands. Dstat overcomes the limitations of these commands and adds additional functionality, increasing the number of monitoring items and becoming more flexible. The

Simple understanding of Linux commands (2)

RPM Packages – (Fedora, Redhat and similar systems)RPM-IVH package.rpm Installing an RPM packageRpm-ivh–nodeeps package.rpm Install a RPM package and ignore dependency warningsRpm-u package.rpm Update a RPM package without changing its configuration

A detailed description of the Linux regular expression

Regular Expressions (REGULAR): A set of rules and methods defined for processing a large number of strings,Common Command ParametersBasic Regular Expressions. : There is only one character (including spaces) *: Repeat any of the preceding 0 or more

Linux commands from getting started to invincible ~ ~ ~ unfortunately forgot the password

-----Getting Started with Linux commands----Forgot Password!!!Forgot password Tutorial!!!One, the introduction command explanation: Unknown solution----teach you to forget the password (my original password is 123456, forget is impossible!) Pretend

Kernel compilation experience for linux-2.6.22.6 kernel boot analysis

bz2

1 Decompression, patching operation1.1 Open Ubuntu, upload linux-2.6.22.6.tar.bz2 and patch files under Windows folder Linux-2.6.22.6-jz2440.patch to server/work/hardware directory via FTP1.2 Enter Cd/work/hardware into the directory where the

Common commands for Linux ""

Cat: View or merge file contentsExample: View 1.txt and 2.txt file content and merge 1.txt and 2.txt file content into 3.txtgrep: Text Search {format: gerp [-options] ' search content string ' filename }The grep command is a powerful text Search

Fix Linux Desktop brightness adjustment does not work

Working on the cause to start using Ubuntu. The desktop environment is gnome, but the brightness adjustment does not matter much to the desktop environment.Ideas:Whether gnome or unity, will try to take over the brightness adjustment, that is, to go

The tac/comm of some simple commands in Linux

TacTAC is the anti-write of cat, that is, reverse-order display file contentssuch as file A.txt content as follows:12345The TAC A.txt is printed as follows:54321We can use awk to implement the capabilities of the TAC:awk ' {arr[nr]=$0}end{for (count=

Linux Kernel (iii) file system

1. Why a root file system is required(1) Application of the Init process on the root file system(2) Root file system provides root directory/(3) Application layer configuration (ETC directory) on the root file system after kernel boot. Can almost be

Hyper-detailed Linux configuration DHCP server

ack

OverviewDHCP (Dynamichost configurationprotocol, Dynamic Host Configuration Protocol) is commonly used in large-scale local network environment, the main role is to centralize management, assign IP address, so that the host in the network

Linux ulimit Command Detailed

Ulimit is a computer command used by the shell to start a process that consumes resources that can be used to modify system resource limitsCommand Common parameters-H sets the hard resource limit.-S sets the soft resource limit.-A displays all

Build testlink1.9.17 under Linux

If you only want to build Testlink service, we recommend the use of Testlink integrated installation package, can avoid many pits: Https://bitnami.com/stack/testlink/installerAfter downloading, directly CD to the directory and run the file./testlink1

Share dry: Linux hard disk partition, mount, format, add to boot start item

0. Create mount Directorymkdir -p /www1, confirm whether there is no partition of the disk, such as, no partition of the disk is/DEV/XVDB, in your server may be/dev/vdb note the actual name modification-l2, partition for the disk, if partitioned,

Linux Command Daquan Summary

Directory-related commands: Ls,dir,cd,clear,mkdirls displays files and directories for the specified directoryLS-A lists all files under the directory, including the. Hidden files at the beginningLS-L displays a detailed list of the specified

Linux sed command detailed

Sed is a kind of stream codec, which is a very important tool in text processing, and it can be used perfectly with regular expression, so the work can be remarkable. When processing, the currently processed row is stored in a temporary buffer,

Configuring the disk array under Linux RAID5

Pilot project: Configuring disk Arrays (RAID 0, RAID1, RAID5, Raid6, raid1+0)Theoretical part:Multiple separate physical disks are grouped together in different ways, and then a logical disk is formed, which provides more storage efficiency and

4. Deploying Kafka clusters under Linux contos6.8

There are 3 servers, the IP is 192.168.174.10,192.168.174.11,192.168.174.12, respectively. Download the website and unzip the installation on each machine separately.# 创建kafka的安装目录mkdir -p /usr/local/software/kafka# 解压tar -xvf

List of shortcut keys for Linux terminal command line

Terminal has a lot of shortcut keys, not very good to remember, commonly used hereCtrl+r enables quick retrieval of used historical commands. Ctrl+r R is the R in retrieve.CTRL + A: The cursor returns to the beginning of the command. (A:ahead)CTRL+E:

Linux installation Python3

1. Install dependent environment# yum-y Install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-de Vel libpcap-devel xz-devel2. Download Python3# wget

Total Pages: 5467 1 .... 2120 2121 2122 2123 2124 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.