- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How do I tail a file and how do I stop the tail ma...
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
Discussions
Discussions
Forums
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
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
тАО01-20-2011 04:04 AM
тАО01-20-2011 04:04 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2011 04:10 AM
тАО01-20-2011 04:10 AM
Solutiontail -f /var/adm/syslog/syslog.log &
it will run in background & produce logs on console.
Other wise to just tail a file run the command without "&"
To stop the console activity just grep & kill
the tail running in background.
Thanks
Manix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2011 04:15 AM
тАО01-20-2011 04:15 AM
Re: How do I tail a file and how do I stop the tail manually
To stop, Ctrl + C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2011 04:16 AM
тАО01-20-2011 04:16 AM
Re: How do I tail a file and how do I stop the tail manually
You will need to use 'audisp' command to convert them into text files.
audisp
You can use switches to audisp command to filter out the users, events, calls etc.,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2011 04:30 AM
тАО01-20-2011 04:30 AM
Re: How do I tail a file and how do I stop the tail manually
Look at the mnpage of audsys:
#man audsys
I would suggest you create a separate filesystem for /.secure as it can grow quite large and you wouldn't want to fill your root file system.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2011 06:03 PM
тАО01-20-2011 06:03 PM
Re: How do I tail a file and how do I stop the tail manually
To tail a file and view the recent updates on the file you can do
tail -f <
tail -f /var/adm/syslog/syslog.log, and it will periodically show the update tails of that file without closing it, to close the tail you can simply do a
For further details and options see manual
#man tail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2011 09:03 AM
тАО01-24-2011 09:03 AM
Re: How do I tail a file and how do I stop the tail manually
Johnny Mac.