Search Results

Search: Posts Made By: k00061804
1,568
Posted By k00061804
Thanks i changed around the script, I am still...
Thanks i changed around the script, I am still puzzeled

echo $Sample$y+$tot_alarms | bc > Sample$y
echo $Sample$y

the debug gives the following


i need the...
1,568
Posted By k00061804
Ksh Searching for a string within a file and keeping a count= get the following Sample01=: command
I have a script that goes through a 24 hr logfile, And i want to count the instances of a Test01 to 83 and output the sum of all the instances over 24hrs



#/bin/ksh

cat $parse_data |...
17,175
Posted By k00061804
Hi , Ive tried all the above however, i am...
Hi ,

Ive tried all the above however, i am getting the following. i have Solaris 10 installed. Is there any function that i could use to get the time 10 mins ago. or any suggestions:

> date...
17,175
Posted By k00061804
how to calculate the time 10 mins ago?? unix
Hi guys,

Im trying to subtract time in ksh script. i.e. basically im querying a database and i want to get the time 10mins before hand..(from)

in ksh

CurrMin=$(date "+%M")

...
3,828
Posted By k00061804
Hi drewrockshard. Your logic describes...
Hi drewrockshard.

Your logic describes exactly what i should do to get the desired output.

It looks like when i find the pattern i am looking for in the log file. i should kill the process id...
3,828
Posted By k00061804
Hi drewrockshard. What i am trying to do...
Hi drewrockshard.

What i am trying to do is.

I have to run a script x ( Which loops for ever)

I need to grep a particular line from the output of the script x, Which i expect to be...
3,828
Posted By k00061804
trying to grep the first few lines of a continuos script, and exit the script anyidea
Hi.

I am trying to extract the output of the first few lines of a continuos sh script.

The when i run it, i wont to grep the the first 20 lines of it for an entry and basically do a crtl z...
2,077
Posted By k00061804
the line from the crontab is: 03 17 * * *...
the line from the crontab is:

03 17 * * * /network_check.sh | /usr/bin/mailx -s "Network Test" k454@hotmail.com

the sh i am running the script in is:
#!/bin/sh


in the script i log onto...
2,077
Posted By k00061804
Unix mail to personal mail, Strange behavour
Hi.

I am running a script on solaris 10 and mailing it to my personal email.

the script is ran as user xxx, And i have edited the crontab for user xxx to run the script and mail it to my...
Showing results 1 to 9 of 9

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