修改系统时间,同步网络时间,修改时区:
https://www.cnblogs.com/suiyueshentou/p/7798340.html
https://my.oschina.net/qiongtaoli/blog/2051844
VMware虚拟机 Linux系统 Ubuntu 16.04 硬盘/磁盘扩容:
https://blog.csdn.net/m0_43403238/article/details/85480314?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.control&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.control
Clion on Ubuntu14.04, 无法使用Navigate中的Back命令的快捷键Ctrl+Alt+Left
https://segmentfault.com/q/1010000005040615
Linux 命令神器:lsof
https://www.jianshu.com/p/a3aa6b01b2e1
产生core文件: ulimit -c unlimited
基于gdb调试:gdb xx(如media-agent这是编译后的可执行文件) core,进入调试状态
gdb bt 可以看到比如coredump报错出现的问题,比如空指针,野指针,内存泄露
gdb f 1/2/3/4...
nohup 后台运行,进程查看以及终止:https://www.cnblogs.com/baby123/p/6477429.html
Linux MemFree与MemAvailable的区别
https://blog.51cto.com/xujpxm/1961072
linux命令行/shell 查看实时网速
LANG="" while true do up_time1=`ifconfig $1 | grep "bytes" | awk '{print $6}'` down_time1=`ifconfig $1 | grep "bytes" | awk '{print $2}'` sleep 1 clear up_time2=`ifconfig $1 | grep "bytes" | awk '{print $6}'` down_time2=`ifconfig $1 | grep "bytes" | awk '{print $2}'` up_time1=${up_time1} up_time2=${up_time2} down_time1=${down_time1} down_time2=${down_time2} up_time=`expr $up_time2 - $up_time1` down_time=`expr $down_time2 - $down_time1` up_time=`expr $up_time / 1024` down_time=`expr $down_time / 1024` echo 上传速度: $up_time kb/s echo 下载速度: $down_time kb/s done