- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to capture the output of top and normal te...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2000 04:03 PM
04-17-2000 04:03 PM
How to capture the output of top and normal text file of "man ls"?
f1 is very messy and contains garbage. It looks like
the same as when I ran "man ls >f2" and used vi to
edit it. "vi f2" also got a lot of garbage, Is there
any solution to solve this kind of problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2000 07:09 PM
04-17-2000 07:09 PM
Re: How to capture the output of top and normal text file of "man ls"?
# cd /usr/man/man1.Z
# cp ls.1 file.1
# mv file.1 file.1.Z
# uncompress file.1
# nroff file.1 > file.2
# vi file.2 <-- ASCII file
Goodbay !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2000 11:48 AM
04-18-2000 11:48 AM
Re: How to capture the output of top and normal text file of "man ls"?
to the original, some information are lost. I can't find the following info.
ls(1)
NAME
SYNOPSIS
ls [-abcdefgilmnopqrstuxACFLR1] [names]
l [ls_options] [names]
ll [ls_options] [names]
lsf [ls_options] [names]
lsr [ls_options] [names]
lsx [ls_options] [names]
As for the output of top command, even when I ran
top -d 1 >f1, I still got garbage when I 'vi' it,
I want to make use of this info in my script, how
can that be done?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2000 05:16 PM
04-18-2000 05:16 PM
Re: How to capture the output of top and normal text file of "man ls"?
# top > f1
q
# cat f1 | col -b > f2
# vi f2
-> also works with man-pages.
Best Regards,
Ivan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2000 10:20 PM
04-18-2000 10:20 PM
Re: How to capture the output of top and normal text file of "man ls"?
write top output to a file.
You can specify any filename.
# top -f /tmp/topfile
You can use this feature in conjunction with other top options as documented on
the man page for top(1).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2000 05:07 PM
04-19-2000 05:07 PM