常用命令
磁盘管理
du -sh *
df -h
fdisk -l
进程管理
ps -u
kill -9
ps -ef|grep LOCAL=NO|grep -v grep|cut -c 9-15|xargs kill -9
ps -ef|grep aaa|grep -v grep|awk '{print "kill -9 " $2}' |sh
pkill -u name
killall -u name
查看进程,GPU
nvidia-smi
gpustat
top
htop
watch -n 0.5 nvidia-smi
运行程序
nohup cmmand &
cat nohup.out
nohup sh classDBasketballPass.sh &
nohup sh classDBlowingBubbles.sh &
nohup sh classDBQSquare.sh &
nohup sh classDRaceHorses.sh &
文件权限
chmod 777 file_name
远程文件传输
scp -P 4588 remote@111.11.111.11:/usr/local/sin.sh /home/administrator