- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Reg: top command
Operating System - Linux
1748089
Members
4774
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
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
тАО02-13-2005 07:22 PM
тАО02-13-2005 07:22 PM
Reg: top command
Hi All,
In HP-UX, I can get top 100 process:
$ top -n 100
in screen,
j -> next screen # goes to next screen
k -> previous screen # # goes to next screen
But in linux, how can I get like the above?
In HP-UX, I can get top 100 process:
$ top -n 100
in screen,
j -> next screen # goes to next screen
k -> previous screen # # goes to next screen
But in linux, how can I get like the above?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2005 09:32 PM
тАО02-13-2005 09:32 PM
Re: Reg: top command
you may use "n" or "#" for setting such number when top runs; I don't know if exists command-line parameter for this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2005 08:15 PM
тАО02-14-2005 08:15 PM
Re: Reg: top command
If there's activity in the box, you can get the top 100 using command:
ps -ef|awk '$4>0'|sort -r -k 4,4|head -100
ps -ef|awk '$4>0'|sort -r -k 4,4|head -100
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2005 03:36 AM
тАО02-15-2005 03:36 AM
Re: Reg: top command
You can also save different configurations by linking the top command to different names.
ln -s /usr/bin/top top100
./top100
#100Wq
./top100
The configuration will be save in ~/.top100rc and reused each time you start ./top100.
By the way, 100 is a lot of lines. You must be using a huge window with a tiny font.
ln -s /usr/bin/top top100
./top100
#100
./top100
The configuration will be save in ~/.top100rc and reused each time you start ./top100.
By the way, 100 is a lot of lines. You must be using a huge window with a tiny font.
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