linux常用命令 原

netstat   -anp   |   grep  8888

cd -

tcpdump -n -i eth0 port 8080

nohup jupyter notebook --port 8888  --ip=172.18.122.70 --allow-root &

scp -P 18999  [email protected].**:/home/HByw_root/www.war ./

權限

chown -R jenkins:jenkins maven3.5.3

jenkins 沒有docker 權限

gpasswd -a jenkins docker

service jenkins restart 需要重啓

--------open file--------
ulimit -a
ulimit -n 2048
vim /etc/security/limits.conf  
在最後加入  
* soft nofile 4096  
* hard nofile 4096  

查看線程

top -H -p 707

---------------mysql--------------
mysql -h192.168.172.** -uroot -p*********

desc table_name;

show create table table_name;

show processlist

select concat('KILL ',id,';') from information_schema.processlist where user='root'and db = 'onlineshow';

 
 

---------------------------

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章