- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Process Accounting (Memory Usage)
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
Forums
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
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
02-14-2003 09:09 AM
02-14-2003 09:09 AM
Process Accounting (Memory Usage)
Thanks in advance!!
Chris Thompson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2003 09:13 AM
02-14-2003 09:13 AM
Re: Process Accounting (Memory Usage)
Hi Chris,
You can use the top command in the HP-UX machines !
Do a man top for more details.
To change the priority and the memory consumption you can run a program using the nice option.
Do a man nice for more details.
Regards,
Ricardo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2003 09:33 AM
02-14-2003 09:33 AM
Re: Process Accounting (Memory Usage)
I'm trying to get the memory at the application/code level inside a C++ program. Top is not going to work in this case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2003 09:40 AM
02-14-2003 09:40 AM
Re: Process Accounting (Memory Usage)
Hi Chris,
You can try to use the system to cal top and so send the output to a file !
Regards,
Ricardo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2003 04:02 PM
02-14-2003 04:02 PM
Re: Process Accounting (Memory Usage)
#include
{
struct mallinfo mi;
mi = mallinfo();
malloc_free_buffer = mi.fordblks;
printf("malloc arena memory is %d bytes\n", mi.arena);
printf("free malloc ordinary buffer memory is %d bytes\n", mi.fordblks);
printf("free malloc small block memory is %d bytes\n", mi.fsmblks);
}