HPE GreenLake Administration
Operating System - HP-UX
1826373
Members
4405
Online
109692
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
11-21-2002 11:45 PM
11-21-2002 11:45 PM
ps
Hi all,
What is the command syntax of ps which give me memory and CPU utilization of processes,
I want it in a proper format, to include it in a script.
regards
chakri
What is the command syntax of ps which give me memory and CPU utilization of processes,
I want it in a proper format, to include it in a script.
regards
chakri
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 11:55 PM
11-21-2002 11:55 PM
Re: ps
Hi
As far as I know ps wont show you the memory and CPU utilization. Try top instead.
Karthik
As far as I know ps wont show you the memory and CPU utilization. Try top instead.
Karthik
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2002 12:00 AM
11-22-2002 12:00 AM
Re: ps
# ps -fl
will show the most, but you can fine-tune with
# env UNIX95=1 ps -o....
see 'man ps'
will show the most, but you can fine-tune with
# env UNIX95=1 ps -o....
see 'man ps'
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2002 12:31 AM
11-22-2002 12:31 AM
Re: ps
The best approach should be using glance for monitoring the utilization.
you can also use
for memory usage
#UNIX95= ps -e -o ruser,vsz=Kbytes|sort -nkr2|head -30
For processor usage
#UNIX95= ps -e -o ruser,pcpu,comm|sort -nkr2|head -30
you can also use
for memory usage
#UNIX95= ps -e -o ruser,vsz=Kbytes|sort -nkr2|head -30
For processor usage
#UNIX95= ps -e -o ruser,pcpu,comm|sort -nkr2|head -30
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP