the Linux PS command lists the processes that are running at the current time. through the PS command we can know the status of the process, memory footprint, start time, and so on.
ps Command section options:
PS Command output column
Web monitoring through the Zabbi can not only monitor the corresponding time to the site, but also according to the status code returned by the site, or the corresponding time to do the alarm
1, the need to monitor the host to add Web
A simple solution is to use open source software ntfs-3g
Install ntfs-3g using the following command
Yum Install ntfs-3g
Then use the following command to view the partition information
Fdisk-l
The following command is then used to mount:
Preface: If we have more than one Web server or file server on the back end, and there is no good file synchronization mechanism, then when we upgrade the program or update the file, we need every server or directory to update, so it is easy to
File permissions are relatively simple, but there are a few points that need special attention:
r: Read permission , refers to the specific contents of the file, such as what is written in the text file. The contents of "read" Here do not
The system is strange, continue to be the home of the file server machine problem, continue to be a raid problem, the previous raid of the two green disk is to support the use of hdparm to achieve hard disk sleep, that is, SpinDown bar, However, the
Normal export data using the mysqldump command
The code is as follows
Copy Code
Mysqldump-u root-p youdatabase tabename1 tablename2 > db.sql;
Export tablename1 and Tablename2 tables in Db.sql.
The
Display the user name. This command is equivalent to executing the "id-un" command.SyntaxWhoami [-- help] [-- version]Parameter description: -- Help online help. -- Version: displays the version information.InstanceShow user name# WhoamiRoot
Userconf is actually a symbolic connection of linuxconf. It provides graphical interfaces for administrators to establish and manage various accounts. If no parameters are added, the graphic interface is displayed.SyntaxUserconf [-- addgroup ] [--
DfYou can see the hard disk + USB flash disk in your computer. For example:Filesystem 1K-blocks Used Available Use % Mounted onUdev 4023248 0 4023248 0%/devTmpfs 808520 9784 798736 2%/run/Dev/sda3 46860948 21381896 23075608 49%/Tmpfs 4042584 50936 39
The comet model hosts maintain persistent connections, and the number of connections to a single host can reach one million (currently, the maximum number of connections to a single host can reach about 0.6 million ), netstat does not respond for a
We found/Data/wwwroot/zabbix/img/icon-sprite.svg, Store it locally and open it.Http://editor.method.ac/, Open svg select icon-sprite.svg, then you can see two zabbix pictures in the figureOpen ps, paste two images of the same size as zabbix in the
File management commands on LinuxDirectory management command:Mkdir: make directoriesMkdir [OPTION]… DIRECTORY...-P: automatically create the parent directory as needed;-V: verbose. Detailed process is displayed;-M MODE: Grant permissions
I have been using Linux for nearly three years. I have been using ubuntu for my freshman year. I started learning about O & M in my sophomore year, and then I have been using CentOS, here are some of your own experience and skills. Amway will share
Linux apache pseudo-static1. Open the configuration file httpd. conf of apache.2. Remove the # loadmodule rewrite_module modules/mod_rewrite before #.3. Add the following in httpd. conf:Rewriteengine on# Rewritecond % {env: script_url }(? : Index |
Gzip configuration parameters of NginxGzipDetermine whether to enable the gzip module:Param: on | offExample: gzip on;Gzip_buffersSet the size of gzip applied memory. The function is to apply for memory space by a multiple of the block size.Param1:
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