linux命令汇总
作者:互联网
查杀僵尸进程的父ID ps -ef | grep defunct | more ps -A -o stat,ppid,pid,cmd |grep -e "^[Zz]"|awk ‘{print $2}‘|xargs kill -9
dbisql -c "dbf=/<path>/database/db.db;uid=XX;pwd=XX" -host 0.0.0.0 -port 2638 -nogui "select * from table1; output to /oprinfor.txt format ASCII;\commit;"
linux卸载分区,停止正在使用的分区下文件的进程
fuser -m -k /dev/sda5 #停止fuser -m -v /dev/sda5 #查看umount /dev/sda5 #卸载#mkfs.ext3 /dev/sda5 #格式化
标签:ps,0.0,汇总,dev,命令,fuser,sda5,linux 来源: https://www.cnblogs.com/pyvm/p/10819050.html