I installed the system two days ago and thought Windows 7 was almost mature. So I am ready to try it out. Unexpectedly, some original files on disk D do not have the permission to be deleted, and only the System has the permission to delete the files. Even if the Administrator account is enabled, you cannot delete those files. Tools that have been forcibly delete
Tags: mysql delete redundant bin-log filesToday work found Zabbix alarm, open the alarm page looked down, said the server/partition is less than 20%.SSH to server, view results found to be MySQL Bin-log file resulting in usage less than 20%MYSQLGT;NBSP;SYSTEMNBSP;LSNBSP;-LH TOTALNBSP;8.5G-RW-RW----1mysqlmysql1.6G MAYNBSP;21NBSP;10:09NBSP;IBDATA1-RW-RW----1mysqlmy
A process is running and constantly writing logs. You need to monitor log file updates in real time (usually used in debug). What should you do? Keep opening and closing files? No. There are at least two methods from two frequently-used commands:
Tail-F log.txt, another process is writing logs, and you can use tail to print new content in real time.
Less log.txt. If you want to monitor updates, press F.
Original Address: PortalI've seen the Linezero, but I've never written a log file successfully. According to Chiling's success, the following text:Recently studied the use of nlog, simply into the door.The implementation of the function, for different logs, different records, there are system run log, and the individual in the program to write the Exception log.
4: used to diagnose database errors
Each entry has a time stamp (timestamp) associated with it.
This file must be managed by Oracle DBA
The file is located at: BACKGROUND_DUMP_DEST.
Run show parameter dump to view the location of the file:
This file also contains the database startup information equivalent to pfile or spfile.
Log on as an administrator:
2: The following are actual operations:
1. View and start vsftpdRun#ntsysvCheck that there are no vsftpd, if any, select, no then install VSFTPD.Start FTP.#service vsftpd Restart2. Configure the VSFTPD user to enable the root user.#cd/etc/vsftpd#vi ftpusersComment out RootThere are people on the Internet that need to modify the User_list file#vi user_listComment out RootI follow the above practice, still can't login success, so find the answer on the Internet, finally found how to solve.Als
cannot be seen when you open a file in Notepad. How can we view it?
(The Orange text is for reference)
Step 1: Set the binary log file.
By default, MySQL does not enable those logs, such as binary logs, error logs, slow logs, and query logs...
Regression question: Enable binary logs...
In the my. ini file [mysqld], add:
# Custom defineLog-bin = mysql-bin
Long_query_time = 0.1.
1. Using Show Binlog EventsA. Getting a list of binlog files mysql> Show binary logs;+------------------+-----------+| Log_name | File_size |+------------------+-----------+| mysql-bin.000005 | 1288 | | mysql-bin.000006 | 120 | +------------------+-----------+mysql>b. View the Binlog file currently being written mysql> show Master status\g;********************** 1. Row ***************************
! "/>Checkpoint EventCheckpoints are equivalent to backup points, and if this is more likely to recover faster when a problem occurs because there is no need to recover longer and more records, it is usually recorded every three secondsIf log changes are recordedor manually request a checkpoint.650) this.width=650; "height=" 186 "src=" http://b287.photo.store.qq.com/psb?/81c1194a-ff39-4e50-b1b1-40057b06260f/ dfeqhqhktxpwc1tfemyrl*z3wtpfffigx43yq*ywv8m
75G 75G 0 100%/With the above output as an example, the meaning of the expression is:The second hard drive interface (b), the second partition (2), the capacity is 75G, with 75G, usable is 0, so the utilization is 100%, is mounted to the root partition directory (/).The following is an explanation of the relevant commands:DF-HL Viewing disk space remainingDf-h viewing the partition size for each root pathDu-sh [directory Name] Returns the size of the directoryDU-SM [Folder] Returns the total nu
/var includes data to be changed while the system is running. This includes each system that is specific, that is, a directory that cannot be shared with other computers, such as/var/log,/var/lock,/var/run. Some directories can still be shared with other systems, such as/var/mail,/var/cache/man,/var/cache/fonts,/var/spool/news. The purpose of the Var directory is to extract files or temporary
Usually collect some commands for easy use.1:LS-LRT Sort by Time show2:nslookup View DNS resolution3:lsof-p Process NumberLsof ' which httpd '//That process is using Apache executable fileLSOF/ETC/PASSWD//The process is taking up/etc/passwdLSOF/DEV/HDA6//The process is taking up Hda6Lsof/dev/cdrom//The process is occupying the optical driveLsof-c sendmail//view file usage for SendMail processLsof-c courier-
manual: Git diff, git Add, git diff--cached command details
For a detailed explanation of git commit commands, please refer to the article: Git manual: Git commit-m/-am/-a-m submit files to local warehouse area
For a git fetch command, refer to the article: Git manual: Git fetch pulls the latest version of the branch and branch of the remote warehouse to the local
For more information about git pull command use, please refer to article: Git manual: G
This article will show you how to reference wxml files and view templates in small programs. you can reference WXML files in two ways to include duplicate content, this makes the webpage content and logic structure simpler, clearer, and more lightweight. This article will show you how to reference wxml files and
Tags: using/tmp Operation CTRL AC unit description default parameter cat命令行提示符[[emailprotected] ~]## 超级用户$ 普通用户当前所在目录 ~用户的家目录管理员超级用户 /root普通用户 /home/用户名/所在目录linux 命令格式命令 空格 [选项] 空格 [参数]选项,使用或调整命令的功能参数:参数四命令操作的对象,如果可以省略,说明有默认参数显示注意:在linux下是严格区分大小写,所有内容!命令全部小写Linux view and create directory files and other commands 1 ls//list Displays the contents of the directory 1.1 Ls-l//Long format display (the t
Use
Vim View and edit a binary file
VimYou can easily edit binary files. I personally think it is better than Emacs's binary editing method.VimBinary files are edited by externalProgramXxd to dump the file into its binary text form, then you can edit the file according to the normal editing method, after editing, then use xxd to convert it to the original form.
configuration fileThe application's configuration file can be Found in the. config of Ubuntu , primarily for settings in the Application Preferences menu, workspace configuration, and so on. 5. Web Browser DataWeb browser data files can also be found in the Ubuntu. config file, which is mostly cached, including bookmarks, browsing history, temporary storage of downloaded files or pictures in the Web bro
process is running;
The FD directory is a symbolic connection of the files that the process opened or used.
------------------------------------------------------------------
Cat/proc/xxxx/environ |grep PWD
View the absolute path of the command.
Because of problems such as backup, different versions, and so on, there are many Nginx directories on ECS Linux, and the configuration
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.