Search Results

Search: Posts Made By: varu0612
1,165
Posted By varu0612
Thanks a lot! any chance you can explain...
Thanks a lot!

any chance you can explain the line, mainly the first part before the END?

---------- Post updated at 11:55 AM ---------- Previous update was at 11:43 AM ----------

No need as...
1,165
Posted By varu0612
Aggregate variables bdfore ssh into remote host
Hi all,

I have a problem where i'm trying to identify on which remote hosts the apps are running, ssh into it and restart them.

In case more than 1 apps is running on same remote host, i want...
4,470
Posted By varu0612
The fact you took your time to explain in detail...
The fact you took your time to explain in detail how it works where even a 5 years old kid can understand is very much appreciated.

I've seen many smart users replying with solutions who don't...
4,470
Posted By varu0612
thank you!
Alister,

the code in bold what does it mean?

IF this will help others, the code/ output below

Input file

cat file1.txt
Response time 2 ms
Response time 15 ms
Response time 17 ms...
4,470
Posted By varu0612
The problem with your/ Chubler_XL suggestion is...
The problem with your/ Chubler_XL suggestion is that i'll have to defined the upper bucket and this is the main reason why i'm moving away from my current solution otherwise for a range of 0 - 1000...
4,470
Posted By varu0612
Alister, Your method is a very tidy/ nice...
Alister,

Your method is a very tidy/ nice one (balajesuri yours works ok as well, so thank you!).

Two more question:

a) how can i add a header like this which should take into account the...
4,470
Posted By varu0612
i made the correction in my sample code - see...
i made the correction in my sample code - see initial post above

Thx
4,470
Posted By varu0612
Generate Regex numeric range with specific sub-ranges
hi all,

Say i have a range like 0 - 1000 and i need to split into diffrent files the lines which are within a specific fixed sub-range. I can achieve this manually but is not scalable if the...
2,074
Posted By varu0612
thank you!
@pamu, @tukuyomi - both solutions works so many thanks!
2,074
Posted By varu0612
Yes i did - but there is no difference since is...
Yes i did - but there is no difference since is the same logic, for each row it needs to scan the whole file in a loop.

I think i'll gain more if i find a way to scan the file once and delete the...
2,074
Posted By varu0612
Thanks for quick reply. I want only...
Thanks for quick reply.

I want only request/response pairs. IF there is only request or response without any associated pair then it should be removed.

Cheers.
4,344
Posted By varu0612
I gave up waiting for someone to help me out...
I gave up waiting for someone to help me out understand the above sed logic/ options.

Thx anyway.
2,074
Posted By varu0612
Delete unique rows - optimize script
Hi all,

I have the following input - the unique row key is 1st column


cat file.txt

[4] A response
[1] C request
[1] C response
[3] D request
[2] C request
[2] C response
[5] E...
4,344
Posted By varu0612
Guys, am i asking too much for a bit of...
Guys,

am i asking too much for a bit of explanation of the options below?

I'd very much appreciate if anyone is willing to explain the options so i can better understand the whole line/ learn...
4,344
Posted By varu0612
sed '/req/s/]/:0]/; /res/s/]/:9999]/; s/[][]//g'...
sed '/req/s/]/:0]/; /res/s/]/:9999]/; s/[][]//g' infile |
sort -nt: -k1,1 -k2,2 |
sed '/req/s/:0//; /res/s/:9999//; s/[:[:digit:]]*/[&]/'



Hi Alister,

If you don't mind can you please...
4,344
Posted By varu0612
Hi all, Can anyone help me understand the...
Hi all,

Can anyone help me understand the above SED command?

Thanks!!
4,344
Posted By varu0612
Thanks a lot!! If you don't mind, can you please...
Thanks a lot!! If you don't mind, can you please explain the sed command?

Many thanks!!
4,344
Posted By varu0612
Sort numbers which has colon (:) in between
Although i tried multiple option i couldn't find a way to get the rigt ouput.

Say i have the following data

cat file.txt

[1] C request
[1:1]
[1:4]
[1:2]
[1:3]
[1] C response
[2:3]...
3,967
Posted By varu0612
It does work with a minor change as i don't want...
It does work with a minor change as i don't want to show the password in clear :)

Many thanks,
3,967
Posted By varu0612
While loop subshell problem
Hi,

I have the below script


while true; do
read -p "Please enter schema password: " -s -e pswd1
echo
read -p "Please retype schema password: " -s -e pswd2
...
Forum: Filesystems, Disks and Memory 02-20-2010
3,767
Posted By varu0612
In short no. GFS 2 is the latest version fully...
In short no. GFS 2 is the latest version fully supported on RHEL 5 while 6.2 was supported on RHEL 4
5,108
Posted By varu0612
My suggestion is to use PuttyCM and organize your...
My suggestion is to use PuttyCM and organize your connections based on folders. Once you defined all connection you can right click on the folder and connect to all saved session.
16,912
Posted By varu0612
Look at mpack instead of uuencode & mailx. ...
Look at mpack instead of uuencode & mailx.

It's very easy to use and you can send any attachments you want.
Forum: Infrastructure Monitoring 07-19-2009
63,896
Posted By varu0612
Hi Guys, With all respect to Perderabo...
Hi Guys,

With all respect to Perderabo script - great job = THANKS, in case anybody use Secure CRT to ssh/telent, the latest version 6.2.1 has a feature called Chat window which allow you to run...
18,989
Posted By varu0612
Thank you all for your help! Finally i've...
Thank you all for your help!
Finally i've decided to use the 2nd option where i've added a loop


if [-z $host1]
then
/usr/bin/ftp -vi >> $backupLog 2>&1 <<startftp
open $host
bin
...
Showing results 1 to 25 of 28

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