`
mylove2060
  • 浏览: 330880 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

Linux笔记

阅读更多
1.过滤查看进程ps -ef\grep hexindatacollector

2.查看多个进程ps -au

3.解压缩文件
压缩文件
tar -czvf test.tar.gz *.jpg
tar -cvvf test.tar.gz folder

解压文件
tar -xzvf test.tar.gz


4.http post请求数据
curl 'http://172.20.0.222:81/stockindex' -d 'method=stockindex&code=600000&datatype=zgb&datetime=16384(20120215-20120215)&post=100&type=2'

5.看端口监听状态
netstat -anlp | grep 443

6.查看是否安装gdb
rpm -qa |grep gdb

7.调试看程序挂掉堆栈信息
-rf f  //调试
bt//堆栈信息

8.删除10天前的数据
find /tmp -mtime +10 -type f -exec rm -f {} \;


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics