04-02-2005
SunOS/Solaris Links
Last edited by DukeNuke2; 05-15-2013 at 02:54 AM..
Reason: add opensolaris
These 8 Users Gave Thanks to Perderabo For This Post:
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I have been facing a telnet problem with our SunOS 5.7 box. Initially we were facing porblems in login both from the console as well as through telnet. The machine was hard-booted after which login from console is possible, but telnet connection is not.
The error that is displayed is... (1 Reply)
Discussion started by: manoj_gopal
1 Replies
2. UNIX for Dummies Questions & Answers
Sorry I think someone already pointed out this but I couldn't find it.
Please tell me what is the difference between SunOS Version and Solaris Version.
What is the purpose of maintaining these two things ?
Thanks (2 Replies)
Discussion started by: champion
2 Replies
3. UNIX for Dummies Questions & Answers
Ok I have searched the archives but I don't seem to have a satisfactory answer for my questions.
1, What are the differences between the two in terms of kernel (I'm used to /stand for all)
2, What hardware do they run on?
3, Are they both platforms?
A frustrated HP fan. (3 Replies)
Discussion started by: mattd
3 Replies
4. UNIX for Advanced & Expert Users
I have compiled binary file using "cc" on SunOS 5.8 and the same binary file i have copied to SunOS 5.9 and it is giving me core dump error.I want to know whether migration of compiled code from lower version to higer version created this problem. how can i solve this problem.I am pasting the core... (1 Reply)
Discussion started by: Arvind Maurya
1 Replies
5. Solaris
I am doing a scp (directory)from one solaris box to another.The problem is that all links present in that directory also get copied .I do not want the links to get copied .currently I am using
following syntax
scp -rvp pcserver info@appudemo.sea.us.wam.net:/home/info
I checked the man... (1 Reply)
Discussion started by: u449064
1 Replies
6. Solaris
Hi Guys,
Could you please clarify me doubts.
SunOS and Solaris are they same. ?
What is difference between forte and studio ?
Thanks,
Nagaraj G (2 Replies)
Discussion started by: ennstate
2 Replies
7. Solaris
Hi,
I am using solaris 10 OS and Bash shell.I am looking for the command to check whether link is exits or not.if not i have to create it
Requirement here is say in the server1 i have a directory /spa/5.0.in that directory there are so many links exist.
Example links:
genver ->... (7 Replies)
Discussion started by: muraliinfy04
7 Replies
8. Post Here to Contact Site Administrators and Moderators
7 out of 8 links in one of the two Solaris Sticky threads are dead:
https://www.unix.com/solaris/17943-sunos-solaris-links.html
Could a moderator update them or unlock the thread to allow contributors to provide up to date replacement links ? (3 Replies)
Discussion started by: jlliagre
3 Replies
LEARN ABOUT PHP
oci_set_action
OCI_SET_ACTION(3) OCI_SET_ACTION(3)
oci_set_action - Sets the action name
SYNOPSIS
bool oci_set_action (resource $connection, string $action_name)
DESCRIPTION
Sets the action name for Oracle tracing.
The action name is registered with the database when the next 'roundtrip' from PHP to the database occurs, typically when an SQL statement
is executed.
The action name can subsequently be queried from database administration views such as V$SESSION. It can be used for tracing and monitor-
ing such as with V$SQLAREA and DBMS_MONITOR.SERV_MOD_ACT_STAT_ENABLE.
The value may be retained across persistent connections.
PARAMETERS
o $connection
-An Oracle connection identifier, returned by oci_connect(3), oci_pconnect(3), or oci_new_connect(3).
o $action_name
- User chosen string up to 32 bytes long.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
Setting the action
<?php
$c = oci_connect('hr', 'welcome', 'localhost/XE');
// Record the action
oci_set_action($c, 'Friend Lookup');
// Code that causes a roundtrip, for example a query:
$s = oci_parse($c, 'select * from dual');
oci_execute($s);
oci_fetch_all($s, $res);
sleep(30);
?>
// While the script is running, the administrator can see the actions
// being performed:
sqlplus system/welcome
SQL> select action from v$session;
NOTES
Note
Oracle version requirement
This function is available when PHP is linked with Oracle Database libraries from version 10 g onwards.
Tip
Performance
With older versions of OCI8 or the Oracle Database, the client information can be set using the Oracle DBMS_APPLICATION_INFO pack-
age. This is less efficient than using oci_set_client_info(3).
Caution
Roundtrip Gotcha
Some but not all OCI8 functions cause roundtrips. Roundtrips to the database may not occur with queries when result caching is
enabled.
SEE ALSO
oci_set_module_name(3), oci_set_client_info(3), oci_set_client_identifier(3).
PHP Documentation Group OCI_SET_ACTION(3)