Operating System - HP-UX
1837176 Members
2601 Online
110113 Solutions
New Discussion

sarcheck - how to get gnuplot to make png or jpeg

 
SOLVED
Go to solution
Geoff Wild
Honored Contributor

sarcheck - how to get gnuplot to make png or jpeg

Currently evaluating sarcheck...but...I want pictures...so I installed the following depots:

freetype-2.1.9-sd-11.11.depot
zlib-1.2.1-sd-11.11.depot
gd-2.0.33-sd-11.11.depot
libiconv-1.9.2-sd-11.11.depot
libpng-1.2.7-sd-11.11.depot
xpm-3.4k-sd-11.11.depot
jpeg-6b-sd-11.11.depot
gettext-0.14.1-sd-11.11.depot
fontconfig-2.3.0-sd-11.11.depot
expat-1.95.8-sd-11.11.depot
gnuplot-4.0.0-sd-11.11.depot

I then run:

/opt/sarcheck/bin/analyze9000 -html -png /var/adm/sa/sar03 > /tmp/20050504.html

But it errors:

gnuplot> set terminal png color #default
^
"/tmp/cpuscript", line 1: unknown or ambiguous terminal type; type just 'set terminal' for a list


gnuplot> set terminal png color #default
^
"/tmp/inodescript", line 1: unknown or ambiguous terminal type; type just 'set terminal' for a list


gnuplot> set terminal png color #default
^
"/tmp/ofilescript", line 1: unknown or ambiguous terminal type; type just 'set terminal' for a list


gnuplot> set terminal png color #default
^
"/tmp/swpotscript", line 1: unknown or ambiguous terminal type; type just 'set terminal' for a list


gnuplot> set terminal png color #default
^
"/tmp/capplanscript", line 1: unknown or ambiguous terminal type; type just 'set terminal' for a list


gnuplot> set terminal png color #default
^
"/tmp/dkbusyscript", line 1: unknown or ambiguous terminal type; type just 'set terminal' for a list


When I go into gnuplot manually, and enter "set terminal" - there is NO png nor jpeg option.

Any ideas?

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: sarcheck - how to get gnuplot to make png or jpeg

Are you sure the version of gnuplot is current/correct?

Did you check the pre-requisites of your pre-requisites.

I know, its worse than Linux rpm hell, but I've had that happen to me.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Geoff Wild
Honored Contributor

Re: sarcheck - how to get gnuplot to make png or jpeg

Looks like it is most recent version:

http://hpux.ee.ualberta.ca/hppd/hpux/Development/Tools/gnuplot-4.0.0/

Going to try a version from sarcheck themselves:

http://www.sarcheck.com/gnuplot/

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Geoff Wild
Honored Contributor

Re: sarcheck - how to get gnuplot to make png or jpeg

Interesting - their version works - and is older:

# gnuplot

G N U P L O T
Unix version 3.7
patchlevel 1
last modified Fri Oct 22 18:00:00 BST 1999

Copyright(C) 1986 - 1993, 1998, 1999
Thomas Williams, Colin Kelley and many others

Type `help` to access the on-line reference manual
The gnuplot FAQ is available from
<>

Send comments and requests for help to
Send bugs, suggestions and mods to



# gnuplot.bak

G N U P L O T
Version 4.0 patchlevel 0
last modified Thu Apr 15 14:44:22 CEST 2004
System: HP-UX B.11.11

Copyright (C) 1986 - 1993, 1998, 2004
Thomas Williams, Colin Kelley and many others

This is gnuplot version 4.0. Please refer to the documentation
for command syntax changes. The old syntax will be accepted
throughout the 4.0 series, but all save files use the new syntax.

Type `help` to access the on-line reference manual.
The gnuplot FAQ is available from
http://www.gnuplot.info/faq/

Send comments and requests for help to

Send bugs, suggestions and mods to



Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Bill Hassell
Honored Contributor
Solution

Re: sarcheck - how to get gnuplot to make png or jpeg

I ran into this problem last year and worked with the folks at Aptitune (SarCheck authors) to create the GnuPlot package on their site. I tried several workarounds to get the current version to work but I think it has something to do with the PNG file type and getting GnuPlot to understand additional file types.


Bill Hassell, sysadmin
Geoff Wild
Honored Contributor

Re: sarcheck - how to get gnuplot to make png or jpeg

Thanks Bill - I see your name on their site.

Would it be safe for me to swremove the depots I installed above? I don't like having software on the system unless I need it.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Bill Hassell
Honored Contributor

Re: sarcheck - how to get gnuplot to make png or jpeg

Yes. Originally, Aptitune bundled a pre-built GnuPlot with a special packaging program (RTR, not software distributor) and it took a bit to cleanup afterwards. The instructions tell how to put everything in /opt, but the open version scatters things in /usr/local without an uninstall procedure.


Bill Hassell, sysadmin
Geoff Wild
Honored Contributor

Re: sarcheck - how to get gnuplot to make png or jpeg

The GNUPlot from sarcheck (with help from Bill) fixed my issue.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.