Re: Top command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/25/06, Kaushal Shriyan <kaushalshriyan@xxxxxxxxx> wrote:
Hi ALL

I wanted to capture the dynamic output to a file.

I did run the below command

#top -d 1 > output

it doesnot work

Thanks and Regards

Kaushal

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Hi Kaushal Shriyan!

Well, other than that you must use a ctl+c to stop the process (top
continues until stopped) and that the output, being designed to
"refresh" the screen contains a lot of screen control characters I
would say that it does work.  The file "expands" every three seconds
(I am using Dapper).

Now, after reading a bit of the top manual ("man top" from a terminal)
I tried "top -b > testtop-b.txt" and this time I tried a "q" to quit
(did not work, needed a ctl+c).  When I did stop it I got what I think
you were looking for.  Every three seconds (controllable by you so
says the manual) it printed another "screen" full of readable
characters to "testtop-b.txt" which I read with "less testtop-b.txt"
for its control of scrolling.

Have fun!

Tod

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux