Sorting top command output in HP_UX 11.11


 
Thread Tools Search this Thread
Operating Systems HP-UX Sorting top command output in HP_UX 11.11
# 1  
Old 03-08-2011
Sorting top command output in HP_UX 11.11

Hello all,

I've been woking on Solaris and Linux (Red Hat) so far but now I've inherited an HP-UX system and having minor issues with syntax...Appreciate if you could help me out here..

1) I'm trying to sort the output of the top command in HP-UX 11.11 by pressing O (capital O) after typing the top command but it has no effect. I'm able to do this on Solaris and Linux successfully..I even tried M (capital M) to sort the top output by memory but no effect again. Am I missing something here?

2) another question unrelated to the above question...How do I navigate through different screens after typing the "glance" command? I tried F1 to F8 but did not notice anticipated results...


Thanks for you time...
# 2  
Old 03-08-2011
My HPUX had man for top and glance, top does not admit to such options, glance has letter commands if your function keys do not connect -- mine do not:
Code:
 COMMAND SUMMARY
      The following commands are grouped  into  three  sections;  top  level
      screens, secondary screens, and miscellaneous commands.  The top level
      screen commands are the only ones allowed on the command line.
          _____________________________________________________________
          |Command |          Screen Displayed / Description           |
          |________|___________________________________________________|
          |   a    | CPU By Processor                                  |
          |   c    | CPU Report                                        |
          |   d    | Disk Report                                       |
          |   g    | Process List                                      |
          |   i    | IO By File System                                 |
          |   l    | Network By Interface                              |
          |   m    | Memory Report                                     |
          |   n    | NFS By System                                     |
          |   t    | System Tables Report                              |
          |   u    | IO By Disk                                        |
          |   v    | IO By Logical Volume                              |
          |   w    | Swap Space                                        |
          |   A    | Application List                                  |
          |   B    | Global Waits                                      |
          |   D    | DCE Global Activity                               |
          |   G    | Process Threads                                   |
          |   H    | Alarm History                                     |
          |   I    | Thread Resource                                   |
          |   J    | Thread Wait                                       |
          |   K    | DCE Process List                                  |
          |   N    | NFS Global Activity                               |
          |   P    | PRM Group List                                    |
          |   T    | Transaction Tracker                               |
          |   Y    | Global System Calls                               |
          |   Z    | Global Threads                                    |
          |   ?    | Commands Menu                                     |
          |________|___________________________________________________|
          |   S    | Select a NFS system/Disk/Application/Trans/Thread |
          |   s    | Select a single process                           |
          |   F    | Process Open Files                                |
          |   L    | Process System Calls                              |
          |   M    | Process Memory Regions                            |
          |   R    | Process Resources                                 |
          |   W    | Process Wait States                               |
          |________|___________________________________________________|
 
 
 
 
 

                                    - 4 -          Formatted:  June 27, 2005
 
 

 glance(1)                          HP-UX                          glance(1)
                              January 23, 1999
 
                     _______________________________________
                     |Command |         Description         |
                     |________|_____________________________|
                     |   b    | Scroll page backward        |
                     |   f    | Scroll page forward         |
                     |   h    | Online help                 |
                     |   j    | Adjust refresh interval     |
                     |   o    | Adjust process threshold    |
                     |   p    | Print toggle                |
                     |  e/q   | Quit GlancePlus             |
                     |   r    | Refresh the current screen  |
                     |   y    | Renice a process            |
                     |   z    | Reset statistics to zero    |
                     |   >    | Display next logical screen |
                     |   <    | Display previous screen     |
                     |   !    | Invoke a shell              |
                     |________|_____________________________|

This User Gave Thanks to DGPickett For This Post:
# 3  
Old 03-10-2011
Thanks DGPicket for the quick response...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Top Command Output is not coming via Cronjob

Dear All, I created a small script to get the CPU, GIS usage etc automatically. However when i run this script manually its working , but when i run through cronjob i am not getting any output. Can anyone please help me on this. I am using SuseLinux. Thank you in advance. #!/bin/sh {... (2 Replies)
Discussion started by: Nitin Kapoor
2 Replies

2. UNIX for Dummies Questions & Answers

Unable to scroll to the top of the output of a command

Hello, I am a beginner, I have currently Solaris 11 on a vmware machine. Whenever I type a command like 'ls' the screen scrolls to the end of the screen. I am unable to see the entire list of directories and files. I have tried ls |page command, but looking out for a better option. (3 Replies)
Discussion started by: farheenprasad
3 Replies

3. Shell Programming and Scripting

Format Top and prstat command output

need help with formatting output of command top and prstat. My requirment is to remove few columns and display remaining . But when i used awk to do that the output seems to be have gone vague, mixing the column values. After using awk to print particular column the output seems to have lost... (1 Reply)
Discussion started by: NarayanaPrakash
1 Replies

4. HP-UX

Formatted TOP command output in file

Hi All, I want generate HP-UX overall system performance report. I tried executing top command and write that out put to file. but am not able to view the report in proper format. I can see report like below in file but i can see properly in terminal. Please suggest how can i get... (2 Replies)
Discussion started by: lravip123
2 Replies

5. UNIX for Advanced & Expert Users

Conflicts in the output of TOP command

Hi All, In the output of TOP command in my unix system, i monitored that some process has utilization more than 100% even some process has 4000% utilisation. Please help me understand how it is possible to show more than 100% utilization. Please see the screenshot below:... (2 Replies)
Discussion started by: anand2308
2 Replies

6. Shell Programming and Scripting

Capturing first output from 'top'-likes command

Is this a stupid code?? top > top.out & sleep 2 kill %1 cat top.out Thanks, (6 Replies)
Discussion started by: Shawn, Lee
6 Replies

7. Shell Programming and Scripting

Need help with shell script - output of top command

I have written shell script to send file as an attachemt of email and output of "top -o res" command as email body. it works fine if i execute manually from prompt but it does not send "top -o res" command output in email body when it is executed via crontab. Any suggestions. My script is below:... (5 Replies)
Discussion started by: needyourhelp10
5 Replies

8. Shell Programming and Scripting

Extract header from top command output

hi, I want to extract and save the cpu(s) information from top command output, but individual cpu statistics separately on a multi-processor machine. In command line, top will show this statistics when we press the switch "1". any ideas? thanks, meharo (3 Replies)
Discussion started by: meharo
3 Replies

9. Solaris

Monitoring the output of 'top' command on hourly basis.

I need to capture the following data on an hourly basis through cronjob scheduling:- 1. load averages 2. Total no. of processes. 3. CPU state 4. Memory 5. Top 3 process details. All the above information is available through the command 'top'. But here we need to automate the same and... (4 Replies)
Discussion started by: subharai
4 Replies

10. UNIX for Dummies Questions & Answers

Unix Top Command and sorting by CPU Usage

Ok, so I am using the Top command on my linux VPS to try and see the processes using the most CPU %. I hit the P to sort by CPU % but it wants to sort them from lowest to highest (ascending). My Telnet-SSH screen is only about 60 rows high so the processes with the highest CPU % usage are at the... (6 Replies)
Discussion started by: davemehta
6 Replies
Login or Register to Ask a Question