glance => network util variable?


 
Thread Tools Search this Thread
Operating Systems HP-UX glance => network util variable?
# 1  
Old 02-22-2012
glance => network util variable?

Hi,

I'm creating a preventive maintenance script (automated) and I would like to get the cpu, mem, disk & network stats which you get when running glance as an output of a command so I can use it in my script

I made some progress though:

this is the command I use
Code:
glance -aos /advp/home/advpus/OSS/PM/glance.syn -iterations 5 -j 1 >/advp/home/advpus/OSS/PM/glance.op 2> /dev/null

this is the content of /advp/home/advpus/OSS/PM/glance.syn
Code:
print "CPU total:",gbl_cpu_total_util_cum|3|0,"% Mem Consumption:",gbl_mem_util_cum|3|0,"% Disk Util:",gbl_disk_util_peak_cum|3|0,"% Network Util:",?????????|3|0,"%"

Now everything is working fine, I get the values for CPU, memory and disk but the variable I'm missing (?????????) is the one that is used to indicate the network utilistation.

Anybody any idea which one is used?

Cheers
B
Moderator's Comments:
Mod Comment How to use code tags

Last edited by vbe; 02-22-2012 at 10:06 AM..
# 2  
Old 02-22-2012
Perhaps gbl_net_packet_rate

You can examples of glance in /opt/perf/examples/adviser

Hope that helps
Regards
Peasant.
# 3  
Old 02-22-2012
hi,

nope that's not the one (tried that one already)

can't seem to find anything back in the examples neither

is there a way to find back which variables are used in the default glance view?

Cheers
b
# 4  
Old 02-22-2012
Unfortunately, i have never used glance so extensively.

How can you tell that it's not the one ?
# 5  
Old 02-23-2012
I tested it, value doesn't match what the Network Util shows in the default glance view

Cheers
B
# 6  
Old 02-23-2012
I have found something online related
http://h21007.www2.hp.com/portal/dow...PakPerform.pdf

Search for symptom Network_Bottleneck inside the document

Hope that helps
Regards
Peasant.
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Grep util last occurrence

I have file contents /tmp/x/abc.txt /home/bin/backup/sys/a.log I need this output: /tmp/x/ /home/bin/backup/sys/ Can somebody please help me out Please use CODE tags as required by forum rules! (3 Replies)
Discussion started by: jhonnyrip
3 Replies

2. HP-UX

find memory util statics using sar on HP-UX

I have configured "sar" to collect 10 mins statistics on B.11.31 U ia64 Can any expert help me to find Memory utilization statics like we have in linux # sar -r .... > 12:00:01 AM kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit 12:10:01 AM 24772 219552... (1 Reply)
Discussion started by: Shirishlnx
1 Replies

3. UNIX for Dummies Questions & Answers

command line util to convert mm to inches etc?

There must be a command line utility to convert metric -> us, mm to inches etc, but I don't remember seeing it. Any suggestions? Anything in the repositories? Thx. (4 Replies)
Discussion started by: koodawg
4 Replies

4. Red Hat

util-linux upgrade with interruption?

Hi All, I have util-linux upgrade that I need to do on redhat 4 ent. Does this going to interruption with the operation of the OS or application? Or this will be straight forward upgrade that will not make a harm or downtime of the OS. Thank you for any comments you may add. (3 Replies)
Discussion started by: itik
3 Replies

5. Shell Programming and Scripting

execute command multithreaded util without programming

Hello all is there any way in unix to execute command in multithreaded way without doing it in java or cpp can one of the scripts handle multithread execution ? i need to test server requests ( corba ) in multithread Thanks (0 Replies)
Discussion started by: umen
0 Replies
Login or Register to Ask a Question