How to get IP Address of all the clients
Hi,
I am useing oracle 8i on sun solaris and clients are of windows
when quering v$session it gives many details
but does not gives the IP_Address of the clients.
I had used SYS_CONTEXT('USERENV','IP_ADDRESS') but
it gives the details of only the current session.
But I want the IP_Address of all the clients connected and
shown in v$session.
Regards
Arun Tayal
Hi,
From column MACHINE in V$SESSION, you can get the I.P. address:
SQL> select UTL_INADDR.GET_HOST_ADDRESS('localhost') from dual;
UTL_INADDR.GET_HOST_ADDRESS('LOCALHOST')
127.0.0.1In this sample I used localhost, but you can use the column. It might require some additional work (to escape windows domains for example - and ensure all the hosts are known to the system via DNS).
HTH,
Yoann.
Similar Messages
-
How to get a list of all the clients logged in to the network
hiii
how can i fetch a list of all the users who are currently logged on the network...so that the list can then be sent to a database..plz tel me what techniqe can followed to do this....thanxhiii
how can i fetch a list of all the users who are
currently logged on the network...Easy, nobody logs onto the network so this is always nobody.
You may be asking, how do I determine all the users who have logged in to all the PCs on the network.
Write a program which is added to each user's Startup a program which updates the database with their details. If you have network scripts, this can be added to the user' network login batch script. -
My shuffle is not syncing all of the selected songs & I can't figure out how to get it to sync all the checked songs (syncs some, but not others). Please help!
Perhaps this article can help.
Syncing music to iPod shuffle
B-rock -
How to get he names of all the local drives that are present in hdd
Hi ABAP Experts,
I want to get the names of all the local drives that are present in hdd on local system using
ABAP. Is this technically possible. If so how.
Thanks & Regards,
Aexandr CiunchikHi Alexandr,
My workaround.
REPORT zztest.
DATA : len TYPE i,
off TYPE i,
directory TYPE string,
result(1).
len = STRLEN( sy-abcde ).
DO len TIMES.
off = sy-index - 1.
CONCATENATE sy-abcde+off(1) ':' INTO directory.
CONDENSE directory NO-GAPS.
CALL METHOD cl_gui_frontend_services=>directory_exist
EXPORTING
directory = directory
RECEIVING
result = result
EXCEPTIONS
cntl_error = 1
error_no_gui = 2
wrong_parameter = 3
not_supported_by_gui = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
IF result EQ 'X'.
WRITE : / 'Drive : ',
directory.
ENDIF.
ENDDO.
Regards,
AS -
How to get file input stream from the client machine by JSF Fileupload API?
Dear Friends,
How to get the file input stream from the client machine by JSF HtmlFileupload or fileupload API. At present, if i execute the file upload code in the client machine, it is able to get the local path of the file and looking for the file in server machine. So i am getting FileNotFoundException.
E.g., If a file is located at client machine at following location means "C:\Test\Test.txt",
uploadClass.getFileuploadComponent().getFilename().toString() returns "C:\Test\Test.txt". But it is looking for that file in server and throwing FileNotFoundException.
Please post your replies soon.
Thanks,
JPDepends on which version of JSF you're using. If JSF 1.2, I wouldn't even bother trying to hack this into JSF itself unless you can use something like Seam 2 or richfaces.
http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/rich_fileUpload.html
http://docs.jboss.org/seam/2.2.1.CR3/reference/en-US/html/controls.html#d0e29259 (look for s:fileUpload)
But if I were you, a simple non-jsf form with a servlet works best for taking file uploads.
As for JSF 2.0, there are other ways of getting it done.
http://balusc.blogspot.com/2009/12/uploading-files-with-jsf-20-and-servlet.html -
How to get MAC Address for maintaning unique client id at server side?
Hi All,
Can somebody tell how can i get MAC id for maintaing Unique client id at server.
or is there any alternative way to do this?
Thanks in advance..
CKUsually people just use cookies for that.
-
How do i get a list of all the apps i have purchased this year
how do i get a list of all the apps have purchased this year and how much each app was
Check your iTunes purchase history (click your email address in the upper right corner in the iTunes App Store-> log in -> click Purchase History). This gives you a comprehensive list of apps you've purchased.
Cheers, Tom -
I moved iTunes folder location, now all my personal song ratings and playlists are gone. How can I get them back? All the iTunes files are intact, just in a new location. Running iTunes 11.1.5.5 on Windows 7
Put everything back the way it was.
Them move the folder correctly.
http://support.apple.com/kb/ht1364 -
How do you get a list of all the trigger DDLs?
I want to get a list of all the DB trigger DDLs of owner 'ABS'. I want to do it using 1 SQL statement.
This is what I ran:
SELECT
TO_CHAR(DBMS_METADATA.GET_DDL('TRIGGER', TRIGGER_NAME, 'ABS'))
FROM
ALL_TRIGGERS
WHERE
OWNER = 'ABS';
I get this error: [1]:
(Error): ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: 4414, maximum: 4000)
Then I looked up in the web and they ask to use DBMS_LOB.SUBSTR instead. So I do that:
SELECT
DBMS_LOB.SUBSTR(DBMS_METADATA.GET_DDL('TRIGGER', TRIGGER_NAME, 'ABS'), 32767, 1)
FROM
ALL_TRIGGERS
WHERE
OWNER = 'ABS';
Now I get this error:
[1]: (Error): ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06512: at line 1
Looks like you cannot show more than *4000* chars. There are 43 triggers whose DDL is more than 4000 chars long.
Why is this?
How can I solve my problem?
Edited by: Channa on Feb 16, 2010 9:45 PMHerald, fantastic news. SET LONG did the trick.
But I had to put a very big value. 32000 was not enough. Otherwise some of the triggers (big ones) got cut off.
This is my complete code which did it.
SPOOL F:\Channa\zz_zzTemp\Binuka\OutPut.txt
set trimspool on
set pages 0
set long *1000000000*
set linesize 32767
SET TERMOUT OFF
SELECT DBMS_METADATA.GET_DDL('TRIGGER', TRIGGER_NAME, 'ABS')
FROM ALL_TRIGGERS
WHERE OWNER = 'ABS' AND trigger_name NOT LIKE 'BIN$%'
SPOOL OUT
THANKS A LOT. REALLY APPRECIATE IT.
P.S: I had to include the NOT LIKE 'BIN$%' in the where clause because otherwise I got this error:
ERROR:
ORA-31603: object *"BIN$cqXDSqghrFngQKjAJAovgw==$0"* of type TRIGGER not found in
schema "ABS"
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_METADATA", line 2805
ORA-06512: at "SYS.DBMS_METADATA", line 4333
ORA-06512: at line 1
no rows selected
I THINK BIN$... triggers are dropped triggers in the DB recycle bin???
Edited by: Channa on Feb 17, 2010 2:58 AM
Edited by: Channa on Feb 17, 2010 3:01 AM -
I am having problems with the InDesign it won't download it keeps saying extract when its about 30% then it says failed. How can i get it to download all the way?
Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new). Try each of these in order until the issue is resolved.
-
my iphone has calendar history for 10 years. my icloud only shows about 6-8 weeks back. how can i get icloud to show all the calendar events in the past that are on iphone?
I encountered a similar problem when finally (and with much regret) I was obliged to migrate my MobileMe to iCloud last month.
Many years of iCal history vanished without trace during this automated transition by Apple and iCloud then kindly synched the resulting vacuum back to iCal on my Mac.
Fortunately, iCloud wasn’t able to decimate iCal on my other Macs because (1) they are still running Snow and (2) I had switched them off as a precaution. Good job I did.
My solution was to export my iCal data on one of those other Macs to a backup file – then I imported that backup file into my Lion-updated Mac’s iCal. That restored all the iCloud-deleted iCal data back on to my Mac and this was promptly synched automatically to my Calendar on iCloud. So now it’s all there and showing.
Perhaps you could do something similar? In the meantime, be very careful not to let iCloud’s amnesia get synched to your iPhone (and other devices).
Experience has taught me never to trust an “upgrade” until it is proven to be working correctly and always to keep in reserve another Mac with a properly-functioning system and all synching to it switched off... -
How can i get a list of all the apps i purchased last year?
i would like to get a summary of all the apps i purchased as well as the prices
Open App Store and sign in with your Apple ID. Click on the Purchase icon in the toolbar. This will list out all your App Store purchases. It will not list prices, but you can look those up for each purchased application.
There should also be an account summary. Click on the Account link under Quick Links on the right. -
How to get all the client independent tables in SCM
Hi Guys,
I want to know all the client independent table is SCM. Can you guys help me please.
Regards,
KumarHi Kumar,
Generally, Data of SAP system control data, language indicators, and transaction
codes are stored in client independent tables.
A table attribute in the Data Dictionary indicates whether a table is client-specific
or client-independent.
Regards
R. Senthil Mareeswaran. -
How to get MAC address from IP address in LAN
Hi all,
How to get MAC address from IP address in LAN (windows or any OS), I would have all IP addresses of my LAN, so I would like to know all MAC address.
Code examples are highly appreciated.
Thanks & Regards,
abel...abel wrote:
Yeah that is only working for local system, but how to get remote system's MAC ..?
Thanks for quick reply ...
Edited by: abel on Jan 28, 2009 12:10 AMIt is my understanding that only one person ever found the holy grail which you seek. But sadly [_he's dead_|http://forums.sun.com/profile.jspa?userID=649366]
As a curious aside how did you manage to get the list of IPs? -
My e-mail has quit updating. Anybody know why or how to get it started back? The result is that I can not get e-mails on my phone.
Thank you for the info re. the main menu. Your answer I used worked; however, the menu bar all the way across is solid black. The only way I can find out the names on the menu is to point the cursor from left to right over the black bar to find "file" "edit" tools", etc. What do I need to do to get these menu titles to be seen?
As regarding the GMail --the menu bar used to have an envelope symbol which was white and outlined in red. That disappeared. I googled "mail.google.com" to try to get back my email. This didn't work. I then tried to get a different email address and password--after 8-19 attempts, this never worked. My other email (sbcglobal.net) has never returned. So I don't know where that went or how to get it back
Maybe you are looking for
-
In solution manager system not showing all the system in SLD
Dear Gurus, During the installation of solution manger sysyem i selected as a Central SLD as solution manager Later installed ECC 6.0 and EP systems selected SLD as solution manager system during the instllation. If i login in to http://hostname:5000
-
ATI Graphics card from a T60 for a Z series???
Is it possible for me to switch an ATI grpahics card from my T60 to a Zseries laptop?
-
I did a quick screen capture, and as you can see, the picture on the right (saturated) is the "unedited" version in lightroom, and the picture on the left is the raw file opened (used IrfanView). As you can see, my original file is quite flat, and I
-
Is there an easy way to free up memory without deleting important files?
I am trying to free up memory on my MacBook without deleting important files. I'm not sure which files I can delete permanently without interfering with the operating system or applications. Any advice?
-
Macbook Pro - It won't let me re-install OSX (Loading won't finish).
Okay so I erased my MacBook Pro completely. Everything was fine until I re-installed, attempted* to re-install the OS X. Everything went perfectly until it kept saying 30 minutes remaining and the loading would not finish. So I would re-install it, t