Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Read atop log like .txt file


    hi all,
    I've a problem, I must give at another person my atop log but they are binary file and this person can't read binary file.
    Is it possible read atop log like a .txt file, afterward like he/she read my shell?

    for exemple:

    Code:
    atop file
    
    date        hours          process
    
    18.8         20.02         knaspshot
    There is no possible to do an image .gif or .png to be clare, thanks in advance.

  2. #2
    Just Joined! cheapscotchron's Avatar
    Join Date
    Dec 2008
    Location
    swamps of jersey
    Posts
    68
    simply redirect standard out to a file and it will create an ascii file for you.
    e.g. atop -M 60 30 > /log/atop.log

  3. #3
    Quote Originally Posted by cheapscotchron View Post
    simply redirect standard out to a file and it will create an ascii file for you.
    e.g. atop -M 60 30 > /log/atop.log
    great, thanks very much, it's perfect...

    but in Debian, if I run the string you give me I can read the file within create a ascii file, thanks again...^^

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •