10 More Discussions You Might Find Interesting
1. AIX
I have a requirement and below is the detail.
Create a shell script and needs to run in server "a".
Connect to teradata database server "b".
execute the .sql file from server "a"
Save the output of the query to a file in server "a"
Schedule this shell script to run every day for every 4... (1 Reply)
Discussion started by: MadhuSeven
1 Replies
2. AIX
Hi All,
Im looking for a command that can remotely connect to another AIX machine and execute scripts present in that server(Possible scenarios are a complete a restart of 3 servers in a cluster through a single script execution present in one of the servers). Im relatively new to AIX and... (5 Replies)
Discussion started by: Vishakh
5 Replies
3. SuSE
I am trying to establish connection with SQL server 2008 through ODBC on Linux. First step would be
1. How to verify if ODBC driver for SQL server is installed on Linux OS.
PLease let me know how to do it/ if there is any link which could be helpful in this context.
thanks in advance (1 Reply)
Discussion started by: cvsanthosh
1 Replies
4. Shell Programming and Scripting
I need to connect sql server 2008 from korn shell script. Can you please give me the script which connects sql server 2008 from korn shell script. (2 Replies)
Discussion started by: santoshhegde
2 Replies
5. Emergency UNIX and Linux Support
Hi All
Can any one please help me about
How to connect Unix with Sql Server 2005
I want to do it urgently and i didn't find the way. (14 Replies)
Discussion started by: parthmittal2007
14 Replies
6. AIX
Hi,
I have a task requested by my boss to create a script to enable a server to connect to a vpn network and then to connect to another server to upload some data...
How can I connect to a vpn network from AIX server? via telnet? ssh?
I have tried to google but mostly the answers are... (1 Reply)
Discussion started by: mushr00m
1 Replies
7. Shell Programming and Scripting
Hi all,
I need to connect to SQL server from shell script. Then need to execute queries from shell script as below
1. To compare values of an array with SQL table's entry.
I am using solaris-5.1 to run shell script and want to connect to SQL-5.1 which is installed on SantOS.
Kindly let... (3 Replies)
Discussion started by: amitbhelave
3 Replies
8. Solaris
Hi all,
I need to connect to SQL server from shell script. Then need to execute queries from shell script as below
1. To compare values of an array with SQL table's entry.
Kindly let me know on how to do this
Thanks,
Double post. Continue here (0 Replies)
Discussion started by: amitbhelave
0 Replies
9. Shell Programming and Scripting
Hi all,
I need to connect to SQL server from shell script. Then need to execute queries from shell script. Kindly let me know on how to do this
Thanks,
Ananthi.U (1 Reply)
Discussion started by: ananthi_ku
1 Replies
10. Solaris
Dear All
Now I can't connect from VB to Sybase on Unix. How could I do?
Please help me. (0 Replies)
Discussion started by: Than Chanroeun
0 Replies
SNMP2_WALK(3) 1 SNMP2_WALK(3)
snmp2_walk - Fetch all theSNMPobjects from an agent
SYNOPSIS
array snmp2_walk (string $host, string $community, string $object_id, [string $timeout = 1000000], [string $retries = 5])
DESCRIPTION
snmp2_walk(3) function is used to read all the values from an SNMP agent specified by the $hostname.
PARAMETERS
o $host
- The SNMP agent (server).
o $community
- The read community.
o $object_id
- If NULL, $object_id is taken as the root of the SNMP objects tree and all objects under that tree are returned as an array. If
$object_id is specified, all the SNMP objects below that $object_id are returned.
o $timeout
- The number of microseconds until the first timeout.
o $retries
- The number of times to retry if timeouts occur.
RETURN VALUES
Returns an array of SNMP object values starting from the $object_id as root or FALSE on error.
EXAMPLES
Example #1
snm2_pwalk(3) Example
<?php
$a = snmp2_walk("127.0.0.1", "public", "");
foreach ($a as $val) {
echo "$val
";
}
?>
Above function call would return all the SNMP objects from the SNMP agent running on localhost. One can step through the values with a
loop
SEE ALSO
snmp2_real_walk(3).
PHP Documentation Group SNMP2_WALK(3)