- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HPUX top
Operating System - HP-UX
1748169
Members
4324
Online
108758
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
Discussions
Discussions
Forums
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
тАО10-21-2000 01:34 PM
тАО10-21-2000 01:34 PM
I have read this from an old forum question.
I can use top -s50 -d30 -f tmp to record the cpu stats in a file tmp, is there any way to record all the process in that file as well? Or is there another alternative?
Thanx
I can use top -s50 -d30 -f tmp to record the cpu stats in a file tmp, is there any way to record all the process in that file as well? Or is there another alternative?
Thanx
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2000 02:45 PM
тАО10-21-2000 02:45 PM
Solution
Hi Edmund !
Use the top command in the following way to get all the processes information into a file along with CPU information.
# top -s1 -d1 -n500 -f temp
in "-n" ensure to give a large number to get all the processes in to the file named with -f option.
Enjoy !
......Madhu
Use the top command in the following way to get all the processes information into a file along with CPU information.
# top -s1 -d1 -n500 -f temp
in "-n
Enjoy !
......Madhu
Think Positive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2000 02:54 PM
тАО10-21-2000 02:54 PM
Re: HPUX top
Edmund:
For the problem you pose, in lieu of 'top', I would use 'ps'. Depending on what you want to see, choose your 'ps' options (see the man pages), and sort and filter the output further with 'awk' and 'grep'.
A very little known feature is how to use the XPG4 feature of 'ps', as documented in the man pages, is described in the post below (see Alan Riggs' last two posts therein).
As Alan states, the XPG4 behavior is invoked by setting and exporting the variable UNIX95=1.
...JRF...
For the problem you pose, in lieu of 'top', I would use 'ps'. Depending on what you want to see, choose your 'ps' options (see the man pages), and sort and filter the output further with 'awk' and 'grep'.
A very little known feature is how to use the XPG4 feature of 'ps', as documented in the man pages, is described in the post below (see Alan Riggs' last two posts therein).
As Alan states, the XPG4 behavior is invoked by setting and exporting the variable UNIX95=1.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2000 04:48 PM
тАО10-21-2000 04:48 PM
Re: HPUX top
Hi (again):
Sorry, forgot to add the reference in the above:
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x43667e990647d4118fee0090279cd0f9,00.html
...JRF...
Sorry, forgot to add the reference in the above:
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x43667e990647d4118fee0090279cd0f9,00.html
...JRF...
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP