Networker

Re: [Networker] No of Session server is actively busy with

2005-07-27 07:40:44
Subject: Re: [Networker] No of Session server is actively busy with
From: "Krishnan, Ramamurthy" <Ramamurthy.Krishnan AT KPMG.CO DOT UK>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 27 Jul 2005 12:39:29 +0100
If you just want the number of sessions and are ok to use nsradmin, here
is the way:

- Create a file, say "sessions" and type in the following:
        . Type: NSR
        show session
        print
        quit
and save the file

-  From within the script run
        sessions=`/usr/sbin/nsradmin -i sessions | grep -vi current | wc
-l`
        echo "$sessions"

When run periodically, this should give you the number of sessions
running on the NetWorker server.

HTH

Rgds, ram.


-----Original Message-----
From: Legato NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU]
On Behalf Of Riaan Louwrens
Sent: 27 July 2005 12:02
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: Re: [Networker] No of Session server is actively busy with

Hi again,

Thanks for the reply, but, 

The problem is that the daemon.log is not very helpful in this case (I
have looked at it).

It lists the actual savesets it is busy with - which is what you get if
you do a nsradmin query with the "session" resource (I am looking for a
"number").

Same problem as a nsradmin query - it as well doesn't list them only
once (2 minutes later it lists whatever it is busy with at that moment
again) - which could be the same savesets (and we are talking a lot of
them) - which makes trying to count them manually, impossible. (This
would all be fine if it was a number) ..

We are trying to prove (hopefully faultfind) that Legato is falling over
- which is very difficult to do if your server stats show that the
server isn't actually working hard (lots of swap, lots of available cpu
etc).

T'would be ideal to have a scenario where we can prove that over 40
sessions it goes belly up and at 35 sessions it is still fine... I
realise that a nsradmin query will put load on it - but this is the only
way to script something to run every half an hour over a period of time
(in conjunction with the system stat tools). I definitely don't want to
sit there counting savesets for 2 days ... 

<sigh>

TIA

Riaan

--
Note: To sign off this list, send a "signoff networker" command via
email to listserv AT listserv.temple DOT edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can also
view and post messages to the list. Questions regarding this list should
be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=




This email has been sent from KPMG LLP, a UK limited liability partnership, or 
from one of the companies within its control (which include KPMG Audit Plc , 
KPMG United Kingdom Plc and KPMG UK Limited). The information in this email is 
confidential and may be legally privileged. It is intended solely for the 
addressee.  Access to this email by anyone else is unauthorised.  If you are 
not the intended recipient, any disclosure, copying, distribution or any action 
taken or omitted to be taken in reliance on it, is prohibited and may be 
unlawful.  When addressed to our clients any opinions or advice contained in 
this email are subject to the terms and conditions expressed in the governing 
KPMG client engagement letter.

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listserv.temple DOT edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
also view and post messages to the list. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=