查看cpu、内存:
https://www.cnblogs.com/xubiao/p/6497533.html
linux内存显示和进程显示不一样:缓存
https://blog.csdn.net/wangcheng6666/article/details/75171952
sudo sh -c "echo 0 > /proc/sys/vm/drop_caches"
sudo sh -c "echo 3 > /proc/sys/vm/drop_caches"
查看文件前几行:
head -n 10 /etc/profile
tail -n 10 /etc/profile
ls -lh 查看文件属性,大小为kb ,ls -a 查看隐藏文件
hadoop fs -cat /test/gonganbu/scene_analysis_suggestion/* | head -100
删除yarn任务
linux切割大文件
split -l50000 -d large_file.txt part_ --verbose
网友评论