Real Time Ascend Maling List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: (ASCEND) Connection Stats using Mrgt & Finger



Bob,

Here's the script I've been using:

#!/bin/sh
HOSTS="max-01 max-02 max-03 ... max-nn"
COUNT=0
for foo in $HOSTS ; do
        TMP=`finger -T @$foo | cut -f3 -d\ | grep : |wc -l`
        COUNT=`expr $COUNT + $TMP`
done

echo $COUNT
echo $COUNT
echo 0
echo All Ports





** -----Original Message-----
** From: owner-ascend-users@max.bungi.com
** [mailto:owner-ascend-users@max.bungi.com]On Behalf Of Bob Bradlee
** Sent: Wednesday, December 08, 1999 12:12 PM
** To: Ascend Users
** Subject: (ASCEND) Connection Stats using Mrgt & Finger
** 
** 
** Long, Long Ago, Far, Far, Away, in my fading memory, I seem to
** recall someone on this list had worked out a finger to Mrgt
** script to chart the number of active connections on a max. 
** 
** If someone with better short term memory than I could point
** me in the right direction, I would be very grateful.
** 
** Thanks in advance.
** Bob
** 
** -- 
** 
** * Bob Bradlee      Lord High Fixer    Technologist and Consultant * 
** * Bob@Cave.net     Cave Network Group  Senior Partner & Sys Admin *
** * Bob@Bradlee.org  Bradlee Genealogical Society  Founder & Scribe *
** ++ Ascend Users Mailing List ++
** To unsubscribe:	send unsubscribe to ascend-users-request@bungi.com
** To get FAQ'd:	<http://www.nealis.net/ascend/faq>
** 
++ Ascend Users Mailing List ++
To unsubscribe:	send unsubscribe to ascend-users-request@bungi.com
To get FAQ'd:	<http://www.nealis.net/ascend/faq>