The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How can I get memory usage or anything that show memory used from sar file? panithat HP-UX 1 03-31-2008 09:26 AM
cpu, memory and virtual memory usage ocelot UNIX for Dummies Questions & Answers 3 09-20-2006 07:32 AM
how to determine the disk space usage gfhgfnhhn UNIX for Dummies Questions & Answers 1 03-01-2006 04:27 AM
Monitor CPU usage and Memory Usage Gajanad Bihani High Level Programming 2 03-09-2005 03:35 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-09-2005
Registered User
 

Join Date: Mar 2005
Location: Moscow
Posts: 3
Question How to determine cpu&memory percentage usage per user

Using HP-UX v11

Need to monitor cpu and memory usage, total for system and separately for each user in command-line mode.

Found out next ways to monitor total cpu usage under hp-ux:
1) vmstat, also shows free memory
2) sar -M

ps -eo user,pcpu - does not work, means 'user-defined format' of columns is not possible.

I'm newbie in *nix systems, and have no person to consult.
Spent a lot of time searching solutions, but no satisfied results currently. Need help.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 03-09-2005
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,491
Do you know about glance? Try the man pages for glance
Reply With Quote
  #3 (permalink)  
Old 03-10-2005
Registered User
 

Join Date: Mar 2005
Location: Moscow
Posts: 3
Unhappy

Thanks for help.

I have found info about glance. But in my configuration it is not possible to use glance. I'm limited in privileges. All i can do is to execute commands or run perl scripts under limited users.

Maybe there are other ways. Still searching for available solutions.
Reply With Quote
  #4 (permalink)  
Old 03-10-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,354
glance can be run by non-root users.
Reply With Quote
  #5 (permalink)  
Old 03-10-2005
Registered User
 

Join Date: Mar 2005
Location: Moscow
Posts: 3
Lightbulb Solution found

Solution was simple as posible. But as i say before i'm newbie, So...

UNIX95= ps -eo "user,pcpu,vsz"
plus some awk routine.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:41 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0