晨风

-------------------- 业精于勤,荒于嬉;行成于思,毁于随

导航

01 2022 档案

摘要:系统当前open file总数 lsof -Ki|wc -l 查看某个pid的open files数量 #以下命令需要减1,因为多了个列头lsof -p [pid]|wc -l lsof -Ki|grep [pid]|wc -l 也可以通过系统快照进行查看(第一列是总数,第二列是申请了没使用的数量, 阅读全文

posted @ 2022-01-18 09:55 shenyixin 阅读(1052) 评论(0) 推荐(0) 编辑

摘要:方法 IPV4: curl 'https://api4.ipify.org?format=json' 返回值: {"ip":"123.172.54.45"} IPV6: curl 'https://api6.ipify.org?format=json' 返回值: {"ip":"2001:bc8:12 阅读全文

posted @ 2022-01-17 23:23 shenyixin 阅读(2001) 评论(0) 推荐(0) 编辑