proceeding, it is necessary to understand the following instance parameters:
Shared_pool_sizeThis parameter specifies the size of the Shared Pool, in bytes. You can accept numeric values or numbers followed by the suffix "K" or "M ". "K" indicates kilobytes, and "M" indicates megabytes.
Shared_pool_reserved_sizeThe Shared Pool space reserved for the shared pool memory for large continuous requests i
system must be windowsMore than 2000, memory more than 256 MB, memory is very small, do not use the memory disk, otherwise it will reduce the operating efficiency of windows.
Now ramdiskInstall and run ramdisk. If ramdisk is not installed yet, only install ramdiskButton available, click the button to start installation, WindowsThe driver may be warned that there is no digital signature, warning. Ignore it and press Yes. Well, the installation is complete, except install ramdisk.Other buttons ar
is a new rich text lite field type of thumbnail. Also, Rich Text lite fields are not available on the web.Controlling HTML options for a fieldNew HTML options allow generated HTML to be controlled at the individual field level as well as the form level. field-level HTML options will override form-level HTML options. specific instructions are given for disabling passthru HTML in a field.Creating fields that inherit valuesThe description of field inheritance has been completely revised, to avoid
ArticleDirectory
Parameters
Option
Example
Tips
Displays information about one or more files.
Ls [Options] [File-list]
Parameters
By default,LsList file information in alphabetical order of file names,File-listCan be any file or directory
WhenFile-listWhen multiple directories are included,LsThe directory name will be displayed, not the subdirectories and sub-Files
WhenFile-listWhen it is a common file,LsThe file information is displayed.
Option
-A: disp
files on the web server, these files range from several kilobytes to several megabytes. In the same time, the more requests the server answers, the higher the server's processing capability on the client, the better the system's Web performance.3 [Performance Estimation Formula] 3.1 Common Error Estimation Methods
During the review of technical solutions and bidding and evaluation, I often see the followin
After 64-bit jdk7_17 is installed, Tomcat 7 always reports a memory overflow error.
After the adjustment, it still does not work, and has to switch back to the 32-bit JDK.
Adjust the memory Configuration:
export JAVA_OPTS="-server -Xmx1536M -XX:MaxPermSize=512m -Dfile.encoding=UTF-8"
Save as % tomcat_home %/bin/setenv. bat
Parameter description:
-Server
Select the Java hotspot server VM.For more information, see server-class machine detection [http://docs.oracle.com/javase/1.5.0/docs/guide/vm/s
To obtain the available memory of a mobile phone, you must first obtain the system service information,
Activitymanager myactivitymanager = (activitymanager) getsystemservice (activity. activity_service );
Then obtain the memoryinfo type object.
Activitymanager. memoryinfo = new activitymanager. memoryinfo ();
Then, use the getmemoryinfo (memoryinfo) method to obtain the available memory of the system. This method saves the memory size on the memoryinfo object.
Myactivitymanager. getmemoryinfo (
previous rows and save the following script.
#! /Bin/sh
# Simple bandwidth limit-English author j@4u.net
# Change the following data to your connection bandwidth
# (For users, write down the maximum bandwidth you may get, rather than the local Ethernet connection speed .)
REAL_BW = '10mbit'
# Change the following data to the bandwidth you want to allocate to FTP
# The bandwidth units we use are megabits, not megabytes, so 80 kbit is 10
Nginx optimization and nginx optimization grapenvine
Making full use of Nginx's efficiency and stability is very important for Nginx optimization. The following describes compilation and installation, third-party plug-ins, and system kernel.
Compilation and Installation Process Optimization
1. Reduce the size of Nginx compiled files
During Nginx compilation, the default mode is debug. In debug mode, a lot of tracing and ASSERT information will be inserted. After compilation, an Nginx should have
growslarger extent sizes will increase to 1 MB, 8 MB, and eventually to 64 MB. this isthe recommended option for a low or unmanaged environment.
UNIFORMspecifies that the tablespace is managed with uniform extents of SIZE bytes (use K or M to specify the extent size in kilobytes or megabytes ). the defaultsize is 1 M. the uniform extent size of a locally managed tablespace cannot beoverridden when a schema
range: TRUE | FALSE | default value of TEMP_DISABLE: FALSE
Query_rewrite_enabled = FALSE description: enable or disable Query Rewriting for the materialized view. A specific materialized view is only enabled under the following conditions: session parameters and individual materialized views are enabled, and cost-based optimization is enabled. Value range: TRUE | FALSE; default value: FALSE
Pga_aggregate_target = 25165824 Note: specify the total memory of the target PGA for all server processes
parameter can be displayed in bytes, if-m is used, it is displayed in megabytes. By default, it is in kilobytes. You can use the-s parameter to add a delay time (unit: seconds) for continuous running of the Free command, for example, $ free-s 5.
(5) sar
The Sar command collects, views, and records performance data. This command has a longer history than the previous commands. It can collect and display lon
Common commands for Linux O M: du and Common commands for linux: duThe commonly used du-sh * Linux du command is also used to view the space, but unlike the df command, the Linux du command is used to view the space used by files and directory disks, there are some differences with df commands.1. Command Format:Du [Option] [file]2. command functions:Displays the disk space used by each file and directory.3. command parameters:-A or-all indicates the size of individual files in the directory.-B
transmitted per unit time (in bytes, kilobytes, or megabytes );Type 2: bps (or B/s), Kbps (or Kb/s), or Mbps (or Mb/s), indicating the unit time (SEC) the amount of data transmitted within (bits, kibits, and megabits ).
The two bandwidth conversion formulas:1 Bps (B/s) = 8 bps (B/s)1 KBps (KB/s) = 8 Kbps (Kb/s)1 MBps (MB/s) = 8 Mbps (Mb/s)
So how can we test the bandwidth (speed) of our current network?We
accounting tool every 10 minutes*/10 * root/usr/lib/sa/sa1 1 1# Generate a daily summary of process accounting at 23:5353 23 *** root/usr/lib/sa/sa2-The data generated by the sar command is saved in the/var/log/sa/directory. The data is saved by time and the corresponding performance data can be queried by time.You can also use sar to get a real-time execution result under the command line. The collected data can include CPU utilization, Memory Page, network I/O, and so on. The following comman
-bytes: displays the size of directories or files in bytes.
-C or-total not only displays the directory or file size, but also the total number of all directories or files.
-D or-dereference-args displays the size of the source file connected by the specified symbol.
The unit of-h or-human-readable is K, M, and G, which improves information readability.
The-H or-si parameters are the same as the-h parameters, but K, M, and G are in units of 1000, rather than 1024.
-K or-
# also be imported and reused in the other applications;########################################################################## Import sys, OSkilobytes = 1024megabytes = kilobytes * 1000chunksize = Int (1.4 * megabytes) # default:roughly a floppyDef split (FromFile, Todir, chunksize=chunksize):If not os.path.exists (todir): # Caller handles errorsOs.mkdir (todir) # make dir, read/write partsElseFor fname
disk requests per second in kilobytes, the default unit block.-M displays the number of disk requests per second in megabytes.-N Display disk array information-N Displays the Network File System NFS report. This option is only available for Linux kernel 2.6.17 or later.-P Device | AllMutually exclusive with the-X option to display statistics for block devices and system partitions, or to specify a device n
The free command displays the idle, easy-to-use physical memory and swap memory in the Linux system, as well as the buffer used by the kernel. In Linux system monitoring tools, the free command is one of the most frequently used commands.1. Command format:free [parameters]2. Command function:The free command displays system usage and idle memory conditions, including physical memory, interactive area memory (swap), and kernel buffer memory, and shared memory is ignored3. Command parameters:-B Di
0 0 0 032 0 0 200890208 73712 591860 0 0 0 0 15898 4840 98 1 1 0 0^cVmstat (8) command, each row output some system core indicators, these indicators can let us understand the system state in more detail. The following parameter, 1, indicates that the statistics are output once per second, and the header hints at the meaning of each column, which describes some of the columns related to performance tuning:
R: The number of processes waiting on CPU resources. This data is more capable o
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.