- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: how to write a script for find the maximum pro...
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
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
тАО06-16-2008 05:24 AM
тАО06-16-2008 05:24 AM
how to write a script for find the maximum process running
We have rx5670 HP-UX 11i v2 11.23 trusted cluster running system from last 4 years.
Could any one help us to wright a script for collect maximum process running in the system with threshhold. like ps -ef | grep oracle | wc -l >> /tmp/oracleprocess/process.txt
- Tags:
- PS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2008 08:37 PM
тАО06-16-2008 08:37 PM
Re: how to write a script for find the maximum process running
(I've ask this be moved to HP-UX > languages & scripting.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2008 11:53 PM
тАО06-16-2008 11:53 PM
Re: how to write a script for find the maximum process running
for a hourly summary
kcusage -h nproc
- Tags:
- kcusage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2008 12:06 AM
тАО06-17-2008 12:06 AM
Re: how to write a script for find the maximum process running
Can you explain the problem in detail?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2008 12:23 AM
тАО06-17-2008 12:23 AM
Re: how to write a script for find the maximum process running
for the process with the highest amount of cpu time you can use
ps -ef|grep -v " [0-9]:"|sort -rn +7 -8
or just use "top" (/usr/bin/top)
Regards,
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2008 03:00 AM
тАО06-17-2008 03:00 AM
Re: how to write a script for find the maximum process running
This is but one of *four* questions of yours that begin with "How to write a script...".
What have you tried thus far? You will find better help by *defining* your requirements exactly. Showing the input and output you expect is a good start.
Regards!
...JRF...