![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
ssdwuya
PHP核心编程
展开
-
查看laravel 队列(queue)进程数据
ps -fe | grep 'artisan queue' |grep -v 'grep' | wc -lps -fe | grep 'artisan queue' |grep -v 'grep'原创 2020-09-30 10:27:29 · 4805 阅读 · 0 评论 -
Liunx ZIP 打包文件过虑指定目录
zip -r mydata.zip mydata/* -x './mydata/public/uploads/*'原创 2020-09-28 19:07:43 · 168 阅读 · 0 评论 -
VMware Centos7 共享文件夹开机自动挂载
vim /etc/fstab加入以下代码:mwww:共享名 /home/wwwroot : 挂载目录mwww /home/wwwroot/ vboxsf defaults 0 0原创 2020-09-13 11:59:16 · 825 阅读 · 0 评论 -
LINUX 挂载 windows 目录
mount -t cifs -o username=ssdwuya,password=123456 //192.168.2.125/phpweb /home/wwwroot/原创 2017-04-26 13:19:37 · 250 阅读 · 0 评论 -
nginx反向代理设置
nginx代理服务器设置server{ listen 80; server_name test.cn; #access_log off; access_log /home/log/nginx/domains/default-n.access.log main; error_log /home/log/nginx/domains/default-n.e原创 2016-11-28 11:44:51 · 259 阅读 · 0 评论 -
linux 查看php-fpm子进程个数
ps -ef |grep -c php-fpm翻译 2016-12-09 16:15:38 · 3486 阅读 · 0 评论 -
LINUX 运维常用命令
LINUX 运维常用命令查看进程,按内存从大到小 ps -e -o "%C : %p : %z : %a"|sort -k5 -nr 查看进程,按CPU利用率从大到小排序 ps -e -o "%C : %p : %z : %a"|sort -nr 查看剩余内存原创 2016-11-15 09:58:39 · 364 阅读 · 0 评论 -
linux scp跨服务器远程复制
scp test30.zip root@11.20.18.26:/home/www/原创 2016-12-01 11:31:33 · 296 阅读 · 0 评论 -
nginx 禁止IP访问
deny 124.45.0.16或IP段deny 124.45.0.0/16如下:server { #limit_conn one 1; limit_req zone=req_one burst=120; listen 80; server_name dashan.test.cn;原创 2016-11-14 20:28:27 · 242 阅读 · 0 评论 -
nginx查看日志访问IP最高的20个IP记录
awk '{print $1}' dashan.dy0808.cn.log | sort | uniq -c | sort -nr -k1 | head -n 20原创 2016-11-14 19:58:52 · 1914 阅读 · 0 评论 -
linux 查看PHP当前fastcgi进程个数
linux 查看PHP当前fastcgi进程个数netstat -napo |grep "php-fpm" | wc -l原创 2016-11-14 19:38:42 · 4003 阅读 · 0 评论