- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: memory graph
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
Discussions
Forums
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
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
тАО01-18-2004 09:43 PM
тАО01-18-2004 09:43 PM
memory graph
I need to be able to produce a graph listing memory memory usage by application.
i have glance plus and measureware, but not perfview, i can not seem to find a way of listing per application only per process.
has anyone got any ideas, apps that might help or suggestions.
regards
andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2004 10:03 PM
тАО01-18-2004 10:03 PM
Re: memory graph
Then you still can use the ps command. But if your number of processes are dynamic you better grep on a user. (are all processes running on the same user_id for one apps and this user is not used for other apps?)
exampl:
ps -elf | grep user | awk 'BEGIN {total=0} { total+=$10 } END {printf "Total=%u\n",total}'
Gives total mem per user
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2004 10:15 PM
тАО01-18-2004 10:15 PM
Re: memory graph
regards
andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2004 10:22 PM
тАО01-18-2004 10:22 PM
Re: memory graph
You want to draw a graph on a time scale.
Just schedule a script that collects the data for example every 5 minutes.
If more then one account is used for 1 application, copy my example multiple times in this script and sum the results of each line. put the date/time together withe result in a comma seperated file and import this in Excel and draw your graph.
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2004 10:23 PM
тАО01-18-2004 10:23 PM
Re: memory graph
Run the ps as specified for a range of users:
"for i in user user2 user3....
do
done
>> /var/combined_user_ouput"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2004 07:32 AM
тАО01-19-2004 07:32 AM
Re: memory graph
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2004 07:41 AM
тАО01-19-2004 07:41 AM
Re: memory graph
Once you defined the application as stated by Bill using the examples from /var/opt/perf/parm file, you can get the metrics corresponding them by using the "extract" command. It's an easy interface and has "guide" option that can take you through the process. During the process it will ask you to create a template file. If you specified default options, it will create a file called "myrept" with all the available metrics but commented out by a "*". You need to uncomment the metrics you need. Search for "APPLICATION" in that file. For ex.,
DATE
TIME
APP_NAME
APP_CPU_TOTAL_UTIL
APP_MEM_RES
etc.,
-Sri