Due to data requirements, it is necessary to frequently fetch and filter filtered data. It took about 7 8 months to change the data on the machine, restart, and found “No space left on device”
Workaround:
Directly delete logs (simple and rude): Delete all logs: find /var -type f -exec rm -v {} \\; (The last semicolon is also part of the command)
Another: commonly used log files are as follows: access-log record HTTP/web transmission acct/pacct record user command aculog record MODEM activity btmp record failure record lastlog record the last few successful login events and The last unsuccessful login message logs information from syslog (some links to syslog file) sudolog Record the command issued by sudo sulog record using the su command syslog record information from syslog (usually linked to the messages file) utmp record each user currently logged in wtmp a permanent record of each user login and exit time xferlog record FTP Conversation
ubuntu configuration SSH password-free login 1. Install SSH: 2. Whether to generate .ssh
Install TOMCAT and JDK under Linux Step 1: Create a new boss user, username: boss, password
Understand the process: ? PID, PPID? Current process status? Memory allocation? CPU and actu
Liunx shared file server uses samba, so the linux shared server is to set up the samba server; 1, n
Linux Regular Expressions - Wildcards
How does the Linux system set up a shared file server? The
Happy experience of installing Ubantu under Windows
Linux modified hostname two ways
How to install JDK graphic parsing in Ubuntu
How to view logs in Linux system (common commands)
Linux mount mountcsi, ntfs, nfs through mount
16 Linux server monitoring commands you should know
Nginx installation on Linux (CentOS)
About multithreading under Linux
Inux virtual machine network configuration method and solution to the problem
What to do when playing the screen
Win10 Mobile/PC cumulative update 14393.82 fixes and fixes known content Daquan
Teach you how to manually back up Windows XP registry skills
How to open IIS service in Win7 system?
Win XP system network can not visit each other seven solutions
How to disable the sensor function in the win7 system
Windows some processing of DLL files
What if the win7 system camera icon is missing? Win7 system to retrieve the camera icon two ways
Windows7 64-bit flagship version of the link is not how to find back