A Mtools IntroductionMtools is a set of scripts used to parse and filter MongoDB log files. The Mtools includes several tools:Mlogfilter can cut log files according to time, filter slow query, etc.Mloginfo returns log file information, such as start and end times, etc.Mplotq
In oracle10g, the default archive path is $oracle_base/flash_recovery_area. For this path, Oracle has a qualification that only 2G of space is available to the archive log by default, and you can use the following two SQL statements to view its qualification:
1. Select * from V$recovery_file_dest;
2. Show parameter db_recovery_file_dest (this friendlier and more intuitive)
When the number of archived log
Log4j for me is always a Shing, basically is from other projects, or online to find a section down according to gourd painting scoop, anyway, are not insignificant things, never carefully studied.
Recently done a small project, the customer to look at the log than the business is important, have to improve their own, carefully studied a bit, finally from the muddle out of the.
This article does not intend to introduce the log4j in detail, so, such as
Tags: Options view display complete using Linux start AC a.outThe command is: Tail-f catalina.outTail commandUseWrites the file to standard output, starting at the specified point. Using the-f option of the tail command makes it easy to see the log files that are being changed, TAIL-F filename will display the most up-to-date content on the screen, and not only r
Recently want to use the project to generate multiple log files, on the Internet to check the relevant documents. Sorted out, took out has been shared by everyone:
Before I write, I think you already know how Logback is configured.
1, the configuration file add the following code:
class= "Ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP" >
2.Create class Contactloguti in Java
Package com.targtime.dataTran
Tags: CTI fail window LIS Technology 40 Manage Err RorSymptom: The Oracle database for the Windows operating system, which uses a sqlplus connection (without specifying the instance name), connects quickly, and it takes about thirty or forty seconds for the program to connect or to use the connection tool or to test the connection in net Manager (the program connection may fail). It also takes thirty or forty seconds to pass the tsping localhost test. Review the Monitoring warning
Linux log filesConfiguration file formatDevice name. level, device name. Level position (between the level and position to be tab separated)Log levelEmergeAlertCritErrWarningNoticeInfoDebugMail.err mail level is equal to or higher than err, log loggingMail.=err mail level equals err before logging* Indicates all log d
Label:User feedback database server disk space usage exhausted. View after logging in to the server, discovering that the database generated a large number of trace logs and found ora-600 errors in the alert log Alert Log Information: Fri Jul - .: -: + -ErrorsinchFile D:\app\administrator\diag\rdbms\orcl\orcl\trace\orcl_ora_53832.trc (incident=35764): ORA-00600
size of individual directories in hours without the size of their subdirectories.
-X
-- Exclude =
-D or -- dereference-ARGs displays the source file size of the specified symbolic link.
-H or -- Si is the same as-h, but K, M, and g are measured in 1000 units.
-L or -- count-links repeat the hardware link file.
4. Example:
Instance 1: displays the space occupied by directories or files.
Command:
Du
Output:
[[Email protected] Test] # Du
608./test6
3
Label:Nonsense not much to say, directly on the code, clean up after the log file is 1M [SQL]View Plaincopyprint?
Use [master]
GO
ALTER Database [db name] SET RECOVERY simple with no_wait
GO
ALTER Database [db name] SET RECOVERY Simple
GO
Use [database name]
GO
DBCC shrinkfile (N' [Database log file name] ', 0,truncateonly)
GO
different ADR bases and configured separately for each component. For example, the original value of the database diagnostic_dest parameter is e: \ app. You can change this parameter to d: \ app dynamically, then the log files of the corresponding database are immediately stored in the corresponding directory structure of d: \ app.E: \> adrciADRCI: Release 11.2.0.3.0-Production on Sunday August 19 11:52:20
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
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:
Use file descriptors in Unix/linux to retrieve deleted files (data file or redo log)Reference text:Retrieve deleted files on Unix/linux using File descriptors (Doc ID 444749.1)Suitable for:Oracle database-enterprise edition-version 8.1.7.0 to 11.2.0.3 [Release 8.1.7 to 11.2]Linux x86Oracle Solaris on SPARC (64-bit)Linux x86-64Checked for relevance on 24-nov-2010*
Oracle|window Oracle installed on disk D:
1. Re-establish the Pl/sql package Dbms_logmnr_d
Open D:\oracle\ora81\rdbms\admin\dbmslmd.sql
Find
"TYPE Col_desc_array is Varray (513) of col_description;"
To
"TYPE Col_desc_array is Varray (1023) of col_description;"
Execute the following command in Server Manager
Svrmgr>@d:\oracle\ora81\rdbms\admin\dbmslmd.sql
2. Set initialization parameter Utl_file_dir, add a row in the parameter file:
Utl_file_dir=d:\oracle\oradata\manu
Restart database
3. Execute
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.
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
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.
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.