Networker

Re: [Networker] How to count concurrent sessions (scripted)

2011-03-15 09:05:06
Subject: Re: [Networker] How to count concurrent sessions (scripted)
From: "Macina, Conrad" <Conrad.Macina AT PFIZER DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Tue, 15 Mar 2011 09:01:15 -0400
On Solaris (or just about any *nix), this command will return a simple
count of the number of active sessions:

echo "show session \n print type:nsr" | nsradmin -i - | wc -l

Conrad Macina
Pfizer, Inc.



-----Original Message-----
From: Will Parsons [mailto:w.parsons AT LEEDS.AC DOT UK] 
Sent: Monday, March 14, 2011 1:14 PM
Subject: How to count concurrent sessions (scripted)

Hi All,

Networker 7.6.0
Solaris10
500ish clients
4,000 save sets a night

We've had some issues over the past few weeks which I've finally pinned 
down to server parallelism being set too low. I've temporarily resolved 
it by adding two storage node licenses and increasing the server 
parallelism from 96 to 160.

Before I spend too long digging through the tools, has anyone already 
got a good command line way to get the number of current sessions that 
NetWorker thinks are running or eligible to run? I'm thinking that 
/usr/sbin/jobquery is my friend here, but I've yet to figure out which 
type and/or status I need to be counting to see how far above "server 
parallelism" I'm asking the system to go.

I know Thierry's got a way to tally up what has happened historically 
(make a very nice display in nsr_reporter), but I'm looking for a 
current sessions count, so that I can figure out if it's server 
parallelism that's stopping the system from progressing. (and dump it in

my database for long term reference)

Many thanks
Will


-- 


w.parsons AT leeds.ac DOT uk
UNIX Support
Information Systems Services
The University of Leeds
+44 113 343 5670

"I'm not against progress, it's the change I do not like" - Mark Twain

To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

<Prev in Thread] Current Thread [Next in Thread>