home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Linux and Unix
Ask a Tech Support Question (free)!

Terminal output to a file

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2696
Discussions: 200,966, Posts: 2,379,639, Members: 246,332
Old February 3rd, 2009, 10:01 AM   Digg it!   #1 (permalink)
Junior Member
 
Join Date: Feb 2009
Posts: 1
Terminal output to a file

Hi,

I need the top command result ina file. For that i given top > file1.txt. But when i am opened , it shown some characters and figures.
How to save and show the result of top command in a file?

If anybody knows pls send me the correct syntax or method. Lots of Thanks in advance.

rgds,
Rajeev Pariyadathu
rajeevp05 is offline   Reply With Quote
Old February 7th, 2009, 11:56 AM     #2 (permalink)
Member
 
Dbest's Avatar
 
Join Date: Oct 2001
Location: Carolina,P.R.
Posts: 396
Hi, have you tried the -b (Batch mode) flag ? According to the man pages:
-b : Batch mode operation
Starts top in ’Batch mode’, which could be useful for sending out‐
put from top to other programs or to a file. In this mode, top
will not accept input and runs until the iterations limit you’ve
set with the ’-n’ command-line option or until killed.

Hope this helps .
Dbest is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with hyper terminal? d4rk_5t4r Applications and Operating Systems 2 September 7th, 2004 01:24 AM
terminal carlene Technical Support 5 April 7th, 2003 11:07 PM
Output to file novadragoon Webmastering and Programming 1 March 18th, 2003 12:12 AM
Terminal question hav0c General Tech Discussion 1 August 28th, 2002 01:55 PM
Terminal Services HELP!!! edwelly Applications and Operating Systems 4 April 24th, 2002 11:40 AM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (3014)
Forty-six years ago today (7)
Laptop with wireless problem. (12)
Wireless Televisions. (12)
CPU fan stops spinning randomly (11)
Regular Build (11)
Internet Lost (5)
windows 7 problem (7)
windows vista security holes (15)
Point and Shoot Camera Suggestions. (6)
Is the PSU I received dead? (13)
radeon x850xt platinum & shader.. (6)
HIS HD5770 graphic card question (15)
Install XP pro and a Vista laptop ?.. (11)
Recent Discussions
windows vista security holes (15)
Help getting around port 80 for camer.. (4)
Laptop with wireless problem. (12)
Open With ..... Win7 (2)
Internet Lost (5)
Skillsoft Network+ Study Software Que.. (9)
virus blocking exe. files (1)
Point and Shoot Camera Suggestions. (6)
CPU fan stops spinning randomly (11)
Nvidia GTX 260 problem (1)
Modern Warfare 2: Who Bought It? (65)
Is the PSU I received dead? (13)
Print spooler problem (16)
Kingston Bluetooth Dongle Driver (1)
Multiple Restarts Required at Boot (3)
webcam (0)
upgrade for hp a6101 (0)
tv not turn on-makes clicking sound (2)
EVGA 9800 gtx help with finding a goo.. (11)
Regular Build (11)
Help with onclick and buttons (0)
Virus advise (8)
My monitor won't turn on after instal.. (1)
Dept. of HS: NSA 'Helped' Develop Vis.. (16)
Ideal cheap graph card for PC-Gaming? (18)


All times are GMT -4. The time now is 02:55 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28