http://lfstar.blog.163.com/blog/static/56378987201341115037437/查看哪些进程占用内存最高? > spawn(fun() -> etop:start([{output, text}, {interval, 1}, {lines, 20}, ...
分类:
系统相关 时间:
2015-03-12 22:05:32
阅读次数:
2806
1.查看配置文件语法 1vim /etc/*2.查看端口 1netstat -an | grep *3.查看进程 1ps aux | grep *4.看错误日志1tail -f /var/log/messages
分类:
其他好文 时间:
2015-03-12 14:51:41
阅读次数:
105
1、下载x86_64nethogs的rpm安装包wgetftp://ftp.muug.mb.ca/mirror/fedora/epel/6/x86_64/nethogs-0.8.0-1.el6.x86_64.rpm2、安装nethogsrpm-ivhnethogs-0.8.0-1.el6.x86_64.rpm3、使用nethogs查看进程流量ifconfignethofseth04、默认是监视eth0同时监视多个网卡nethogseth0eth..
分类:
Web程序 时间:
2015-03-12 01:07:13
阅读次数:
158
1.启动hdfs start-dfs.sh (启动后使用jps查看进程是否启动)2.执行hdfs portmap start和hdfs nfs3 start 使用jps查看portmap和nfs3是否启动3.执行mount -t nfs -o vers=3,proto=tcp,nolock 10.....
分类:
其他好文 时间:
2015-03-11 14:42:58
阅读次数:
134
原文:http://yuangeqingtian.blog.51cto.com/6994701/1188023Linux下查看进程占用端口:查看程序对应进程号:ps–ef|grep进程名REDHAT:查看进程号所占用的端口号:netstat–nltp|grep进程号?xml:namespace>ub...
分类:
系统相关 时间:
2015-03-10 01:19:14
阅读次数:
181
iftop 查看带宽占用情况(总)yum install -y iftop 安装iftopnethogs 查看进程流量curl http://218.5.73.233:8060/ip.php 查看出口ip查看当前线程:ps -ef|grep javaps -ef|gerp com.meiya.ma....
分类:
系统相关 时间:
2015-03-06 10:29:05
阅读次数:
293
序号 任务 命令组合 1 删除0字节文件 find . -type f -size 0 -exec rm -rf {} \; find . type f -size 0 -delete 2 查看进程,按内存从大到小排列 ps -e -o “%C : %p : %z : %a”|sort -k5 -nr 3 按cpu利用率从...
分类:
系统相关 时间:
2015-03-05 13:09:38
阅读次数:
155
使用nagios监控被监控服务器上的某一程序,脚本通过查看进程状态返回状态值,并传送给nagios,来达到监控目的。nagios每个插件监控会返回以下状态值,我只用到了0、1、2使用nagios监控被监控服务器上的某一程序,脚本通过查看进程状态返回状态值,并传送给nagios,来达到监控目..
分类:
移动开发 时间:
2015-03-04 19:32:14
阅读次数:
166
增加一个虚IP: ifconfig eth0:1 192.168.0.1 netmask 255.255.255.0 删除虚IP: ip addr del 192.168.0.1 dev eth0 Linux查看进程的所有子进程和线程 得到进程的pid: ps -ef | grep process_name | grep -v "gr...
分类:
系统相关 时间:
2015-03-03 23:47:50
阅读次数:
433
1) 查看进程的方法:ps -ef或者ps auxroot 15087 0.0 0.0 0 0 ? S 23:31 0:00 [kworker/1:1]root 15219 0.0 0.0 0 0 ? S 23:36 0:00 [kworker/1:0]r...
分类:
系统相关 时间:
2015-02-25 16:56:46
阅读次数:
214