1834216 Members
3024 Online
110066 Solutions
New Discussion

glance

 
SOLVED
Go to solution
j773303
Super Advisor

glance

Can glance output a report file about cpu info or memory info and so on? Thanks.
Hero
5 REPLIES 5
Anand_20
Advisor

Re: glance

Hi,

glance gives the CPU and Memory Usage; to know about the cpu info, Memory Information you can sysinfo.

Pl. view attachment..

Anand
Shaikh Imran
Honored Contributor

Re: glance

HI,
Ofcourse Yes it is the performance measuring tool used for checking the bottleneck of CPU,
Memory& Disks.

You can also use sar and redirect the output to a file & vmstat for memory.

Regards
I'll sleep when i am dead.
Hoefnix
Honored Contributor

Re: glance

Hi,

If you like to have reports over a long period of time you could better use vmstat

I attached a script that gathers info every 2 seconds, but you can change that to fit your own needs.

It creates an output file in /tmp which you can import in a spreadsheet an draw graph with this.

HTH,
Peter
Sridhar Bhaskarla
Honored Contributor

Re: glance

Hi,

For simple configuration data, yes Glance can get that information. Put the following in a file

print "OS :",GBL_OSNAME
print "OS RELEASE :",GBL_OSRELEASE
print "OS VERSION :",GBL_OSVERSION
print "NUMBER OF CPUS :",GBL_NUM_CPU
print "MODEL :",GBL_MACHINE_MODEL
print "KERNETL BIT TYPE :",GBL_OSKERNELTYPE_INT
print "TOTAL MEMORY :",GBL_MEM_PHYS

and run

$glance -iterations 1 -j1 -adviser_only -syntax your_file

and see what you get.

For performance data, put the following
print "TOtal CPU Utilization :", GBL_CPU_TOTAL_UTIL
print "TOtal Disk Physical IO Rate:", GBL_DISK_PHYS_IO_RATE
print "Total Memory Used :", GBL_MEM_UTIL
print "Total Network Packaet Rate :", GBL_NET_PACKET_RATE

and run the same command.

The above are only examples. There are quire a few metrics that you can see under /var/opt/perf/reptall file.

If you have measureware, then you can historical data using the command "extract". It is a self-guiding tool and very easy to use. Just invoke and rest is easy.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Trond Haugen
Honored Contributor
Solution

Re: glance

Yes you can. It is a very usefull too when looking at performance. If you considder buying it I would reccomend 'GlancePlus PAK' which will also give you the the ablulity to COLLECT historical data. For more information see: http://www.openview.hp.com/products/gplus/index.html

Regards,
Trond
Regards,
Trond Haugen
LinkedIn