Operating System - HP-UX
1824807 Members
4005 Online
109674 Solutions
New Discussion юеВ

Need command to determine graphics adapter

 
Bryan Munshower
Occasional Advisor

Need command to determine graphics adapter

I need to audit the components of several hpux workstations and am writing a quick script to email myself the output. What I can't seem to find is a simple string to add to the script that will give me details relating to the graphics card (ie: model, memory, etc) I don't want this to be an interactive script so I need all the strings that can accomplish this.
6 REPLIES 6
harry d brown jr
Honored Contributor

Re: Need command to determine graphics adapter

Try xstm first and if you can get the info you want, then try using the cstm command to get it.

live free or die
harry
Live Free or Die
Jeff Schussele
Honored Contributor

Re: Need command to determine graphics adapter

Hi Bryan:

Use
/usr/bin/graphinfo | grep -i -e product -e driver -e memory

That should give you what you're looking for.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Paul Sperry
Honored Contributor

Re: Need command to determine graphics adapter

the xstm utility should give you all the info you need.

Just right click on your graphics card the click information.
Bryan Munshower
Occasional Advisor

Re: Need command to determine graphics adapter

Thanks for the ideas. I don't however have "graphinfo" on any of these boxes. How would I go about using any of the utilities mentioned in Harry's reply?
Paul Sperry
Honored Contributor

Re: Need command to determine graphics adapter

Just type /usr/sbin/xstm
at the command prompt.

If you are not at the console
you will need to export you display.
Jeff Schussele
Honored Contributor

Re: Need command to determine graphics adapter

Hi (again) Bryan,

Do you have graphinfo in
/opt/graphics/common/bin ?

If you don't you should install the
Graphics3DCom.COM-RUN B11.00.06 Common Graphics Run Time Support Files
fileset as it has this command & links it into /usr/bin.
There is also a patch
PHSS_23556
that will give you this command as well.
Sounds like whoever loaded these workstations forgot to load the graphic utilities like this.
It sure would make your job easier.

My 2 cents,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!