- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Glance output
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
06-08-2002 05:08 PM
06-08-2002 05:08 PM
Glance output
Whenever I am trying to execute following command line from any shell script then I am getting desired output. But when I am trying to execute the same script from remote shell or cron then I am not getting output.
Command line is.
/opt/perf/bin/glance -j 1 -iterations 2 -i -f /tmp/glance.out > /dev/null 2>&1
Do glannce need any shell during execution ?
Through glance we can measure utilization. Like it showw Mem usage is 60%. But if I want to get same output without glance then how I can get it ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2002 11:04 PM
06-08-2002 11:04 PM
Re: Glance output
#!/usr/bin/ksh
export TERM=hp
/opt/perf/bin/glance -j 1 -iterations 2 -i -f /tmp/glance.out > /dev/null 2>&1
Then run that script file in your cron. That should work for you. The other tool you can use to find out your memory usage is "vmstat". For example ..
# vmstat -n 1 1
==> Look for "avm" and "free" column. It reports in 4kb page size. The approximate free memory would be the value in "free" multiply by 4 gives the result in KBytes. Do a "man vmstat" for details. Using ..
# glance -m
gives you a better breakdown of memory utilization.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 07:14 AM
06-10-2002 07:14 AM
Re: Glance output
Thanks for your reply.
But TERM=hp did not help to resolve the problem.
Thanks.
Regards.
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 07:14 AM
06-10-2002 07:14 AM
Re: Glance output
Thanks for your reply.
But TERM=hp did not help to resolve the problem.
Thanks.
Regards.
Smirjit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 08:11 AM
06-10-2002 08:11 AM
Re: Glance output
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 08:15 AM
06-10-2002 08:15 AM
Re: Glance output
my 2 cents
-- Rod Hills