Operating System - HP-UX
1833053 Members
2551 Online
110049 Solutions
New Discussion

Re: Strange gbl_swap_space_util

 
Arturo Galbiati
Esteemed Contributor

Strange gbl_swap_space_util

I'm monitoring the system resources on mu hp-ux1i by this simple script:

GlnCmd=/opt/perf/bin/glance
GlnOpt=-j10 -adviser_only -nosort -iterations 2 -bootup -syntax ./gln_syntax_file1

where file gln_syntax_file1 contains:
print "-- ", gbl_statdate, " ", gbl_stattime, " ",
gbl_cpu_total_util, " ",
gbl_disk_util_peak, " ",
gbl_mem_util, " ",
gbl_swap_space_util


Starting from 2 days ago I get in ouput:
$GlnCmd $GlnOpt


Welcome to GlancePlus


-- 06/22/06 10:10:01 0.0 0.0 83.0 -14m
-- 06/22/06 10:10:01 0.0 0.0 83.0 -14m

what -14m means?

TIA,
Art
2 REPLIES 2
spex
Honored Contributor

Re: Strange gbl_swap_space_util

Art,

It's most likely a terminal escape sequence. Here's a little hack to get rid of it:

$ GlnCmd ./GlnOpt | sed 's/ -14m//'

What terminal emmulator are you using?

PCS
Arturo Galbiati
Esteemed Contributor

Re: Strange gbl_swap_space_util

Hi,
is not a problem related to the environemnt, because I forget to add that now the script run fine and retruns 70 as glb_swap_space_util.
So really don't know why the script retunrns for some time -14m instead of the rigth value 70.
Rgds,
Art