The code in the Resetstd method in work.php in Workerman is as follows Public Static functionresetstd () {if(!Static::$daemonize||Static::$_os!== ' Linux ') { return; } Global $STDOUT,$STDERR; $handle=fopen(Static::$stdoutFile, "a")
File descriptor abbreviation Description0 STDIN Standard Input1 STDOUT Standard output2 STDERR standard Error1. STDINcan come from the keyboard and can be entered from a redirected file.1 Cat 2 a #从键盘输入 3a #输出 4b #从键盘输入 5b #输出 6
Mysql-related log summary and mysql Log Summary
As an important means of querying problems, log should be recorded as much as possible for you to query some problems.
MySQL has the following types of logs:Error log:-log-err
Query log:-log
Slow query
As an important means of querying problems, log should be recorded as much as possible for you to query some problems. MySQL has the following types of logs:-log-err query log:-log slow query log:-log-slow-queries update log: -log-updat logs are an
Article title: Apache log: error log. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
The error log and access
1. syslog IntroductionSyslog is an industrial standard protocol that can be used to record device logs. In UNIX systems, routers, switches, and other network devices, System logs record System events at any time. Administrators can view system
Mysql-related log Summary
As an important means of querying problems, log should be recorded as much as possible for you to query some problems.
MySQL has the following types of logs:Error log:-log-err
Query log:-log
Slow query log:-log-slow-queries
ApacheHTTP server usage -------- log file-Linux Enterprise Application-Linux server application information. The following is a detailed description. To effectively manage Web servers, it is necessary to report the activity, performance, and
1. syslog introduction syslog is an industrial standard protocol that can be used to record device logs. In UNIX systems, routers, switches, and other network devices, system logs record system events at any time. Managers can view the system
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.