最近观察，mac每天丢失4g左右的空间，各种查原因都未果。然观察到mds_stores 巨大的读写量，查询得知是Spotlight，本机作为服务器不需要检索。随关闭之sudo mdutil -a -i off再次观察发现，磁盘回收接近50g空间，苹果我问候你全家。
错误信息： client_loop: send disconnect: Broken pipe以macOS的ssh客户端为例$ cd /etc/ssh $ sudo vim ssh_config在ssh_config文件的最下方的Host *中新增 ServerAliveInterval 30 IPQoS=throughput
libwebsockets-i86.a libwebsockets-x86_64.alibwebsockets-arm32.a libwebsockets-arm64.a#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" LIPO="xcrun -sdk iphoneos lipo" STRIP="xcrun -sdk iphoneos strip" LIBNAME=libwebsockets $LIPO -create $DIR/$LIBNAME-*.a -output $DIR/$LIBNAME.a $STRIP -S $DIR/$LIBNAME.a $LIPO -info $DIR/$LIBNAME.a
问题： 每次删除东西前，总是出现“Finder想要进行修改，键入您的密码以允许执行此操作”，按“好”后“废纸篓”里的“倾倒废纸篓”却显示灰色，电脑自动清除了文件。 解决： 1. Quit the "Terminal" application and relaunch it, to make sure that you are NOT logged in as another user (root for example). This is important, because the folder we create will get all the permissions from the parent folder (your "home" folder), and only the user who created the new ".Trash" directory (you) will be able to use it without restrictions.2. In the Terminal typesudo rm -frv ~/.Trashto remove the old ".Trash" directory and all folders and files in the old ".Trash" directory.3. In the Terminal typemkdir -v ~/.Trashto create a new ".Trash" directory in your "home" folder!4. In the Terminal typeosascript -e 'tell application "Finder" to quit'thenosascript -e 'tell application "Finder" to activate'to restart the Finder!5. Done! You can now move files in the trash!reference： http://bbs.weiphone.com/read-htm-tid-2813762.html