Want to know command to restart linux server from putty? we have a huge selection of command to restart linux server from putty information on alibabacloud.com
[Email protected] ~]# dmidecode-t 1# Dmidecode 2.12-dmifsSMBIOS 2.8 present.Handle 0x0100, DMI type 1, bytesSystem InformationManufacturer:dell INC.Product Name:poweredge R730Version:not SpecifiedSerial number:7n2****uuid:4c4c4544-004e-3210-8046-b7c0********Wake-up Type:power SwitchSKU number:sku=notprovided; Modelname=poweredge R730Family:not SpecifiedThis article is from the "No More bitter Cry" blog, please be sure to keep this source http://wangshijun.blog.51cto.com/748817/1790360Linux
Today when using a Linux server found LS viewing the root directory accidentally rammedReboot and look at the root still stuck deadAnalysis Reason:Because there are other servers mounted in the native root directory, and the mounted server is not set upWorkaround:1. Restart the ser
the command to run 21* * */apps/bin/cleanup.shThe above example shows the cleanup.sh of the 21:30 running/apps/bin directory per night.4 1,10,22 * */apps/bin/backup.shThe above example shows the backup.sh in the 1, 10, and 22nd of the 4:45 running/apps/bin directory each month.1 * * 6,0/bin/find-name "core"-exec rm {};The above example shows that every Saturday, Sunday 1:10 runs a find command.0,30 18-23 *
/mac_pc/desktop/test.png [Email Protected]:/root2. Transfer the folder from the local to the serverScp-r "Path to local file" "Server User Name" @ "Server address": "Path to file on server"Sup-r/users/mac_pc/desktop/test [Email protected]:/root3. Transfer files on the server to localSCP "
Tags: indicates the default root command line remote server is the name of the current directory passwordMethod One, login with user name passwordOn the command line, enter the command:SSH [Email protected]_address-p PortAfter that, you will be prompted to enter a password, you can log in, and if you do not add the-P option, the default is 22 port.You can also en
-processTotal CPU time used by the time+-process, Unit 1/100 seccommand-Process Name (command name/command line)While the top command is in use, you can also use some interactive commands to complete the functionality of other parameters.1: Shows CPU cores taking up resource usage.P: Sort According to CPU usage size.T: Sort by time, cumulative time.Q: Exit the to
Linux User Action Records we can see history by command, but if you delete important data because someone mistakenly manipulated it, then the Linux Historical command is basically not going to work much. How do we look at the Linux user operation record, there is no way to a
page cache, generally as a file system cache, frequently accessed files are cached, if the cache value is large, the number of cached files, if at this time bi small in IO, the file system efficiency is better. display disk information
[Email protected] ~]# vmstat-ddisk-------------reads------------------------writes----------------IO------Total merged sectors Ms Total merged sectors Ms Cur secSDA 5614 676 1570107 89169 61439 20200 1149269 257890 0 142Sr0 11 0 88 6 0 0 0 0 0 0dm-0
Monitoring Linux Server disksServer disk performance testing is also a more interesting process. First of all, we need to figure out what's on disk, so here's a bird's-home dish.Not only do we have to figure out when the disk will be full, but also monitor the disk's read and write speed. Which is what we often call I/ODf-h//View disk usageIotop (this looks more intuitive)IostatNmonThe 22nd article has been
Original linkMany people use simple SSH connection tool, sometimes need to copy files under SSH to local view more convenient, I give you a simple command of the SCP.SCP is a file copy with security, SSH-based login. Easy to operate, for example, to copy the current file to a remote other host, you can command the following.scp/home/daisy/full.tar.gz [Email Protected]:/home/rootYou will then be prompted to
Original(1) Copy Local files to remoteSCP filename User name @ computer IP or computer name: remote pathLocal 192.168.1.8 Clientscp/root/install.* [email protected]:/USR/LOCAL/SRC(2) Copy files back to local from remoteSCP User name @ computer IP or computer name: file name Local pathLocal 192.168.1.8 client fetching files on remote server 12, 11SCP [email protected]:/usr/local/src/*.log/root/SCP [email protected]:/usr/local/src/*.log/root/To copy a d
information, the virtual machine vm050 memory is 8g,cpu logical number is 4, the hard disk virtual file path is/data/vmdisk/tmpl.sys.imgby command qemu-img info/data/vmdisk/tmpl.sys.img, you can query the size of the virtual hard disk, as follows650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/8F/96/wKioL1jl-WGCgqJQAAAdya0MILE782.png-wh_500x0-wm_ 3-wmp_4-s_2825463900.png "title=" 4.png "alt=" Wkiol1jl-wgcgqjqaaadya0mile782.png-wh_50 "/>Thi
Own small website runs in the Aliyun ECS above, occasionally also analyzes own website server log, looks at the website the amount of visits. See if there's any black-and-wide sabotage! So collect, organize some server log Analysis command, we can try!1, see how many IP access:awk ' {print $} ' log_file|sort|uniq|wc-lWc-l See how many lines2. View the number of t
Regardless of our users choose VPS, server used to build stations, or used for project operation, and even the old Chiang often see a lot of even virtual host did not play the neat users also began to use VPS server to build the site. These users and projects, in the server and site environment when everything is normal, no problem, but once there are problems, w
Label:Server on the use of MySQL command to insert data, many times will encounter the insertion of data garbled problem, export a SQL execution file, and then pour into the unbutn, the result garbled, toss 7-8 minutes,How to SolveWhen exporting the MySQL SQL execution file, specify the encoding format:Copy the Code code as follows:Mysqldump-uroot-p--default-character-set=utf8 Mo (dbname) > E://xxxx.sqlIt's OK when you import it.Do the followingCopy t
Set MySQL installed in C: disk, MySQL database username is root, the password is 123456, the database name is database_name, in D: Packing directory to store the backup database, the backup database name is Backup20070713.sql ( 20070713.sql for backup date)
Back up the database:
Mysqldump is a SQL-level backup mechanism that guides data tables into SQL script files and is relatively appropriate for upgrades between different versions of MySQL, which is also the most common method of backup.
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.