(1) Process management1. Determine the server health status2. View the processA. Viewing all processes in the system: PSExample: PS aux (using BSD OS command format)A show all foreground processesX Show all background processesU shows which user generatedPs-le (using the Linux Standard command format)-L display more detailed information-E Show All processesResult descriptionVSZ: Occupies virtual memory size kbRSS: Occupies actual physical memory size
-f Test.logPING 192.168.120.204 (192.168.120.204) bytes of data.Bytes from 192.168.120.204:icmp_seq=1 ttl=64 time=0.038 msBytes from 192.168.120.204:icmp_seq=2 ttl=64 time=0.036 msBytes from 192.168.120.204:icmp_seq=3 ttl=64 time=0.033 msBytes from 192.168.120.204:icmp_seq=4 ttl=64 time=0.027 msBytes from 192.168.120.204:icmp_seq=5 ttl=64 time=0.032 msBytes from 192.168.120.204:icmp_seq=6 ttl=64 time=0.026 msBytes from 192.168.120.204:icmp_seq=7 ttl=64 time=0.030 msBytes from 192.168.120.204:icm
Step 1: Installationsudo apt-get install okularStep 2: NotesPress the F6 shortcut to open the Comment feature and you'll find it's amazing.Step 3: Chinese configurationIf the Chinese display after the installation is a problem, you can try as follows, if there is no problem can be skipped.Enter in the terminal.sudo apt-get install poppler-dataIf not yet, enter againsudo apt-get install poppler-utilsIf still not, it may be because some PDF files do not explicitly indicate the font, the system wil
fast as before the character "^" printing speed is much slower, indicating that there are many times the program in the Implementation of INC byte [gs:0] The DISP_STR is not executed afterwards, which also shows that interrupt re-entry does occur:Well, we've got a way to solve the problem of interrupt re-entry, so comment out the words of the print character and the delay:hwint00:; Interrupt routine for IRQ 0 (the clock). Subesp, 4pushad; '. Pushds; | pushes; | Save original register value PU
Tags: vim linux text editorVim is an upgraded version of VI, which is displayed according to the text attributes, with the following details:General mode:1. Cursor Positioning:Move left and right one character, H LMove one character up or down, K JLeft and right down, around on both sides, down in the middle so rememberCursor positioned at the beginning of shift+6 ^Cursor positioning line End shift+4 that is $Cursor positioned to the first line of tex
Connection PostgreSQLStart Metasploit Execute command: Db_status view Connection Database status ~6, running/etc/init.d/postgresql start database, in order to boot, it is recommended to write into the/etc/rc.local file:# su [email protected]:/root$ psqlpostgres=# Create user "MSF" with password ' MSF ' nocreatedb;postgres=# CREATE DATABASE " Msfdb "with Owner=" MSF ";To modify a database configuration file:~ ~ ~ Install VIM ~~~~~~sudo Apt-get installed vim prior to trial VIEdit database.ml:Stil
var/log/xorg.0.log, and the load is no problem. It is possible to compile xorg without enabling tslib. See in the xorg.conf, the default is to use the Evdev driver, Google has a half-day its calibration method, seemingly xinput-calibrator is the right path, compile, copy to file system, run in the serial terminal display=:0 xinput_ Calibrator, the calibration window will appear, the calibration will be OK, but it seems like this need to recalibrate after each boot, no recalibration method, run
# user parameters and passwords. Password=oldboy123# Password parameters and password. [Email protected]~]# MySQL# you don't have to enter a password to log into the database at this time. Welcometo the MySQL Monitor.Commands Endwith; or \g.
Yourmysql Connection ID is 8
serverversion:5.6.34 Source distribution
... Omit several lines
...Type ' help ', ' or ' \h ' for help. Type ' \c ' to clearthe the current input statement.
Mysql>The way to know that there are tigers on the Hill:[[Email protecte
variable that is only valid for code snippets within a function locally a=1title: Bash xxxx.SHInput-T5represents a triangle with 5 lines of paint-L7represents a draw slash 7 lines #!/bin/Bashtriangle () { forXinch$(seq 1$1) Do forYinch$(seq 1$(($1-$x))) Do Echo-N" " Done forZinch$(seq 1$((2* $x-1))) Do Echo-N"" DoneEcho Done}line () { forIinch$(seq 1$1) Do forXinch$(seq 1$i) Do Echo-N" " DoneEcho-
follows:Server{Listen 80;server_name test.com test1.com test2.com;Index index.html index.htm index.php;root/data/wwwroot/test.com;if ($host! = ' test.com ') {Rewrite ^/(. *) $ http://test.com/$1 permanent;}}
Test results:Knowledge Points:
server_name support to write multiple domain names, which is different from httpd, httpd can only be done by the server alias to do this.
Permanent is permanently redirected, the status code is 301, and if written as redirect, the status code is 30
we process 4 times, where one of the instantiated related built-in variables is Gl_invocationid, which represents the call value of the geometry shader request (invocation) Assignment ( Invocation), can also be simply understood as the first few calls, through Gl_invocation to give Gl_viewportindex assignment to which viewport, and Model_matrix is the viewport rendering matrix, So the process of this geometry shader is to set the viewport index first, and then use the viewport's matrix to trans
11.18 Apache user authenticationUser authentication for HTTPDvim /usr/local/apache2.4/conf/extra/httpd-vhosts.conf //把111.com那个虚拟主机编辑成如下内容/usr/local/apache2.4/bin/htpasswd-c-m/data/.htpasswd amingReload Configuration/usr/local/apache2.4/bin/apachectl-t/usr/local/apache2.4/bin/apachectl Graceful绑定hosts,浏览器测试curl -x127.0.0.1:80 111.com -I //状态码为401curl -x127.0.0.1:80 -uaming:passwd 111.com -I //状态码为200User authentication for HTTPDYou can also authenticate against a single fileDocumentRoot "/da
Tags:. com image logon 9.png alt cannot command log pen, enter command: Apt-get install git prompt permission is not enoughWorkaround, add sudo before the commandsudo apt-get install gitsudo is a Linux system Management Directive, a tool that allows the system administrator to let ordinary users perform some or all of the root commands, such as HALT,REBOOT,SU, and so on. This not only reduces the login and administration time of the root user, but als
.logboot.log ibacm.log prelink xorg.0.log.oldbtmp las TLog sa xorg.1.logbtmp-20130401 libvirt Samba xorg.2.logcluster Luci Secure Xorg.9.logconsolekit Maillog secure-20130331 Yum.logWhich mysqld.log this file is the log information we have to store our operations with the MySQL database, and we can get a lot of information by looking at the log file.Because our MySQL database is accessible over the network, not a stand-alone database, where the protocol used is the TCP/IP protocol,
by looking at the log file.Because our MySQL database is accessible over the network, not a stand-alone database, where the protocol used is the TCP/IP protocol, we all know that the MySQL database binding port number is 3306, so we can see through the NETSTAT-ANP command, is the Linux system listening on the 3306 port number:As shown above, the Linux system listens on the 3306 port number is our MySQL dat
Which mysqld.log this file is the log information we have to store our operations with the MySQL database, and we can get a lot of information by looking at the log file. Because our MySQL database is accessible over the network, not a stand-alone database, where the protocol used is the TCP/IP protocol, we all know that the MySQL database binding port number is 3306, so we can see through the NETSTAT-ANP command, is the Linux syst
This article introduces several useful tools for Linux operations, hoping to help Linux administrators.1. View the process usage bandwidth-nethogsNethogs is a network traffic monitoring tool under a terminal that can visually display the bandwidth consumed by each process.Download: http://sourceforge.net/projects/nethogs/files/nethogs/0.8/nethogs-0.8.0.tar.gz/download
[[Email protected] ~] #yum-y i
the portion of the file to be mapped.Addr: An address in a virtual space that represents a virtual area where a spare is located from this address.Prot: This parameter specifies access rights to the pages included in the virtual area. Possible signs are Prot_read, Prot_write, Prot_exec and Prot_none. The first 3 marks are the same as those of the Mark Vm_read, Vm_write and Vm_exec. Prot_none indicates that the process does not have any of the above 3 access permissions.Flag: This parameter spec
the problem: [Email protected] ~]# vim/boot/grub/grub.conf//or [[email protected] ~]# vim/etc/grub.confLocate crashkernel , change Crashkernel=auto to crashkernel=128m , and restart Linux . 2. if 8G system memory ,Crashkernel=auto will reserve 256M of memory, which is equivalent to crashkernel=256m , kdump does not start failing. 3. If the system memory > 16G ,Crashkernel=auto will reserve 512M memory, that is equivalent to crashkernel= 512M , the sa
13.1 Linux Partitioning 13.1.1 principle Introduction(1) for Linux, no matter how many partitions, to which directory to use, it boils down to only one directory, a separate and unique file structure, Linux each partition is used to form a part of the entire file system.(2) Linux uses a processing method called "loadin
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.