I'm receiving an exit code 64 in our batch scheduler (BMC product control-m) executing a PERL script on UX-HP. Can you tell me where I can find a list of exit codes and their meaning. I'm assuming the exit code is from the Unix operating system not PERL. (3 Replies)
I have a shell script with options, one of which should exit the system (logout), however when I select this option it drops down to shell, is there a command other than exit that will close the session completely ? (1 Reply)
Hi
even though I use exit in my first scripts, I am not sure exactly about exit codes.I know there is a relation between return and exit codes, exit 0 means it returned a 0 to indicate there is no error at the end of this point.
But what does it mean:
exit 1 , probably there was an error, OK... (2 Replies)
HI,
I written a shell script to stop my peoplesoft applications.Peoplesoft provides a psadmin utility to stop the application. I used the force shutdown option with it psadmin -c shutdown! -d pskri. When my application process hungs in the background the script is not able to continue and... (3 Replies)
I am running HP-UX & ksh
I have several validation programs that scan log files for error messages.
One of these files scan 3 diff files, thus I have the exit value in a variable and depending on which log-file I am scanning the value changes.
I am not getting the value I expect but a... (1 Reply)
I use a Mac and need to 'echo' a code in >> /etc/hosts
Where is: /etc/hosts?
And how do I do : exit 0 Does : 'fi' mean something too?
:confused:Thanks for any help, Jacqrav:confused: (1 Reply)
Hi
In one of the script I am seeing some thing like exit 7,exit 1,exit 2,exit 3,exit 9,exit6.What is the difference between all of this exit.Can anyone help here please (3 Replies)
Discussion started by: ginrkf
3 Replies
LEARN ABOUT PHP
snmp_set_quick_print
SNMP_SET_QUICK_PRINT(3) 1 SNMP_SET_QUICK_PRINT(3)snmp_set_quick_print - Set the value of$quick_printwithin the UCDSNMPlibrarySYNOPSIS
bool snmp_set_quick_print (bool $quick_print)
DESCRIPTION
Sets the value of $quick_print within the UCD SNMP library. When this is set (1), the SNMP library will return 'quick printed' values.
This means that just the value will be printed. When $quick_print is not enabled (default) the UCD SNMP library prints extra information
including the type of the value (i.e. IpAddress or OID). Additionally, if quick_print is not enabled, the library prints additional hex
values for all strings of three characters or less.
By default the UCD SNMP library returns verbose values, quick_print is used to return only the value.
Currently strings are still returned with extra quotes, this will be corrected in a later release.
PARAMETERS
o $quick_print
-
RETURN VALUES
No value is returned.
EXAMPLES
Setting quick_print is often used when using the information returned rather than displaying it.
Example #1
Using snmp_set_quick_print(3)
<?php
snmp_set_quick_print(0);
$a = snmpget("127.0.0.1", "public", ".1.3.6.1.2.1.2.2.1.9.1");
echo "$a
";
snmp_set_quick_print(1);
$a = snmpget("127.0.0.1", "public", ".1.3.6.1.2.1.2.2.1.9.1");
echo "$a
";
?>
The above example will output something similar to:
SEE ALSO snmp_get_quick_print(3).
PHP Documentation Group SNMP_SET_QUICK_PRINT(3)