: uptime, network. In Linux, the corresponding PROCFS format is mounted. Files in this directory can only be viewed and cannot be changed (including root)
/root/
Home directory for super users
/sbin/
necessary system binaries, such as: Init, IP, mount. Sbin the command under the directory, ordinary users can not execute.
/srv/
The specific data of the site, provided by the system.
Change the nice value of the process to -20# Renice pid N Bsp Change the nice value of the process to 19 second, performance monitoringThe uptime command is used to see how long the server has been running and how many users are logged in to quickly learn about the load on the server.The following is a running instance of uptime:11:07:03 up 2 days, Min, 3 users, load average:0.53,
GetParameter () method. However, the Enctype property of the form is set to Multipart/form-data in the file field, which is not available through the GetParameter () method.An example is described belowUpload page new Date (); = String.Format ("%TF", now); %> Select Document uploader " document name upload time Working with pagesString name=NULL, filenames=NULL, uptime=NULL, meg=NULL; Reque
can be on one disk, or on different disks, after partitioning, on the surface or a table, but the data is hashed in multiple locations, so that Multiple hard drives handle different requests at the same time, which improves disk I/O read and write performance and is simpler to achieve.
Note: Adding caches, libraries, tables, and partitions is achieved primarily by the program ape.
5. Database Maintenance
Database maintenance is the primary work of the operational engineer or DBA, including p
Com_select4 Although the time range of the statistic can be specified by itself (for example, 20 seconds), the final calculation of the metric per second is based on the time lag of the MySQL uptime when the script begins execution to the end of the script execution, because the script execution consumes a certain amount of time, so that the actual time will be more than the time we specified(Amount at end-amount at start)/(at end
each of the three computers and run the commands separatelyMongod--dbpath/home/zhf/node0--replset Rs0Mongod--dbpath/home/zhf/node1--replset Rs0Mongod--dbpath/home/zhf/node2--replset Rs0Enter any one of the Mongod servers at this point . Use the admin collection. Then run rs.initiate ()> Use adminSwitched to DB admin> Rs.initiate (){"Info2": "No configuration explicitly specified-making one","Me": "zhf-linux:27017","Info": "Config now saved locally. Should come online in about a minute. ","OK":
settings, etc., is generally a separate partition.
/lib/
/bin/and/sbin/the necessary library files for binary files.
/media/
A mount point that removes media (such as CD-ROM), which appears in FHS-2.3.
/lost+found
In the Ext3 file system, when the system crashes unexpectedly or the machine shuts down unexpectedly, some file fragments are generated here. When the system is booting up, the fsck tool checks here and repairs the corrupted fil
2514 # shrunBuildingconfiguration... Currentconfiguration: 982 bytes! Version12.2servicetimestampsdebuguptimeservicetimestampsloguptimenoservicepassword-encryption! Hostnamep2r3 !! Ipsubnet-zero! Vpdnenable (enable vpdn
2514 # sh run Building configuration... Current configuration: 982 bytes! Version 12.2 service timestamps debug uptime service timestamps log uptime no service password-encryption! Hostname
HubRouter2503 # showrunning-configBuildingconfiguration .. Currentconfiguration: 1466 bytes! Version12.2servicetimestampsdebugdatetimemsecservicetimestampsloguptimenoservicepassword-encryption! Hostname2503 !! Ipsubn
Hub Router 2503 # show running-config Building configuration... Current configuration: 1466 bytes! Version 12.2 service timestamps debug datetime msec service timestamps log uptime no service password-encryption! Hostname 2503! ! Ip subn
Router # shrunBuildingconfiguration... Currentconfiguration :! Version12.0servicetimestampsdebuguptimeservicetimestampsloguptimenoservicepassword-encryption! HostnameRouter !! Usernamezzf7681 !!!! Ipsubnet-zero !!!
Router # sh run Building configuration... Current configuration :! Version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption! Hostname Router! ! Us
'; Define the IP and port to view$MEMCACHE _servers[] = ' mymemcache-server2:11212 '; You can add multipleOther content slightlyThe above figure is the effect of the visit, is not very intuitive?Second, use Memcached's own command to checktelnet localhost 11211Trying 127.0.0.1 ...Connected to Localhost.localdomain (127.0.0.1).Escape character is ' ^] '.StatsSTAT PID 24567STAT Uptime 6576STAT Time 1261035123STAT version 1.4.3.....STAT bytes 64035STAT
Mysql monitoring methods are roughly divided into two categories: 1. connect to the mysql database and use showstatus, showvariables, and flushstatus to view various mysql performance indicators. 2. directly use mysqladmin to view its performance indicators, for example, UserParameter = mysql. uptime, mysqladmin-urootstatus | cut mysql monitoring methods are roughly divided into two categories: 1. connect to the mysql database and use show status, sho
environment operation. This is essentially configured in Forever,package.json: "Scripts": {"Start": "Forever App.js","Test": "Supervisor App.js"}, 3, PM2 use it to install it first, with the root account and the global mode installation: NPM install-g PM2 Use it to start the program (in the current directory can be started directly, PM2 start app.js--name uops) [[Emai L protected] uops]$ PM2 start app.js[PM2] Spawning PM2 daemon[PM2] Success[PM2] Process App.js launched┌──────────┬────┬──────┬─
background hung 2, using screen to open a different screens, this way can be directly on the screen to see the operation of the programOpen a screen for the application, such as: Screen-r Ops, starting with NPM start,Exit the background: CTRL + A, then press D, can not be directly ctrl +c, or exitThis way is not professional, hehe, but convenient to look at the operation of the production environment.This is essentially configured in the Forever,package.json: "Scripts": { "start": "Forever
Understand the average Linux processor load. you may have a full understanding of the average Linux Load (loadaverages. The average load value can be seen in the uptime or top command. They may look like this: www.2cto. comloadaverage: 0... to understand the average load of Linux processors, you may have a full understanding of the average load of Linux. The average load value can be seen in the uptime or t
=11559153c;;; questions=10724833c;;; table_locks_waited=0c;;; threads_connected=107;;; threads_running=2;;; uptime=1122870c;;;[Email protected] mysqldb ~]#It is normal to be able to see the check_mysql script from here without problems.2.2. Check the operating permissions of the Check_mysql[email protected] ~]# ll/usr/lib/nagios/plugins/check_mysql-rwxrwxr-x. 1 root root 168272 July 8 14:54/usr/lib/nagios/plugins/check_mysql[email protected] ~]#See is
, Create_core, Create_collection,Delete Standalone Server Example (Start SOLR RunningIn the backgroundOn port8984):./SOLRStart-p8984 Solrcloud Example (Start SOLR RunningIn Solrcloud modeUsing localhost:2181to connect to ZooKeeper, with 1g max heap size and remote Java Debug options enabled):./SOLR start-c-M 1g-z localhost:2181-a "-xdebug-xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044 "Pass-help after any COMMAND to See command-specific usage information, such as:./SOLR start -help
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.