Linux Log view-cat command usage introduction, linuxcat
The cat command is used to connect files or standard input and print. This command is often used to display the file content, connect several files, or read and display the content from the standard input. It is often used with the redirection symbol.
Cat has thre
that all Members be consistent. To avoid the impact of LGWR wait on database performance, A useful suggestion is to store member files on a physical disk separately.When it comes to redo log files, we have to mention redo log buffer in the log cache, and an important LGWR
Sqlserve errorlog files Sometimes encounter large files, may be executed by command xp_readerrorlog or Sp_readerrorlog, you can add search text or start and end time--Log View--exec xp_readerrorlog @FileNum, @Type, @SearchText1, @SearchText2, @StartTime, @EndTime, @order--@FileNum:
synonym for V_$logmnr_region
V$logmnr_session synonym for V_$logmnr_session
TABLE_NAME COMMENTS
------------------------------ --------------------------------------------------------------------------------
V$logmnr_stats synonym for V_$logmnr_stats
V$logmnr_transaction synonym for V_$logmnr_transaction
Gv$logmnr_logs is the parse log list view
Analysis results in the gv$logmnr_contents
Linux log filesLearning about these different log files while your system is working properly can help you find and solve problems in emergencies.The/var/log/messages-includes overall system information, which also contains logs during system startup. In addition, content such as Mail,cron,daemon,kern and Auth is also
table is created along with other system tables during installation. If the log is upgraded from version 5.1.6 or earlier, you must manually upgrade the system table to ensure that the log table exists.
Currently, logging to a dedicated log table of the system consumes more system resources than Recording files. The
VPS is now a lot of webmaster accustomed to use one of the host, its function is basically similar to the server, but the price is much cheaper, and the virtual host compared to have more advantages. Website Log analysis is one of the necessary work every day, especially the analysis of the site is down right, which pages are included, and so on, the following author on the basis of the actual analysis of the VPS IIS is how to
mysql to close and re-open a file to record the logs. Of course, the system will automatically add a suffix (such. 00001 ,. 00002). Run the mysql> flush logs statement in the mysql environment; alternatively, run the mysqladmin administrative Program # mysqladmin flush-logs or # mysqladmin refresh. 2. Configure the mysql Log to start the database in mysqld_safe mode, followed by the option parameter, you can also configure it in the configuration fil
1, first switch to: CD usr/local/tomcat5/logs
2, Tail-f Catalina.out
3, this operation can be real-time view of the running log
CTRL + C is the exit Tail command.
By the way, Linux tail commands
The tail command writes the file to the standard output from the specified point. Using the-f option of the tail command makes it easy to refer to the changing log f
many other types of LOG files, mainly caused by third-party software, or even the fucking network administrator has set an "eye" on his system, therefore, you need to take a closer look at what you think may be a LOG file.
Many administrators prefer to put LOG files in the
This article mainly introduces the basic concepts of binary log files and redo log files in MySQL. it introduces some differences between redo logs and binary logs. For more information, see
Binary logBinary logs record all operations that perform changes to the database. binary logs have the following functions:
1. r
View Tomcat logs usually use tail-n or tail-f or grep or VI cat and other commands to see the exception information, but the log is constantly brush screen, tail is dynamic in the change, we often expect from the last line of the Log page forward page to view, so as to find the exception information, The less tool, a t
the derived process. One cmd action is a common situation where cron derives a scheduling process. Replace action records the updates to its Cron file, which lists the task scheduling to be periodically executed. The reload action occurs shortly after the replace action, which means cron notices that a user's Cron file is updated and cron needs to reload it into the memory. This file may find some unusual situations. /Var/log/maillog this
: the first field is the date and time, the second domain is the number of seconds spent downloading the file, the remote system name, the file size, the local pathname, the transport type (a:ascii,b: binary), the compression-related flag or tar, or "_" (if there is no compression), the transport direction ( Relative to the server: I represents the input, O stands out), Access mode (A: Anonymous, G: Enter password, r: Real user), user name, service name (usually FTP), authentication method (l:rf
Tags: database alt color Col Style Tar blog log std1, by default, ORACLE log files are recorded in the $oracle/rdbms/log directory
[Email protected] log]$ pwd
/home/oracle/oracle/product/11.2.0/db_1/rdbms/log
This is a creation in
Article, where the information may have evolved or changed.
Remotetail is a tool that supports simultaneous display of log file content updates for multiple remote servers, allowing you to simultaneously monitor changes to one (some) log files in multiple servers, tail -f xxx.log combining the output of commands from multiple servers.
Usage
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.