Stats do not match, can't work out why this is happening. Any help appreciated


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Stats do not match, can't work out why this is happening. Any help appreciated
# 8  
Old 03-16-2012
Hi,

TOTALBATS 286 MAXBATS 286 maxtime 06/05 22:30:50 time 06/05 22:30:50

at 22:30:50 it was 140 in 426 out which makes a difference of 286.

In the end summary the value of the last total of 22:39:07 is being used, which is 442 - 189.
This User Gave Thanks to Scrutinizer For This Post:
# 9  
Old 03-16-2012
ok

ah, I see what you are saying. Smilie
Can you advise on code I should use to get the correct result?

sorry, Im crap at coding, what you see is the result of weeks of my trial and error coding

many thanks -gotta go collect kids from school nowSmilie -back in an hour...
# 10  
Old 03-18-2012
I do not understand why this is not a correct result? At the end of the bat day there are 253 bats out. The maximum bats in or out was 286 at 22:30:50 . Do I misunderstand this? Otherwise please state what you are are after?
# 11  
Old 03-19-2012
sorry, yes, you are right. I wasn't thinking straight.

1) Do you know if there any way that AWK or other UNIX utility could take the stats.txt and do a simple graph of it?
2) is there any way you can think of that this could be done live? i.e. as data is automatically added to the output.txt file, be able to see the counts change live on screen? even better the graph change live?
3) Do you think the way this data is being analysed is the best method to do it?

many thanks for the help so far.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need help on unix scripting. I am at hello world level. Your help would be greatly appreciated.

Need to automate the following steps (OS--> AIX ) 1. cd /advx/R8.1MR2/TOP/logs ( I navigate to this directory) 2. Monitor the current date ULOG for specific error pattern => ls -lrt ULOG.08* -rw-rw-rw- 1 vssrt vssgrp 24370 Aug 01 23:57 ULOG.080112 -rw-rw-rw- 1 vssrt vssgrp ... (6 Replies)
Discussion started by: krchakr
6 Replies

2. Homework & Coursework Questions

Help would be appreciated

If anyone could possibly help me to do this following question? Print a long listing of the files in the login directory for a specific month. The user is prompted to enter the first 3 letters of a month name, starting with a capital, and the program will display a long list of all files that... (1 Reply)
Discussion started by: Zunifx
1 Replies

3. Fedora

Leap second happening

Have anybody heard about the Leap second problem Leap second :A leap second is a one-second adjustment that is occasionally applied to Coordinated Universal Time (UTC) in order to keep its time of day close to the mean solar time. How could i avoid such thing in my script which i deal with... (6 Replies)
Discussion started by: wnaguib
6 Replies

4. UNIX for Dummies Questions & Answers

Had this idea for years, any help at all would be greatly appreciated!

Hello everyone, For a while now ive been wanting to create a way for me to access my home pc and have it perform remote tasks (Namely file downloading, archiving, torrenting) without needing to keep the PC continuously powered. Having seen the power of Linux and ssh at the hands of... (1 Reply)
Discussion started by: spliffinz
1 Replies

5. Shell Programming and Scripting

sed command not quite working yet, if anyone can help appreciated

Hi gang, I am trying to create some batch commands for many html pages I need to re-format. I am trying the number 2b in this example to wrap anchor tags around the number that will be referenced in the footnotes. I am trying to use the h/H hold command, but I have never tried using it... (2 Replies)
Discussion started by: naphelge
2 Replies

6. Shell Programming and Scripting

Incrementing a variable is not happening

Hi All, Iam trying to increment a variable Following is the code #!/usr/bin/ksh i=1; i='expr $i+1'; echo $i; Output: expr $i+1 not able to understand why its happening in that way i was expecting result as 2... if the above method is worng .. can you help how i can get... (3 Replies)
Discussion started by: kiranlalka
3 Replies

7. UNIX for Dummies Questions & Answers

what's happening with my keyboard

hi everybody. i ussually use unix and windows, but mainly unix-mandriva distribution, and i have a problem. i have like main os unix, and windows as secondary, and this one is loaded by vmware application. well, when a i load vmware to execute windows afterwards when i return to unix, in this... (1 Reply)
Discussion started by: tonet
1 Replies

8. AIX

Ping/Telnet is not happening

Hi All, We are not able to ping to a AIX box...Network is ok..when we give ping from that AIX box..it is giving 0821-067 ping: The socket creation call failed.there is no enough buffer space for the requested socket operation. refresh -s inetd is also giving socket error. Please help to... (1 Reply)
Discussion started by: b_manu78
1 Replies

9. AIX

Ping is happening, telnet is not happening

HI all, Ping is happening to a AIX box...but telnet is not happening... AIX box doesn't have any conslole... Please help how to resolve it. Thanks in advance .. Manu (2 Replies)
Discussion started by: b_manu78
2 Replies
Login or Register to Ask a Question