1. linux查看内存情况

top -u username

2.查看进程情况

// -- 查看用户进程
ps -ux

// -- 查看所有进程
ps -aux

 3.xshell退出时保持进程后台继续运行

nohup ./programe >/dev/null 2>&1 &