LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-11-2005, 05:37 AM   #1
Le Hara
LQ Newbie
 
Registered: Jan 2005
Posts: 4

Rep: Reputation: 0
Create system_performance file


Hello all,
I try to create a system monitor file using the top command. If I use : top -b -n 1 >>myfile.dat ; the data is sored in a continues way and it very difficult to read it. Is there a way to store it in myfile.dat but as the same way as if it was displayed on a normal terminal, like a table and stuff..
Thx a lot. I need help with this.
 
Old 01-11-2005, 05:54 AM   #2
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
You could have it over-write the file, but then you would have only the results for the most recent "top" command...
 
Old 01-11-2005, 07:27 AM   #3
kees-jan
Member
 
Registered: Sep 2004
Distribution: Debian, Ubuntu, BeatrIX, OpenWRT
Posts: 273

Rep: Reputation: 30
I just tried, and reading the file is not very dificult.

Could you please explain what data you are interested in collecting? And how precisely you want the output formatted? Maybe give an example?

Groetjes,

Kees-Jan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Create header file for existing .c file hk_michael Programming 5 02-25-2005 05:26 PM
Why can I not create a file? aroundtuit Linux - Newbie 14 09-07-2004 08:36 PM
create a new file biiiep Programming 1 04-23-2004 02:44 PM
How can I create a .db file? nuzzy Linux - Software 0 07-31-2003 10:04 AM
Create a file Vexris Linux - Newbie 3 06-05-2001 04:27 PM


All times are GMT -5. The time now is 02:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration