<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>lsof - 标签 - cfanzp学习笔记</title>
    <link>https://cfanzp008.github.io/tags/lsof/</link>
    <description>lsof - 标签 - cfanzp学习笔记</description>
    <generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>cfan.zp@qq.com (cfanzp)</managingEditor>
      <webMaster>cfan.zp@qq.com (cfanzp)</webMaster><lastBuildDate>Sun, 14 Jul 2024 18:07:25 &#43;0800</lastBuildDate><atom:link href="https://cfanzp008.github.io/tags/lsof/" rel="self" type="application/rss+xml" /><item>
  <title>[linux命令]lsof</title>
  <link>https://cfanzp008.github.io/linux-cmd-lsof/</link>
  <pubDate>Sun, 14 Jul 2024 18:07:25 &#43;0800</pubDate>
  <author>作者</author>
  <guid>https://cfanzp008.github.io/linux-cmd-lsof/</guid>
  <description><![CDATA[]]></description>
</item>
<item>
  <title>linux查看打开文件情况</title>
  <link>https://cfanzp008.github.io/lsof/</link>
  <pubDate>Fri, 19 Aug 2022 15:57:01 &#43;0800</pubDate>
  <author>作者</author>
  <guid>https://cfanzp008.github.io/lsof/</guid>
  <description><![CDATA[linux查看打开文件情况 查看进程skynet(config.login)的pid 1 2 3 4 5 [root@dev127 login]# ps -ef | grep login root 657 1 0 6月20 ? 00:00:49 /usr/lib/systemd/systemd-logind root 113262 1 8 15:27 ? 00:02:19 /data/myb/sh/../skynet/skynet /data/myb/sh/login/config.login root 113983 107342 0 15:42 pts/4 00:00:02 tail login.20220819.log -f root 114702 112029 0 15:55 pts/2 00:00:00 grep --color=auto login 查看进程能打开的最大文件数目 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 [root@dev127 login]# cat /proc/113262/limits Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unlimited bytes Max data size unlimited unlimited bytes Max stack size 8388608 unlimited bytes Max core file size unlimited unlimited bytes Max resident set unlimited unlimited bytes Max processes 26047 26047 processes Max open files 1024 4096 files Max locked memory 65536 65536 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 26047 26047 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 Max realtime timeout unlimited unlimited us [root@dev127 login]# 参考链接 https://blog.]]></description>
</item>
</channel>
</rss>
