Configure the upload path and file limit size in the application.yml configuration file
Spring:
servlet:
multipart:
max-file-size:10kb
Upload:
file:
location:d:\upload\
officially available configurable items:
# MULTIPART (multipartproperties)
Spring.servlet.multipart.enabled=true # Whether to enable support of multipart uploads. Spring.servlet.multipart.file-size-threshold=0 # threshold after which files are written to disk.
Values can use the suffixes ' MB ' or
:
Errmsg: Set the default error message. To return user-defined error messages normally, the errmsg parameter in the HTML file must be placed before other SSI commands; otherwise, the client can only display default error messages, instead of user-defined information.
Timefmt: Defines the format of date and time. The timefmt parameter must be used before the echo command.
The result is as follows:
Wednesday, 10000l 12,200 0
Maybe the user is unfamiliar with % A % B % d in the prev
preceding command to replace internal quotation marks so that they are not interpreted as an end expression. It cannot be omitted.
1,ConfigCommand
The Config command is mainly used to modify the default settings of SSI. Where:
Errmsg: Set the default error message. To return user-defined error messages normally, the Errmsg parameter in the HTML file must be placed before other SSI commands; otherwise, the client can only display default error messages, instead of user-defined information.
Ti
parameter in the HTML file must be placed before other SSI commands; otherwise, the client can only display default error messages, instead of user-defined information.
Timefmt: Defines the format of date and time. The Timefmt parameter must be used before the echo command.
The result is as follows:
Wednesday, 10000l 12,200 0
Maybe the user is unfamiliar with % A % B % d in the previous example. Below we will summarize some of the commonly used Date and Time formats in SSI in the form of A ta
quotation marks so that they are not interpreted as an ending expression. Can not be omitted.
1. Config command
The Config command is primarily used to modify the default settings for SSI. which
ErrMsg: Sets the default error message. In order to return the user-defined error message normally, the errmsg parameter must be placed in the HTML file
Placed in front of other SSI commands, the client can only display default error messages, not custom information set by the user.
TIMEFMT: Defines the
user.
timefmt: Defines the use format for dates and times. The TIMEFMT parameter must be used before the echo command.
Display results as:
Wednesday, April 12, 2000
Perhaps the user is unfamiliar with the%a%B%d used in the previous example, so let's summarize some of the more commonly used date and time formats in SSI in tabular form.
sizefmt: Determines whether the file size is expressed in bytes, kilobytes, or
directory or file size, in bytes. 3 - H or --siandThe h parameter is the same, but the k,m,g is converted to 1000 units. 4 - s or --separate- dirs: When displaying the size of an individual directory, it does not contain the size of its subdirectories. 5 - k or -- kilobytes: Output in kilobytes (1024bytes). 6 - m or -- Megabytes: output in
Tags: active results numerical techniques cached Zombie process description trace LinuxOne, freeDisplays the unused and used memory states of the current system, including physical memory, virtual swap file memory, shared memory segments, and buffers used by the system core, etc.1. Parameter description-B: Displays memory usage in bytes;-K: Displays memory usage in kilobytes;-M: Displays memory usage in megabytes
placed before other SSI commands; otherwise, the client can only display default error messages, instead of user-defined information.Timefmt: defines the format of the date and time. The timefmt parameter must be used before the echo command.The result is as follows:Wednesday, 10000l 12,200 0Maybe the user is unfamiliar with % A % B % d in the previous example. Below we will summarize some of the commonly used Date and Time formats in SSI in the form of a table.Sizefmt: determines whether the f
Nicstat is a powerful tool for monitoring network IO 1. View network card information 2. Check the network card interval 2 seconds, 2 times
Time column: Represents the response times for the current sample.
Lo and eth0: the NIC name.
RKB/S: The number of kilobytes per second received.
WKB/S: The number of kilobytes written per second.
RPK/S: The number of packets received per se
HTML file.
is placed in front of other SSI commands, otherwise the client can only display the default error message, rather than the custom information set by the user.
TIMEFMT: Defines the use format for dates and times. The TIMEFMT parameter must be used before the echo command.
The results shown are:
Wednesday, April 12, 2000
Perhaps the user is very unfamiliar with the%a%B%d used in the above example, let's summarize in tabular form some of the more commonly used in SSI
is restarted every two hours.● 50 7 ***/sbin/service sshd start means to enable the ssh service at every day● 50 22 ***/sbin/service sshd stop means to close the ssh service at every day● 0 0 ** fsck/home check/home disk on the 1st and 15th of each month● 1 ***/home/bruce/backup: Execute the file/home/bruce/backup at the first point of every hour.● 00 03 ** 1-5 find/home "*. xxx "-mtime + 4-exec rm {}\; every Monday to Friday three o'clock, in the directory/home, find the file name *. xxx file,
SSI commands in the HTML file, otherwise the client can only display the default error message, not the custom information set by the user.timefmt: Defines the use format for dates and times. The TIMEFMT parameter must be used before the echo command.Display results: Wednesday, April 12, 2000Perhaps the user is unfamiliar with the%a%B%d used in the above example, let's summarize some of the more commonly used date and time formats in SSI in tabular form.sizefmt: Determines whether the file size
page size is 65536, the largest SQLite database size is approximately 140 megabytes. The maximum number of pages pragma can be used to increase or decrease this limit at run time. Maximum number of data rows in the table The maximum number of data rows in the table can theoretically go to 264 (18446744073709551616 or about 1.8e+19). This restriction is not available because the database will first reach the size limit of 140
document memory, shared memory segments, and buffers used by the system core.Parameters-B Displays memory usage in bytes.-K displays memory usage in kilobytes.-m displays memory usage in megabytes.-O does not display buffer throttling columns.-S continuously observes memory usage.-T displays the memory sum column.-V Displays version information.The MEM line shows how memory is used from a system point of v
View free memory/physical memory usage/remaining memory in a Linux system
There are many ways to view system memory, but the main is to use the top command and free command
How do you see the results when you execute the top command? Here is a description:
mem:666666k Total, 55555k used, does not represent your application already uses 55555k of memory, which 55555k is included: application memory + buffer + cache memory.
See more directly with the free command:
The following is an example (
/backup the first minute of every hour to execute/home/bruce/backup this file* * 1-5 find/home "*.xxx"-mtime +4-exec rm {} \; Every Monday to Friday 3 o'clock, in the directory/home, look for files with the file name *.xxx and delete the files 4 days ago.6 */10 * ls means monthly 1, 11, 21, 31st Yes 6:30 execute the LS command7. FreeDisplay system memory Information-b,-k,-m and-G respectively according to bytes, kilobytes,
Let's take a look at a few specific examples:
0 */2 * * * */sbin/service httpd restart means to restart Apache every two hours
7 * * * */sbin/service sshd start with SSH service 7:50 every day
* * * * */sbin/service sshd stop means shut down SSH service 22:50 every day
0 0 1,15 * * fsck/home 1th and 15th monthly check/home disk
1 * * * * * */home/bruce/backup The first part of the hour to execute/home/bruce/backup this file
* * 1-5 find/home "*.xxx"-mtime +4-exec rm {} \; Every Monday to Friday
is always 0, that is, in the form of "major: 0". It can also be abbreviated as "major: for example, queue 1:0 can be abbreviated as 1 :. It must be noted that major must be unique among all queues of a nic. For a category, its major must be the same as its parent category or the major of its parent queue, minor must be unique within a queue (because the category must be included in a queue ). For example, if queue 2 contains two classes, the handles of these two classes must be in the form of 2
The Linux du command also looks at the space used, but unlike the DF command, the Linux du command is a view of the space used by the file and directory disks, or some difference from the DF command.1. Command format:du [Options] [file]2. Command function:Displays the disk usage space for each file and directory.3. Command parameters:-A or-all displays the size of individual files in the directory.-B or-bytes displays the directory or file size, in bytes.-C or--total displays the sum of all dire
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.