Process tracking and debugging on Linux (Strace and GDB)

Introduction:When some of our services fail, we look at the output of the screen and the printed log to find out what kind of error, but sometimes we have a lot of daemons start normal but not access, such as when we use the Nginx service, landing

Process tracking and debugging on Linux (Strace and GDB)

Introduction:When some of our services fail, we look at the output of the screen and the printed log to find out what kind of error, but sometimes we have a lot of daemons start normal but not access, such as when we use the Nginx service, landing

The role of each directory under Linux

/binBin is the abbreviation for binary. This directory inherits the structure of the UNIX system and stores the commands most often used by the user. such as CP, LS, cat, and so on./bootHere are some of the core files used when starting

Linux rpm Query

// View Install all packages// Query the installed package + package name[Email protected]/]# Rpm-qi libattr-devel//Query the installation information for a packagename:libattr-devel Relocations: (not relocatable) Version:2.4. -vendor:centosrelease:7

One of the Linux life Don't forget beginner's mind, set sail again

One of the Linux life Don't forget beginner's mind, set sail againThis year, I am 26 years old, 3 years of graduation, nothing.First, if the life is only as initial, I will be to you do not abandon2011 Big 2 Last semester, the course learned a few

Linux Basics Exercises (vii)

1. Create a 10G partition and format the file system as Ext4[[email protected] ~]# fdisk /dev/sdb device contains neither a  Valid dos partition table, nor sun, sgi or osf disklabelbuilding  a new dos disklabel with disk identifier 0xda03c3cc.

Linux Common commands

First, the Linux command syntax[[Email protected] ~]# command [options] parameterIi. Common Linux commands (CentOS)System and User1. Shutdown (root user only)2. The current user exits the login[[Email protected] ~]# exit3. View Current UserWhoAmI4.

View the number of handles occupied by the system process under Linux

---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

Basic Linux Knowledge

(1): The bin and the USR directory under the root directory to hold the system commands that the ordinary user can executeThe sbin in the sbin and USR directories under the root directory is used to hold system commands that the root user can

"Linux Rookie 2" LVM

● LVM Build1. Divide the physical partition and change the partition ID to 8ePvs|pvdisplay Viewing physical volumesVgs|vgdisplay Viewing physical volume groupsLvs|lvdisplay to view logical volume devicesMonitoring commandsWatch-n 1 \' echo ' = = =

Linux under top command learning

Website: http://www.cnblogs.com/qiwenhui/articles/4262044.html1. Command-Line options:1.1-b: Batch processing modeThe-B option starts the top command in batch mode. This is useful when you want to save the output in a file.1.2-C: Command/program

Linux under top command learning

Website: http://www.cnblogs.com/qiwenhui/articles/4262044.html1. Command-Line options:1.1-b: Batch processing modeThe-B option starts the top command in batch mode. This is useful when you want to save the output in a file.1.2-C: Command/program

Installing Tomcat under Linux

1, go to the official website to find the corresponding Tomcat version of LinuxHttp://mirrors.hust.edu.cn/apache/tomcat/tomcat-8/v8.5.6/bin/apache-tomcat-8.5.6.tar.gz2. Downloadwget http://mirrors.hust.edu.cn/apache/tomcat/tomcat-8/v8.5.6/bin/apache-

Linux Jobs 1

installation and related configuration of the first unit of Linux Graphical Installation Linux Operating System (1 hours) 2) Minimal installation of Linux operating system ( minutes) Second Unit UNIX and Linux operating system overview1

The principle of file deletion under Linux

How Linux files are deleted:Linux is the number of link to control the deletion of files, only if a file does not exist any link, the file will be deleted, in general, each file has 2 link counters: I_count and I_nlink.The meaning of I_count is that

Linux Skills Learning

It's mainly about collecting some Linux tricks:1. Eight suggestions for writing a reliable shell scriptFor bash, it is recommended to use/USR/BIN/ENV Bash and /bin/bash, and do not use/usr/bin/bash.SET-E and set-x, output the execution, and end the

Linux Shutdown and restart commands

Restart command:1, reboot2. shutdown-r now reboot (root user)3, Shutdown-r 10 over 10 minutes automatic restart (root user use)4, Shutdown-r 20:35 restart at 20:35 time (root user use)If you set the restart through the shutdown command, you can

Shell scripts cut tomcat log files,

Shell scripts cut tomcat log files, In view of the failure in debugging logback and log4j file cutting, you can use shell to write a script to cut the log files under tomcat (if you have successfully used the file cutting in logback or log4j, you

Install VSFTP in CentOS6.3 and centos6.3vsftp

Install VSFTP in CentOS6.3 and centos6.3vsftp Install the FTP server in CentOS: Step 1: Check whether FTP is installed on the server: [root @ localhost centos] # rpm-q vsftpd If it appears: [root @ localhost centos] # package vsftpd is not installed,

Install Discuz and Discuz

Install Discuz and Discuz ======================================Preface====================================== 1. LAMP environment setup please view this log: http://blog.163.com/wangke_email/blog/static/150335003201610315142268/ 2. This is just a

Total Pages: 5467 1 .... 5027 5028 5029 5030 5031 .... 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.