Re: (PM) show sessions | grep username

Jose (jadiel@thevision.net)
Tue, 27 Jan 1998 09:18:52 -0800

Your radius detail file should be able to tell you.

-----Original Message-----
From: Chris Parker <cparker@starnetusa.net>
To: Rick Wagner <rick@foothill.net>
Cc: portmaster-users@livingston.com <portmaster-users@livingston.com>
Date: Tuesday, January 27, 1998 5:19 AM
Subject: Re: (PM) show sessions | grep username

At 05:54 PM 1/26/98 -0800, Rick Wagner wrote:
>Maybe this exists and I just havent figured it out yet.. But is there a way
>to search through 300 ports and find out if just a particular user is
>online or watch to see whats happening ? It gets harder and harder to try
>and see whats going on when trying to help diagnose customers that claim
>they are online but cant get any traffic...
>
>
>sho ses | grep username would be great

You should look into the program called 'pmwho'. It can connect to a
large number of pm's and output the 'sho ses' info.

It is a compiled c proggy that telnets to a specified list of pm's and
does a 'show session' on them, returning the output to the screen.

You can find a copy at:

http://web.sltic.com/~pmgraph/scripts/radius.html

If you or anyone else is interested, I've modified pmwho to merge the
output of 'sho ses' with 'sho mod' so you can see connect rate info
instead of the assigned IP. I also added a command line switch to let
you search for a pattern in the username's and only print those that
match. It works fine on a Solaris box, but it should work fairly easily
on other platforms.

If you are interested, email me privately, and if there is enough interest
I'll put the source up on the web, and post the URL back to the list.

-Chris

--
   \\\|||///  \  Chris Parker:    Systems Administration and Development
   \ ~   ~ /   \    StarNet, Inc.       \      http://www.starnetusa.net
   | @   @ |    \     (847)963-0116      \    mailto:cparker@megapop.net
oOo---(_)---oOo--\------------------------------------------------------
   TANSTAAFL      \ Wholesale Internet Services - http://www.megapop.net

- To unsubscribe, email 'majordomo@livingston.com' with 'unsubscribe portmaster-users' in the body of the message.

- To unsubscribe, email 'majordomo@livingston.com' with 'unsubscribe portmaster-users' in the body of the message.