Hi all, can someone tell me the easiest was to get disk info from a console.
I manage headless servers, and would like to collect the specs on hard drives installed without looking it up through Sun.
The boot messages only tell me the size/name e.g. 'Sun36G'
I want to know the rotation... (1 Reply)
Hi
I'm trying to add interbase.so to php.ini but i can't, the error says Unable to load ../../.../extensions/interbase.so - libgds.so on ... no such file or directory on line 0
But all the files are created correctly on their folders
Any idea? (1 Reply)
Hi :
I have a e450 sun server that I just started up and I connect my laptop to the serial connection using a null modem cable and it just does not connect.
I use hyperterminal, I dont connect a keyboard to the sun machine?
Any ideas?
Thanks a lot
Al (3 Replies)
Hey guys i got this error in my messages:
warning : mod_load: cannot load module sbd
- I dont know anything about this.
- How do i verify if there is a module sbd
- What are the reasons modules cant be loaded (1 Reply)
Hi all,
unable to load console info in SUNMC 4.0
in alarm it is giving error info i.e..Agent on host (.....),1161 port not responding.
Iam using M9000 server solaris 10
plz try to solve the problem
Regards
spandhan (0 Replies)
Hi
I was trying to execute a java file from Unix. I am using a JDBC connection in this program.
XXXXX/test/nirmal/Java > ls -lrt
drwxrwxrwx 3 ideasm10 ide 3 Jul 7 11:01 classes
drwxrwxrwx 3 ideasm10 ide 3 Jul 7 11:01 src
drwxrwxrwx 2 ideasm10 ide ... (0 Replies)
My intention is to log the output to a file as well as it should be displayed on the console > I have used tee ( tee -a ${filename} ) command for this purpose. This is working as expected for first few outputs, after some event loggin nothing is gettting logged in to the file but It is displaying... (3 Replies)
When trying to connect to console, I am getting the below error.
plathwsvcd: Another instance is running.
plathwsvcd: Another instance is running.
plathwsvcd: Another instance is running.
plathwsvcd: Another instance is running.
INIT: Id "plhw" respawning too fast: disabled for 5 minutes
... (3 Replies)
I have a code fragment
#dosomething
(
#do many things
) |tee -a zzz.log
#dosomething
I want a varialbe var
if var =1, print the info in (#do many things ) to console, if var=0, not print the info to console (1 Reply)
Discussion started by: yanglei_fage
1 Replies
LEARN ABOUT PHP
snmpwalk
SNMPWALK(3) 1 SNMPWALK(3)snmpwalk - Fetch all theSNMPobjects from an agentSYNOPSIS
array snmpwalk (string $hostname, string $community, string $object_id, [int $timeout = 1000000], [int $retries = 5])
DESCRIPTION snmpwalk(3) function is used to read all the values from an SNMP agent specified by the $hostname.
PARAMETERS
o $hostname
- 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
snmpwalk(3) Example
<?php
$a = snmpwalk("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 snmprealwalk(3).
PHP Documentation Group SNMPWALK(3)