<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: lsof question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-question/m-p/5016588#M427561</link>
    <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I think you meant 'lsof -u &lt;USERNAME&gt;'.  How about:&lt;BR /&gt;&lt;BR /&gt;# lsof -u user1 | wc -l&lt;BR /&gt;for a count of user1's open files, and&lt;BR /&gt;&lt;BR /&gt;# lsof | wc -l&lt;BR /&gt;for a system-wide count?&lt;BR /&gt;&lt;BR /&gt;PCS&lt;/USERNAME&gt;</description>
    <pubDate>Fri, 01 Dec 2006 13:52:04 GMT</pubDate>
    <dc:creator>spex</dc:creator>
    <dc:date>2006-12-01T13:52:04Z</dc:date>
    <item>
      <title>lsof question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-question/m-p/5016586#M427559</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I have a need to use lsof to list open files for a specific user on my PA-RISC HP-UX 11.11 box.  &lt;BR /&gt;&lt;BR /&gt;I know if I use the fuser -u &lt;USERNAME or="" pid=""&gt;, that will show the open files that user has.  Is there an option using lsof that gives you the actual amount of open files, because that's what I'm really after here.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;KPS&lt;/USERNAME&gt;</description>
      <pubDate>Fri, 01 Dec 2006 13:46:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-question/m-p/5016586#M427559</guid>
      <dc:creator>KPS</dc:creator>
      <dc:date>2006-12-01T13:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: lsof question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-question/m-p/5016587#M427560</link>
      <description>lsof -u username will list the open files by that user...so if you do the following:&lt;BR /&gt;&lt;BR /&gt;# lsof -u username |wc -l  &lt;BR /&gt;&lt;BR /&gt;That will give you the number of files opened by a particular user.  Is that what you were looking for?</description>
      <pubDate>Fri, 01 Dec 2006 13:50:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-question/m-p/5016587#M427560</guid>
      <dc:creator>Coolmar</dc:creator>
      <dc:date>2006-12-01T13:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: lsof question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-question/m-p/5016588#M427561</link>
      <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I think you meant 'lsof -u &lt;USERNAME&gt;'.  How about:&lt;BR /&gt;&lt;BR /&gt;# lsof -u user1 | wc -l&lt;BR /&gt;for a count of user1's open files, and&lt;BR /&gt;&lt;BR /&gt;# lsof | wc -l&lt;BR /&gt;for a system-wide count?&lt;BR /&gt;&lt;BR /&gt;PCS&lt;/USERNAME&gt;</description>
      <pubDate>Fri, 01 Dec 2006 13:52:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-question/m-p/5016588#M427561</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2006-12-01T13:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: lsof question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-question/m-p/5016589#M427562</link>
      <description>lsof takes the same option as fuser...&lt;BR /&gt;&lt;BR /&gt;# lsof -u &lt;USERNAME&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Fri, 01 Dec 2006 13:53:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-question/m-p/5016589#M427562</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2006-12-01T13:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: lsof question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-question/m-p/5016590#M427563</link>
      <description>friend &lt;BR /&gt;lsof |grep process name</description>
      <pubDate>Fri, 01 Dec 2006 13:56:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-question/m-p/5016590#M427563</guid>
      <dc:creator>Calandrello</dc:creator>
      <dc:date>2006-12-01T13:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: lsof question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-question/m-p/5016591#M427564</link>
      <description>Thanks everyone, piping this to a wc -l is the way to go.   Thanks!</description>
      <pubDate>Fri, 01 Dec 2006 13:57:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-question/m-p/5016591#M427564</guid>
      <dc:creator>KPS</dc:creator>
      <dc:date>2006-12-01T13:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: lsof question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-question/m-p/5016592#M427565</link>
      <description>fuser(1M):&lt;BR /&gt;           -u   Display the login user name in parentheses following each&lt;BR /&gt;                process ID.&lt;BR /&gt;&lt;BR /&gt;lsof(8):&lt;BR /&gt;      -u s     This option selects the listing of files for the user whose&lt;BR /&gt;               login names or user ID numbers are in the comma-separated set&lt;BR /&gt;               s - e.g., ``abe'', or ``548,root''.  (There should be no&lt;BR /&gt;               spaces in the set.)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Dec 2006 14:00:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-question/m-p/5016592#M427565</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2006-12-01T14:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: lsof question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-question/m-p/5016593#M427566</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;Would you be so kind as to assign points to any that helped you.&lt;BR /&gt;:0)</description>
      <pubDate>Fri, 01 Dec 2006 14:11:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-question/m-p/5016593#M427566</guid>
      <dc:creator>Coolmar</dc:creator>
      <dc:date>2006-12-01T14:11:43Z</dc:date>
    </item>
  </channel>
</rss>

