Search Results

Search: Posts Made By: bhallarandeep
1,579
Posted By bhallarandeep
Fetch contents of file greater than date
I have an input file which looks like something mentioned below:

======
25/07/2011 05:06:59 [10173]: test
======
25/07/2011 05:06:59 [10171]: test1
======
25/07/2011 05:08:09 [10173]: test2...
2,328
Posted By bhallarandeep
Thanks for you input. Firstly, on solaris...
Thanks for you input.

Firstly, on solaris command fails as it does not support multiple tail -f

Secondly, the solution provided in the link does not work because whenever I exit the putty...
2,328
Posted By bhallarandeep
Multiple tail -f commands
I need to execute a program which will generate some alarms. I wish to capture those alarms in a single output file.

I executed with following command on linux:
tail -f test1.alarms -f...
8,143
Posted By bhallarandeep
Thanks for your valuable inputs. The above...
Thanks for your valuable inputs.

The above solution works fine but not for my SUN platforms. If I execute the above commands and close the putty session then the tail command is also stopped.

I...
8,143
Posted By bhallarandeep
Problem with nohup use in scripting
I am trying to execute following code:

alarm_file_array="test1.alarms test2.alarms test3.alarms test4.alarms"
for file in ${alarm_file_array[@]}
do
nohup tail -f $file |awk 'NR>10' >>...
2,185
Posted By bhallarandeep
Thanks a lot. The Desired Output files are...
Thanks a lot.

The Desired Output files are as below:
C0
C1

Values in C0
86
86
86
sum is 258 total entries 3
avg is 86

Similarly for C1
2,185
Posted By bhallarandeep
awk getline to fetch output
Input File:
CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl
0 37 0 594 2205 1174 123 8 6 36 0 1954 6 8 0 86
1 1 0 49 26 0 ...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 06:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy