Command:cat/proc/9744/status //9744 for process ID
Name:gedit/* Process's program name */ State:s (sleeping)/* Process status information */ tgid:9744/* Thread Group number */ pid:9744 * Process pid*/ PPi d:7672/* Parent process pid*/
Whereis syntax
Whereis [-S] [-b] [-M] [u] [{{s |-B |-m} Directory ...} ...-f] the filename to look for.
Supplemental Note: The WHEREIS directive looks for eligible files in a specific directory. The properties of these files should belong to the
The following are examples of the implications of common numbers represented by using absolute mode to modify directory permissions:
Mode
Significance
777
All users have read, write, and execute permissions on the
First, the phenomenon of failure
Business side Feedback Current Network A SuSE11 host is found to be unable to start properly after reboot, and the discovery host is unable to start properly after the set System time to the present hardware clock
After a few days of reading the Ext2 file system and the VFS section of the deep understanding of the Linux kernel, a little understanding of the storage structure of the point file in memory, but always confused the actual storage on the hard disk,
Add Nginx Virtual HostThis assumes that everyone's Nginx server has been installed, do not understand the official documentation of the Linux distributions or LNMP installation instructions. Configure Virtual host steps as follows:Enter
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
If the system time is set to the December 9, 1999 command as follows.
#date-S 12/09/99The command to set the system time to 2:18 P.M. 9 seconds is as follows.#date-S 14:18:09
Date
The command can not only display the current time of the system,
Let's introduce the standard command line, which contains three parts:
Command_name option argument
Okay, back, echo is sending argument out to standard output (STDOUT), usually to the monitor output.
Or just run down and look at the echo command:
The recent Linux server disk usage often to 100%, until the impact of the normal service failure will pay attention to, do not take precautions, today in the online collection of information, plus their own changes, wrote a shell script for
Common Nginx 502 Bad Gateway solutions are as follows:
Nginx 502 Error Condition 1:
The number of visits to the Web site is large, while the php-cgi process is low.For the 502 error in this case, simply increase the number of php-cgi processes.
1. Date Order
The function of the date command is to display and set the system date and time.The general format for this command is: date [options] Displays the time format (beginning with +, followed by formatting)Date set time formatThe meanings
Look at the Internet, Bugzilla installation, most of the Web environment is Apache. Let me say a few words about my installation process.One, install Epel sourcePlease refer to: CentOS recommended to use Epel sourceSecond, install MySQL Nginx
Installed a Linux, the back directly erased it, results when the computer restart can not restart, always a boot on the grub> in the heart of the clinking of anger, the next think Impassability, is intended to directly reload the system, the results
Cause analysis:When a device fails and user data needs to be copied for backup, the administrator can log on to the linux system of the device background using a third-party tool to export data.Solution:First, enable the ssh function and set the
Step 1: Add a remote repositoryGit remote add origin the first repository address // origin is just an aliasGit remote add osc second repository address // osc is also an aliasStep 2:Create branchGit checkout-B masterGit checkout-B oscStep 3:Code
Uucico is a file transfer tool used to process UCP or uux messages sent to the queue. Uucico has two working modes: Active mode and affiliated mode. In active mode, uucico calls the remote host. In affiliated mode, uucico accepts calls from the
Mattrib is the mtools tool directive that simulates the attrib directive of the MS-DOS and can change the attributes of the MS-DOS file.SyntaxMattrib [-a | + a] [-h | + h] [-r | + r] [-s | + s] [-/] [-X] msdosfile [msdosfiles ...]Parameters: -A/+
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 indent command is used to adjust the format of the original C code file.Indent can identify and format C's original code file to facilitate reading by programmers.Syntax:Indent [parameter] [source file] or indent [parameter] [source file] [
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