Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: zeekblack
7,157
Posted By zeekblack
PHP: Search Multi-Dimensional(nested) array and export values of currenly worked on array.
Hi All,

I'm writing a nagios check that will see if our ldap servers are in sync...

I got the status data into a nested array, I would like to search key [3] of each array and if "OK" is NOT...
1,822
Posted By zeekblack
thanks for the response...by you doing that it...
thanks for the response...by you doing that it cause me to switched my train of thought...

see....what I posted on the forum, I wraped in the "TABLE" tags for clarity, whiched auto-chomped out all...
1,822
Posted By zeekblack
PHP: how can I delete empty/NULL elements from a multi-dimensional array.
Hi all

I have a file that i'm running and exec(cat ./dat) against..and putting its contents into any array, then doing an exploding the array into a multi-dimension array...
The 15...
2,156
Posted By zeekblack
HELP: compare floating point variables??
Hi All,

I got this script that pulls the Amps value from our RPC's , I basiclly want to compare the valued with a "limit" value -- if the numbers match or are greater than the definded value ...do...
1,665
Posted By zeekblack
Thanks Dragon, my seperator is ";"...
Thanks Dragon,

my seperator is ";" (semi-colon)

I'll give this syntax a try...

Also, would you know how to tell AWK to print every column EXCEPT column $3 ?

I could not figure that...
1,665
Posted By zeekblack
Hi Dragon, my seperator is ';' (semi-colon) ...
Hi Dragon,

my seperator is ';' (semi-colon)

Also, is there a better way to tell AWK to print all columns except column $3 ?

Thanks so much for you help!...i'll try this out
1,665
Posted By zeekblack
need to insert two columns (or two feilds) at the begining of the table
Hey guys/gals,

So here is what i'm starting with...its a Solaris patch diag output.
bash-3.0# pca -l
Using /var/tmp/patchdiag.xref from Oct/20/08
Host: seiftsx4140 (SunOS...
68,858
Posted By zeekblack
Run shell commands via Iplanet HTML webpage/button?
Hey guys,

I got a issue here...

we have a development box and a UAT box that our webmasters use, they do the webpage development on the development box and and save changed files to a...
14,370
Posted By zeekblack
help: infinant loop script - host ping test
need to check on some hosts and send an email if there status changes

I wanna put together a script in bash that will allow me to check the up/down state of a single host via ping

i want it to...
17,931
Posted By zeekblack
ok, so this is how far i've gotten so far....the...
ok, so this is how far i've gotten so far....the trying to get the script to check if the PID of the httpd process exists...if it does not..send a email stating so. If the HTTPD process does exist,...
17,931
Posted By zeekblack
Thanks a bunch Glen....just what the doc ordered ...
Thanks a bunch Glen....just what the doc ordered ;)

bash-3.00# ptree |grep [h]ttpd |grep -v grep |awk '{print $1}'
21679
21680
21681
21682
bash-3.00# ptree |grep [h]ttpd |grep -v grep |awk...
17,931
Posted By zeekblack
I tried that...did seem to like that one ...
I tried that...did seem to like that one

bash-3.00# ptree |grep -m 1 "[h]ttpd" |awk '{print $1}'
grep: illegal option -- m
Usage: grep -hblcnsviw pattern file . . .
bash-3.00# pwd
/...
17,931
Posted By zeekblack
how would i be able to just verbose the first...
how would i be able to just verbose the first line of this output... I have the ptree showing the parent/child processes... I want it to print just the parent..which seems to be the first line in the...
17,931
Posted By zeekblack
thank you,will read!
thank you,will read!
17,931
Posted By zeekblack
btw, do any of you guys know where I can get a...
btw, do any of you guys know where I can get a list of these kind of directives and what they do?

Im trying to get better at shell scripting....but its like trying to write a letter without...
17,931
Posted By zeekblack
thank you so very much... I HAVE search countless...
thank you so very much... I HAVE search countless books and searched the entire library on www.books24x7.com and safair.orielly.com and none of then could tell me this...

i'll be a regular on this...
17,931
Posted By zeekblack
Script to check status of a PID
i'm just learning scripting, and have been banging my head against this

I want to check if my WAS6 java process is running and if so..echo me a messages. If not then echo me a different messages...
4,300
Posted By zeekblack
"make" help
Hi all,
i am running solaris 9 on a fully populated e450, i'm trying to install apache 2.0
i do the standard "./configure" and that executes and completes without and errors
then i try the "make"...
Showing results 1 to 18 of 18

 

Featured Tech Videos

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