Operating System - HP-UX
1753425 Members
5244 Online
108793 Solutions
New Discussion юеВ

Asking regarding GlobalMemoryStatus

 
SOLVED
Go to solution
yck
Advisor

Asking regarding GlobalMemoryStatus

Hi all,

I'm handle a project regarding remove mainwin dependencies and this cause many problem. As title, GlobalMemoryStatus is Microsoft Specified function and it cannot be use in HPUX. As this happen, could anyone give me any solution or suggestion that solve my problem? Or is that any HPUX function that can replace GlobalMemoryStatus?

Thanks.
ck
4 REPLIES 4
Martin Johnson
Honored Contributor

Re: Asking regarding GlobalMemoryStatus

I am not sure exactly what you are looking for. For memory information use the vmstat command. Do a "man vmstat" to get more information on how to run the command.

Hope this helps,
Marty
yck
Advisor

Re: Asking regarding GlobalMemoryStatus

As I know, vmstat only use in command line but not in runtime mode. GlobalMemoryStatus is a Microsoft Specified command which will gather all memory information and the result will be keep in a structure,
But I don't know whether HPUX do provide this kind of function or not?
ck
Michael Tully
Honored Contributor

Re: Asking regarding GlobalMemoryStatus

Hi,

I would suggest that you look into using the
'glance Plus Pak'. If you haven't installed it
there is a 60 day free license you can use.
I has a number of features within it to either
monitor these types of statistical information
or the ability to extract it through reporting
commands into various formats.

You can view the manuals on-line here:
http://ovweb.external.hp.com/lpe/doc_serv/

HTH
~Michael~

Anyone for a Mutiny ?
Olav Baadsvik
Esteemed Contributor
Solution

Re: Asking regarding GlobalMemoryStatus


Hi,

If I understand you correctly you want
to obtain info about the system programatically. If that is the case I would
advise you to take a look at the pstat functsions. They may be used to get all kinds
of info.

Start with man pstat
and you will find the info you need.

Regards
Olav