Search Results

Search: Posts Made By: jacki
1,881
Posted By jacki
thanks @rdrtx1. That works for the most...
thanks @rdrtx1.

That works for the most part.I am good.

@Don I will keep that in mind for next time.
1,881
Posted By jacki
Add a carriage return after every sorted field
Hi All,

I have a text file -

nmn-smt-1039.test.com:SearchService-WW:x:8277
nmn-smt-1102.test.com:AdminConsole-ww:x:8536
nmn-smt-1041.test.com:SearchService-WW:x:8277...
Forum: Red Hat 02-04-2016
2,523
Posted By jacki
Network issue in same vlan
We have two hosts in same vlan with same route rules.

One of them is not able to connect to an outside IP while in another I get "failed: Connection timed out" while testing the connectivity...
1,606
Posted By jacki
Alias help
I am creating subversion pre commit hook on linux to run on client side but its not working and throwing an error -
alias svnbi="plutil *.plist|grep -v OK; if [ $? -eq 1 ] ; then svn ci -m $1 ; fi"...
1,039
Posted By jacki
Clean Older packages
Hi All,

I need a script that automates the following process -

I do a " ls -ltr |awk ... |sort " to get a list of packages within a directory, the packages have date/time stamp on them and...
1,010
Posted By jacki
Perl script help
HI All,

Have a perl script which parses a file (FILE1 has a list of alerts) and sends an email in certain format.

Only thing I need is that for VIPS/hosts having the word test in it should...
9,284
Posted By jacki
nohup: can't detach from console: Inappropriate ioctl for device
Hi!

I am getting a nohup issue on mac osx while trying to start a process through nohup in the startup script.


nohup: can't detach from console: Inappropriate ioctl for device


Please...
1,091
Posted By jacki
Perl or shell script
Hi!



Time and again I have to tag my app configs. I want a script which can automate this process.



1)First I do a svn info to get a list of configs which are pointing to BRANCHES/TAGS...
2,702
Posted By jacki
Empty out the file
Hi All,

I have a piece of perl code in which I DON'T want to delete a file rather empty out the contents, here is the code -

if ( unlink("$opt_b") == 1 ) {
print_log(...
963
Posted By jacki
unique entries needed
Hi All,

I have the following command which returns the output like this -

wget URL|grep hostname|awk '{print $1,$3}'|/usr/bin/perl -nle 'm{"(.*?)".*?//(.*):(\d+)/} and print "$1 $2 $3"'|while...
2,080
Posted By jacki
Thanks Shell_life, can you explain a little abt...
Thanks Shell_life, can you explain a little abt this regex?

-Jack.
2,080
Posted By jacki
Hi All! Here is what I have currently - ...
Hi All!

Here is what I have currently -

curl http://host.domain.com:8000/Jboss/Service.jbs/america?method=geturls|grep host.domain.com |awk '{print $1,$3}'

"OrderApp"...
1,747
Posted By jacki
hi Praveen,Ahmed - I am using Praveen's...
hi Praveen,Ahmed -

I am using Praveen's script -

Additionally I have added unlink to clean the files in the end.

One more thing I want to add the hostname to appname & date in the line and...
1,747
Posted By jacki
Thanks Praveen, in addition, I need to append the...
Thanks Praveen, in addition, I need to append the original alerts to the bottom of the date:appname text -

Tue Apr 19 13:01:03 PDT 2011 : flle system
Tue Apr 19 13:27:13 PDT 2011 : Appname1
...
2,080
Posted By jacki
Shell or perl script needed
Hi!

I have a curl call which gets me the following output:

curl http://hostname1.qa.com:8888/getlist

OUTPUT -

{
"token" = "201119041112";
"apps" = {
"PaymentApp" =...
1,747
Posted By jacki
Perl script needed
For the following command I need a perl script equivalent with a couple of more things -
cat /tmp/mail |grep Appname > /tmp/mail1;cat /tmp/mail >> /tmp/mail1; mail -s "mail subject here"...
3,075
Posted By jacki
Grouping of Nagios alerts
Hi!

I want to group alerts in Nagios and want to know if and how that can be done?

So something like 1 alert for multiple alerts and I am notified only once than multiple times.

I tried...
2,713
Posted By jacki
Thanks Mirni, Here is the code I have come...
Thanks Mirni,

Here is the code I have come up with -

#!/bin/sh

OP=0

exec <"/fs1/ainuser/ain/user-1/list"

while true
do
read APP
if [ "$APP" = "" ]
...
2,713
Posted By jacki
Script help
Hi!

I have the following script which I am using to curl against a file which as few URLs-

#!/bin/sh

RESULT=0

# read all input from the specified file
exec <"$1"

while true
do
read...
3,577
Posted By jacki
su -m <user> passwordless?
Hi!

I am working on mac osx and have a script which prompts for password for a non-root user, can I avoid that?

su -m <user>
Prompts for a password.

Its a startup script and the start up...
1,160
Posted By jacki
Alternative to saving history
Hi!

We have a non-root account in which history is disabled. Is there any other way to save commands that get executed through that account.

I don't have root privileges on the system.
...
Forum: Web Development 12-16-2010
12,515
Posted By jacki
Need to run Nagios Web Interface on a different port
Hi,

During Nagios install we added the following piece of config to apache httpd.conf file and it runs on the regular port 80, now if I want to run this on a different port then what needs to...
2,300
Posted By jacki
Performance issue or something else?
Hi All,

I have the following script which I use in Nagios to check the health of the applications, the problem with it is that the curl part ($TOTAL) does not return anything after running for 2-3...
1,243
Posted By jacki
Script needed...
Hi!

I have a file which has the following entry -



which has different service names with their corresponding URLs.

I want to echo the servicenames and curl each URL and find out if the...
1,271
Posted By jacki
Script needed...
Hi!

I have a file which has a list of host, I want to ssh to each of the first box for an app and grep through the logs for version of the application and look for a certain string "Connection is...
Showing results 1 to 25 of 48

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