内存使用率前10行 # ps aux | head -1;ps aux | grep -v PID | sort -rn -k +4 | head CPU使用率前10行 # ps aux | head -1;ps aux | grep -v PID | sort -rn -k +3 | head p ...
分类:
系统相关 时间:
2018-08-31 10:55:22
阅读次数:
163
统计内存最高的进程: ps aux | grep -v PID | sort -rn -k 4 | head 统计CPU使用率最高的进程: ps aux | grep -v PID | sort -rn -k 3 | head 僵尸进程: ps aux | grep defunct | grep - ...
分类:
系统相关 时间:
2018-08-30 00:12:42
阅读次数:
344
查看php-fpm 相关信息 查看php-fpm是否开启 :ps -ef|grep php 查看php-fpm的位置:whereis php-fpm 查看php-fpm进程数:ps aux | grep -c php-fpm 查看运行内存:/usr/bin/php -i|grep mem 查看php ...
分类:
Web程序 时间:
2018-08-29 16:56:30
阅读次数:
193
启动spring boot java -jar tuia-0.0.1-SNAPSHOT.jar --spring.profiles.active=prod 查找进程 ps aux|grep tuia-0.0.1-SNAPSHOT.jar nohup java -jar tuia-0.0.1-SNAP... ...
分类:
编程语言 时间:
2018-08-27 00:20:05
阅读次数:
166
服务器端 服务器端的命令为redis-server 可以使?help查看帮助?档 redis-server --help 个人习惯 ps aux | grep redis 查看redis服务器进程sudo kill -9 pid 杀死redis服务器sudo redis-server /etc/re ...
分类:
其他好文 时间:
2018-08-24 13:33:01
阅读次数:
204
yum list | grep zip/unzipps -ef 或者 ps -aux 查看进程kill -s 9 1827把ps的查询结果通过管道grep查找包含特定字符串的进程ps -ef | grep firefoxcat /etc/shadow | grep rootecho '123' | ...
分类:
系统相关 时间:
2018-08-24 02:12:18
阅读次数:
176
1. ps aux|grep 程序 >查看当前程序是否运行 ps aux|grep nginx 2. tar -zxvf 压缩包 > 解压缩 tar -zxvf apache-tomcat-7.0.85.tar 3. /etc/init.d/iptables status >查看防火墙状态 /etc ...
分类:
系统相关 时间:
2018-08-22 00:16:09
阅读次数:
186
#元组是对列表的二次加工#元素的格式 tuple tu=(11,22,33,44)#元组中的元素是无法修改的,无法删除和增加#为了区分元组和函数中参数,可以在写元组的时候最后个元素后添加个逗号 tu=(11,22,33,44,)tu = (11,22,"aux",[1,3,"mas"],True,) ...
分类:
其他好文 时间:
2018-08-20 22:53:03
阅读次数:
185
操作 命令 说明 显示当前正在使用的用户线以及用户的相关信息 display users 在任意视图下执行 显示设备支持的所有用户线以及用户的相关信息 display users all 在任意视图下执行 显示用户线的相关信息 display line [ num1 | { aux | vty } ...
分类:
其他好文 时间:
2018-08-20 19:09:44
阅读次数:
363
Linux下文件类型: bcd -lsp b(块、设备文件) c(字符设备文件) d(目录) -(普通文件) l(链接文件) s(套接字文件) p(管道文件) kill -sig pid:通过pid发送信号杀死指定进程 kill -l:查看操作系统内所所有sig信号 ps -aux > STAT表示 ...
分类:
编程语言 时间:
2018-08-19 00:51:22
阅读次数:
160