[HPADM] Re: top output on HP-UX 11.11

From: Joe Philip (joe.philip_at_verizon.net)
Date: 04/08/04

  • Next message: Joe Philip: "[HPADM] glance to print the output to a file"
    To: "Joe Philip" <joe.philip@verizon.net>, <hpux-admin@dutchworks.nl>
    Date: Wed, 7 Apr 2004 21:22:11 -0400
    
    

    Thanks everyone. It was my syntax mistake.

    The correct syntax is:

    top -d 2 -n 1000 -f /tmp/top.out

    I mis-read the man page.
      ----- Original Message -----
      From: Joe Philip
      To: hpux-admin@dutchworks.nl
      Sent: Tuesday, April 06, 2004 9:27 AM
      Subject: [HPADM] Re: top output on HP-UX 11.11

      Sorry, the second command I tried was:

      top -d2 5 -f top.out

      This ran fine but DID NOT create an output file.

        ----- Original Message -----
        From: Joe Philip
        To: hpux-admin@dutchworks.nl
        Sent: Tuesday, April 06, 2004 9:00 AM
        Subject: [HPADM] top output on HP-UX 11.11

        For troubleshooting the performance problems, I am trying to capture the top output to a file. I tried the follwing:

        top -d2 5 > top.out

        This creates the top.out file, however, the lines are written to this file without a carriage return; so the output is very garbled and could not be read.

        I tried (mentioned in the man pages):

        top -d2 5 -otop.out

        This command did not even create an output file.

    --
                 ---> Please post QUESTIONS and SUMMARIES only!! <---
            To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
           Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
     
     Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
                http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)
    

  • Next message: Joe Philip: "[HPADM] glance to print the output to a file"