- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ascii or flat files
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-24-2006 04:44 PM
тАО01-24-2006 04:44 PM
Are various types of logs for applications like oracle, web servers, web logic servers and operating systems etc ascii or flat files ?
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2006 04:46 PM
тАО01-24-2006 04:46 PM
Re: ascii or flat files
Most of OS related log files are ascii texts. As you can see from here,
Myserver:>file /var/adm/syslog/*
/var/adm/syslog/OLDsyslog.log: ascii text
/var/adm/syslog/mail.log: ascii text
/var/adm/syslog/syslog.log: ascii text
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2006 04:51 PM
тАО01-24-2006 04:51 PM
Re: ascii or flat files
file
will give that information.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2006 04:54 PM
тАО01-24-2006 04:54 PM
Re: ascii or flat files
If you want to know more about flat files,
http://databases.about.com/cs/administration/g/flatfile.htm
http://www.webopedia.com/TERM/F/flat_file.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2006 04:54 PM
тАО01-24-2006 04:54 PM
Re: ascii or flat files
Most of the files are ascii text files only. I do not remember any application's log file to be a binary file. Moreover you can check this using
#file filename
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2006 05:08 PM
тАО01-24-2006 05:08 PM
SolutionTo see what type a file is use the "file" command.
It keeps me out of trouble on a regular basis.
There are products that produce binary logs, such as /var/adm/btmp and /var/adm/wtmp
Never assume.
Hope you are well Sir.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2006 05:12 PM
тАО01-24-2006 05:12 PM
Re: ascii or flat files
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2006 09:58 PM
тАО01-24-2006 09:58 PM
Re: ascii or flat files
Aside from binary executable files generated by compilers and linkers, the UNIX philosophy is to employ ASCII files for as many things as it can.
The idea is that a file should be easily read by a human; easily edited; and easily parsed.
Binary files are not human-readable and require specific knowledge of their structure to parse and/or update. In many cases, a specific tool (program) must be written to specifically manipulate each binary file.
Hence, you can expect log files for applications like Oracle, Apache, etc. to be simple ASCII stream data.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2006 12:17 AM
тАО01-25-2006 12:17 AM
Re: ascii or flat files
Both flat and ascii files are more oe less the same.
In fact flat files are those which are imported from other documents like work/xls. Where they will remove all your bold, underlines etc.
But OS users all log files in ascii format. As that are viewable and editable.
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2006 08:32 PM
тАО01-25-2006 08:32 PM
Re: ascii or flat files
you can see teh type of teh file (ascii/binary) using the command file.
In case of binary you can try to read something using strings binary_log_file.
HTH,
Art