Wrote a Python applet, monitoring disk space, the front part of the network there are many, the purpose of blogging is to record down, has been used for their own back, the idea is to use pexpect this module, SSH to different machines, to find disk space, and finally to the results of processing, And then
/clientmqueue/*-type f-mtime +7-exec rm-rf {} \;/bin/find/var/spool/mqueue/*-type f-mtime +7-exec rm-rf {} \;It says it's 7 days clear./var/log/The following many logs are circular, generally save 4 files, on the system analysis is very important, so can according to their own situation, decided to clear and unclear, or save how long:Echo ' >/var/log/maillog.3 The third file, the longest from the most recen
Windows Vista operating system for a long time, you will find that the system disk space more and more tense, this time should do?
Solution
The default save location for offline file caching in Vista systems is: "C:WINDOWSCSC" changes its default save location by the following methods:
1. Run the following command i
VPN speed thief yesterday feel slow, visit the next blog found speed also not go, so login Control Panel glanced at. Results disk usage directly full, red is quite moving.
It's hard to think of anything that takes up so much space, a direct reboot, and then there's no, because the disk occupancy rate is still moving, and Ngnix didn't start. Try to start manual
Let's share the following, the way to close the MySQL log
LNMP a key package installed MySQL default open MySQL log, if the site on the database read and write more frequently may generate a large number of logs, and occupy disk space, but also may lead to the VPS's hard disk idle space consumption full cause the data
Approximately 30~35g's hard drive will completely install the Windows 7 system properly.
The smallest can choose 15G system partition, but such words need to do a series of optimization system to occupy hard disk space, turn off some caching function, avoid a system to hibernate and so on the system disk plug full cause panic or system crashes.
SS
It can be solved by the following methods:
If my u disk is G disk, originally 1G capacity, now only save 200M things, but U disk properties display 500M, I showed that all files still do not see the extra files.
1, then you can click the Start menu, select Run, enter the "cmd" back to open the Command Prompt window
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.