<?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 users logging on a nerwork in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/users-logging-on-a-nerwork/m-p/3251395#M175437</link>
    <description>this script checks every 10 sec if one or more users are logged on. the script reports when all the users ( in a specific group) are log on togather, and then stops. &lt;BR /&gt;first i want to know if it works??&lt;BR /&gt;second how to make it better?&lt;BR /&gt;* the script is in tcsh.&lt;BR /&gt;please contact me as soon as possible!&lt;BR /&gt;&lt;BR /&gt;#!/bin/tcsh&lt;BR /&gt;&lt;BR /&gt;if (!$#argv) then&lt;BR /&gt;echo error&lt;BR /&gt;exit 1&lt;BR /&gt;endif&lt;BR /&gt;&lt;BR /&gt;set w= (`who | grep #argv[*]`)&lt;BR /&gt;if ($#w==$argv[*]) then&lt;BR /&gt;echo $argv[*] log on&lt;BR /&gt;&lt;BR /&gt;else&lt;BR /&gt;echo $argv[*] not log on&lt;BR /&gt;endif&lt;BR /&gt;sleep 10&lt;BR /&gt;exit&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sun, 18 Apr 2004 12:14:55 GMT</pubDate>
    <dc:creator>mo jaber</dc:creator>
    <dc:date>2004-04-18T12:14:55Z</dc:date>
    <item>
      <title>users logging on a nerwork</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-logging-on-a-nerwork/m-p/3251395#M175437</link>
      <description>this script checks every 10 sec if one or more users are logged on. the script reports when all the users ( in a specific group) are log on togather, and then stops. &lt;BR /&gt;first i want to know if it works??&lt;BR /&gt;second how to make it better?&lt;BR /&gt;* the script is in tcsh.&lt;BR /&gt;please contact me as soon as possible!&lt;BR /&gt;&lt;BR /&gt;#!/bin/tcsh&lt;BR /&gt;&lt;BR /&gt;if (!$#argv) then&lt;BR /&gt;echo error&lt;BR /&gt;exit 1&lt;BR /&gt;endif&lt;BR /&gt;&lt;BR /&gt;set w= (`who | grep #argv[*]`)&lt;BR /&gt;if ($#w==$argv[*]) then&lt;BR /&gt;echo $argv[*] log on&lt;BR /&gt;&lt;BR /&gt;else&lt;BR /&gt;echo $argv[*] not log on&lt;BR /&gt;endif&lt;BR /&gt;sleep 10&lt;BR /&gt;exit&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 18 Apr 2004 12:14:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-logging-on-a-nerwork/m-p/3251395#M175437</guid>
      <dc:creator>mo jaber</dc:creator>
      <dc:date>2004-04-18T12:14:55Z</dc:date>
    </item>
  </channel>
</rss>

