Search Results

Search: Posts Made By: netdbaind
6,679
Posted By netdbaind
thanks for the reply but both the script is...
thanks for the reply but both the script is printing time stamp value in header column, how I can skip the first line.Please help.

here is what it printing now:
...
6,679
Posted By netdbaind
Add current time stamp column in existing csv file
Hi ,

I want to add a new column 'current_time stamp' in my existing csv file with current time stamp for all the records.I tried something this but this is printing 0 with date & time and printed...
3,009
Posted By netdbaind
Run script on every last sunday of the month
Hi ALL,

I have been testing this script to run for every last Sunday of the month,looks like month which have 5 sunday (july 2016 )is not passing this and failing every time.

Here is what I am...
2,784
Posted By netdbaind
I can see the file content of cat...
I can see the file content of cat /proc/net/netstat ,but my question was how to use this information to create some reports which says the speed of the network usage.
2,784
Posted By netdbaind
/proc/net has all other files which mainly has...
/proc/net has all other files which mainly has zero size files.I am not sure what do you mean by monitoring constantly, if i can put some script that collect the stats constantly say for every 5...
2,784
Posted By netdbaind
Network usage
Hello,

I need to collect the network usage in linux 6.5 version ,report like max/min/average speed ,I know some of the command like netstats -s /ifconfig but I am not sure which part of the...
1,109
Posted By netdbaind
Search every line and compare fields
Hi All,

I have situation where my file looks like this log.file. ID Start time IP SQL
1256152 05-Aug-15, 11:25:06 MST 10.54.20.33 Select * from TES
1004768 ...
2,897
Posted By netdbaind
Thanks for reply, file child.txt has some...
Thanks for reply,

file child.txt has some 100+ server name written line by line.

like

SERVERWXM1
SERVERQWE2
SERVERUYT3 ..and so on

And the Master file has all the servers name...
2,897
Posted By netdbaind
Search words in multiple file line by line
Hi All

I have to search servers name say like 1000+ "unique names" line by line in child.txt files in another file that is a master file where all server present say "master.txt",if child.txt's ...
1,052
Posted By netdbaind
Hi Pravin, Thanks for your reply. now I'm...
Hi Pravin,
Thanks for your reply.
now I'm getting this Error.
test_type: line 31: syntax error near unexpected token `}'
test_type: line 31: `} > $ScriptOutput'
1,052
Posted By netdbaind
Error in if else statements
Hi All,

In below script I'm trying to match one column of a table value "True".If value is True then echo "Condition Satisfied" if not then "Condition not Satisfied" by using if and else...
8,787
Posted By netdbaind
Thanks Ravindera, Rudic I tried something this...
Thanks Ravindera, Rudic
I tried something this to run the script on above situation and kept cron job like this but this is not working .can anyone Please help me here .or how to test this if it is...
8,787
Posted By netdbaind
Thank you so much Ravinder,Vbe,Rudic. ...
Thank you so much Ravinder,Vbe,Rudic.

Ravinder explanations was very clear,just for the curiosity if assume we want to get the date for every last i.e 4th/5th Thursday/Friday of the every month...
8,787
Posted By netdbaind
How to setup cronjob 3rd sunday of every month?
Hi All,

I need to set up cronjob for every third sunday of the month.

here i have seen one example for 4th sunday for every month in another post and it looks perfect.can anyone please help me...
864
Posted By netdbaind
Using sed
Hi
how to filter 2nd column values of a output file using sed.

I have output like this.

KEY_NM | VALUE_TX...
4,132
Posted By netdbaind
Check two condition in while loop
Hi,
I Have to check two condition in while loop every 2 minutes. while loop is accompanied with number of times it will check.Please help in putting the two condition in while loop as appropriate.
...
1,296
Posted By netdbaind
yes, my system has watch in it. Can you please...
yes, my system has watch in it.
Can you please give one example with the same objective using watch.
1,296
Posted By netdbaind
Hi yes it will be in minute.i.e 30 minute
Hi

yes it will be in minute.i.e 30 minute
1,296
Posted By netdbaind
Hi, This is how i have started.to get the...
Hi,

This is how i have started.to get the input variable as time

#!/bin/ksh
# set -xv
echo ' '

if [[ $1 = '' ]]
then
read -r time?"Enter the kick time ==> "
else
time=$1
fi
...
1,296
Posted By netdbaind
Checking the file depending on the input variable
Hi

I have a requirement of taking time as input variable outside the script.depending on the time it will check the file output .like

./script.sh <30 min>

so script.sh should run every 5...
869
Posted By netdbaind
Thanks! I tried this ,but looks like I'm...
Thanks!

I tried this ,but looks like I'm missing something.For all run I 'm getting NO.Please help

Aim: check the value in file value.out (above stated).if value is N then go and start main...
869
Posted By netdbaind
Search and match the value
Hi ,

I have to match the table column via shell script ,where col name is value,like if table's column value is N then proceed to next main script.if not then exit with Some message.'not...
3,267
Posted By netdbaind
Hi, yes I am trying to read column value from...
Hi,
yes I am trying to read column value from table with sql statement.it will direct call like db2 "select col_name from table"
3,267
Posted By netdbaind
Hi Haven't tried as such from scripting side...
Hi
Haven't tried as such from scripting side looking for some guidance.Thanks!
3,267
Posted By netdbaind
Check the value from Table
Hi

I have a requirement like this:A shell script will check a table column if the column name "value" is 'N' then main script start and keep checking within 30 minute whether the column value...
Showing results 1 to 25 of 70

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