<?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: How to know How many users are working on the system? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-how-many-users-are-working-on-the-system/m-p/3491195#M214925</link>
    <description>Rveri, One thing to keep in mind is that you *don't* want Oracle Systems processes included in what you're looking for ...&lt;BR /&gt;&lt;BR /&gt;select *&lt;BR /&gt;FROM v$session s&lt;BR /&gt;WHERE (s.username IS NOT NULL)&lt;BR /&gt;     AND (NVL (s.osuser, 'x') &amp;lt;&amp;gt; 'SYSTEM')&lt;BR /&gt;     AND (s.TYPE &amp;lt;&amp;gt; 'BACKGROUND');&lt;BR /&gt;&lt;BR /&gt;Then you can work from the resulting set of data - watching in particular the columns for &lt;BR /&gt;username, osuser, machine, module, program, process, action ...</description>
    <pubDate>Thu, 24 Feb 2005 10:50:06 GMT</pubDate>
    <dc:creator>TwoProc</dc:creator>
    <dc:date>2005-02-24T10:50:06Z</dc:date>
    <item>
      <title>How to know How many users are working on the system?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-how-many-users-are-working-on-the-system/m-p/3491188#M214918</link>
      <description>I'm hoping someone can tell me , how to know that How many active users are working on the system [ non unix users I mean like oracle , SAP etc users].&lt;BR /&gt;&lt;BR /&gt;I wanted to know , how a system administrator can comes to know how many oracle or SAP or users are logged and working/using the system.&lt;BR /&gt;&lt;BR /&gt;Is there any way to find out that.&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance.&lt;BR /&gt;&lt;BR /&gt;RVeri.&lt;BR /&gt;-------&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Feb 2005 17:20:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-how-many-users-are-working-on-the-system/m-p/3491188#M214918</guid>
      <dc:creator>rveri</dc:creator>
      <dc:date>2005-02-22T17:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to know How many users are working on the system?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-how-many-users-are-working-on-the-system/m-p/3491189#M214919</link>
      <description>If your users are direct Oracle connections (no middle tiers in between) - you can just start by examining everything in v$session.  &lt;BR /&gt;You should be able to make criteria based on machine locations - users names, etc. from &lt;BR /&gt;"select * from v$session" pretty easily.  If however, you've got a middle tier which is going to "re-handle" the logins for you - well it would be best to visit the SAP support site for the query to give that answer.  You should probably do both as a matter of course anyways.</description>
      <pubDate>Tue, 22 Feb 2005 17:27:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-how-many-users-are-working-on-the-system/m-p/3491189#M214919</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-02-22T17:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to know How many users are working on the system?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-how-many-users-are-working-on-the-system/m-p/3491190#M214920</link>
      <description>use who for unix logins...who -HT will give you idle time also.&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Tue, 22 Feb 2005 17:41:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-how-many-users-are-working-on-the-system/m-p/3491190#M214920</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2005-02-22T17:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to know How many users are working on the system?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-how-many-users-are-working-on-the-system/m-p/3491191#M214921</link>
      <description>who | wc -l&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Feb 2005 17:45:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-how-many-users-are-working-on-the-system/m-p/3491191#M214921</guid>
      <dc:creator>Robert Bennett_3</dc:creator>
      <dc:date>2005-02-22T17:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to know How many users are working on the system?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-how-many-users-are-working-on-the-system/m-p/3491192#M214922</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;Try this&lt;BR /&gt;last | grep still | wc -l&lt;BR /&gt;&lt;BR /&gt;/Michael&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Feb 2005 09:05:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-how-many-users-are-working-on-the-system/m-p/3491192#M214922</guid>
      <dc:creator>Michael Palmgren</dc:creator>
      <dc:date>2005-02-24T09:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to know How many users are working on the system?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-how-many-users-are-working-on-the-system/m-p/3491193#M214923</link>
      <description>uptime&lt;BR /&gt;;-)&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Thierry.</description>
      <pubDate>Thu, 24 Feb 2005 09:17:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-how-many-users-are-working-on-the-system/m-p/3491193#M214923</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2005-02-24T09:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to know How many users are working on the system?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-how-many-users-are-working-on-the-system/m-p/3491194#M214924</link>
      <description>Hi,&lt;BR /&gt;the command&lt;BR /&gt;ps -ef |awk -F' ' '{print $1}' | grep -v UID | sort -u&lt;BR /&gt;will list all the userids of processes running.&lt;BR /&gt;If you want to know how many oracle owned processes are running for example:&lt;BR /&gt;ps -ef | grep oracle | grep -v grep | wc -l&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Thu, 24 Feb 2005 09:34:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-how-many-users-are-working-on-the-system/m-p/3491194#M214924</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-02-24T09:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to know How many users are working on the system?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-how-many-users-are-working-on-the-system/m-p/3491195#M214925</link>
      <description>Rveri, One thing to keep in mind is that you *don't* want Oracle Systems processes included in what you're looking for ...&lt;BR /&gt;&lt;BR /&gt;select *&lt;BR /&gt;FROM v$session s&lt;BR /&gt;WHERE (s.username IS NOT NULL)&lt;BR /&gt;     AND (NVL (s.osuser, 'x') &amp;lt;&amp;gt; 'SYSTEM')&lt;BR /&gt;     AND (s.TYPE &amp;lt;&amp;gt; 'BACKGROUND');&lt;BR /&gt;&lt;BR /&gt;Then you can work from the resulting set of data - watching in particular the columns for &lt;BR /&gt;username, osuser, machine, module, program, process, action ...</description>
      <pubDate>Thu, 24 Feb 2005 10:50:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-how-many-users-are-working-on-the-system/m-p/3491195#M214925</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-02-24T10:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to know How many users are working on the system?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-how-many-users-are-working-on-the-system/m-p/3491196#M214926</link>
      <description>Hi Rveri,&lt;BR /&gt;&lt;BR /&gt;netstat -a |grep -i established &lt;BR /&gt;&lt;BR /&gt;Will give you number of established sessions.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;BL&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Feb 2005 12:41:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-how-many-users-are-working-on-the-system/m-p/3491196#M214926</guid>
      <dc:creator>baiju_3</dc:creator>
      <dc:date>2005-02-24T12:41:37Z</dc:date>
    </item>
  </channel>
</rss>

