473,406 Members | 2,867 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Checking the Size of a Log File

45
Hi All

Am A Beginner.. Now Am Asked To Bulid A Analyser For Web Log Files... For Which I Am Asked To Estimate The Size Of The Log Files Can Anyone Help Me In Guiding How Can I Do..
Mar 13 '07 #1
5 1440
miller
1,089 Expert 1GB
Hi Sairaam,

Given the formatting of your questions, I sometimes think you're an automated question generator. Nevertheless, here's what you would need.

perlfaq5 - How do I can't number of lines in a file?
perldoc stat - Get the size of a file.

Good Luck,
- Miller
Mar 13 '07 #2
KevinADC
4,059 Expert 2GB
Something about people that want help but yet don't take the time to reply to threads they start that takes the wind out of my sails:

http://www.thescripts.com/forum/thread613671.html

or maybe I just need to take another cruise to the Mexican Riviera to recharge my batteries. ;)
Mar 13 '07 #3
miller
1,089 Expert 1GB
Something about people that want help but yet don't take the time to reply to threads they start that takes the wind out of my sails:

http://www.thescripts.com/forum/thread613671.html

or maybe I just need to take another cruise to the Mexican Riviera to recharge my batteries. ;)
Nope, you're absolutely right Kev.

However, I'm treating this guy as a personal challenge. I will get a response from him one of these days!

- M
Mar 13 '07 #4
KevinADC
4,059 Expert 2GB
Andale! :)
Mar 14 '07 #5
SAIRAAM
45
Hi Sairaam,

Given the formatting of your questions, I sometimes think you're an automated question generator. Nevertheless, here's what you would need.

perlfaq5 - How do I can't number of lines in a file?
perldoc stat - Get the size of a file.

Good Luck,
- Miller
miller the issue is that i just created a login in this forums and its my team mates who are the actual users. i just now noticed. am very sorry for all those postings those where left incomplete.i apologise.
Mar 15 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

13
by: Deepak Sarda | last post by:
Hello everyone. I have run into something which I believe is a bug or a shortcoming of the threading.Thread module. My program spawns 15 threads. For this I've creating a new class with...
14
by: Marlene Stebbins | last post by:
At one point in my program I have about a dozen calls to malloc. I want to check for malloc failure, but I don't want to write: if((buffer_x = malloc(BUFSIZE * sizeof(*buffer_x))) == NULL) {...
21
by: jacob navia | last post by:
Many compilers check printf for errors, lcc-win32 too. But there are other functions that would be worth to check, specially memset. Memset is used mainly to clear a memory zone, receiving a...
1
by: gryffin | last post by:
im trying to do file extension checking but its not working :( i have the following in the head <script language="JavaScript"> extArray = new Array(".jpg", ".png", ".bmp"); function...
19
by: jeremyz | last post by:
Hi all, I am not a developer, but I work with several and am posting this for them. We are trying to determine whether it is possible to check the size of a file before a user uploads it. ...
1
by: brett | last post by:
If I participate in a forum that doesn't have any way to watch threads or any type of RSS, I could get the filesize of the thread I want to watch. When the filesize changes, I know there is a new...
4
by: Michael Yanowitz | last post by:
Hello: If I have a long string (such as a Python file). I search for a sub-string in that string and find it. Is there a way to determine if that found sub-string is inside single-quotes or...
2
sun1programmer
by: sun1programmer | last post by:
Hi All, I have an HTML File upload control and I want to check the size of uploaded file by the user at the time of uploading. If size exceeds 25MB, then it shows the confirmation message that...
11
by: Bryan Crouse | last post by:
I am looking a way to do error checking on a string at compile time, and if the string isn't the correct length have then have the compiler throw an error. I am working an embedded software that...
1
by: sruthini | last post by:
Hi, I am trying to checking the size of a file using javascript, I am using the following code <html> <head> <script language="JavaScript"> function A() { var oas = new...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.