- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to display global counters?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2011 11:11 AM
07-28-2011 11:11 AM
Researching swap/paging memory -- familiar with glance swap screen and swapinfo.
Is there an easy way to fine the values of lotsfree_pct and desfree_pct parameters?
Similar question for global counters like swapspc_max and swapspc_cnt.
I realize some of these values are reflected in the output of swapinfo but wonder if they are accessible directly using adb or another mechanism.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2011 11:41 AM
07-28-2011 11:41 AM
Solutionboth of the swap counters are part of the header file /usr/include/sys/pstat/vm_pstat_body.h
this manual shows source for how to get pstat information. if you're ambitious you should be able to adapt it.
i hope that's what you're asking...
- Tags:
- pstat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2011 12:18 PM
07-28-2011 12:18 PM
Re: How to display global counters?
Was just curious if there was a single command or if scripting was required.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2011 02:37 PM
07-29-2011 02:37 PM
Re: How to display global counters?
>Was just curious if there was a single command or if scripting was required.
Unless perl provides access to pstat(2) details, you'll have to write a C/C++ program.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2011 02:56 PM
07-29-2011 02:56 PM
Re: How to display global counters?
@Dennis Handly wrote:>Was just curious if there was a single command or if scripting was required.
Unless perl provides access to pstat(2) details, you'll have to write a C/C++ program.
HI:
It seems that ca. 11.0 there was a Perl module called HPUX::Pstat that formed/began the basis for getting information from pstat() in Perl. It also seems that the module has not been updated since 2003 :-(
Regards!
...JRF...