07-14-2009
Local system IP address in UNIX
We have requirement to get the local system IP address of whoever logined the DataBase(sqlplus) or any process in application server.
Actually I connected to application server thru putty and then conencted to Database using sqlplus command.
we have tried below commands :
who -u|grep sqlplus/process ,but we got the server IP adress ,but not the local system IP address.
Can any body plz help how to get IP address..
Thanks in Advance.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hiya all,
How do I get the IP address of my local unix box???
IPconfig - don't exist
nslookup - only for other boxes....
I have my Fedora Server now on the office network. Can ping others, can get onto internet via web proxy....
Also:
How do I create a Drive Share, so our windows... (9 Replies)
Discussion started by: marty 600
9 Replies
2. Shell Programming and Scripting
I needed to get a machine's local IP address when not root (so no ifconfig).
Eventually, I arrived at this convoluted solution that grabs the unique local IP info from netstat...
netstat -n -t | awk '{print $4}' | grep -o "*\.*\.*\.*" |\
grep -v "127.0.0.1" | sort -u
...however I... (5 Replies)
Discussion started by: simonb
5 Replies
3. Shell Programming and Scripting
Hi All,
how to get solaris box local ip addresss in variable, using sed or awk utlities.
Thanks,
Mani Muthu (7 Replies)
Discussion started by: k_manimuthu
7 Replies
4. HP-UX
How do I configure site-local IPv6 address in HP-UX box?
I can get link local IPv6 address automatically when I put IPv6 up.
aps39-88-root# ifconfig lan0 inet6 up (0 Replies)
Discussion started by: kirtikjr
0 Replies
5. BSD
Hi,
Am using FreeBSD7.4/i386
During IPv6 configuration, I added the following in rc.conf as
Restarted IPv6 network using /etc/rc.d/network_ipv6 restart..
My problem is I need to set link local IPv6 address auto-configured..
Is my proceeding right??
I feel something missing to make... (0 Replies)
Discussion started by: Priya Amaresh
0 Replies
6. IP Networking
Im using a X-Terminal in my windows pc to connect to a Linux server.
Is there a way to know my local IP address in my x-terminal console?
Here are few commands which didnt help me:
ss_cc@MGTS5026-13sh1:~> finger
Login Name Tty Idle Login Time Where
loadhlr ... (6 Replies)
Discussion started by: Arun_Linux
6 Replies
7. Debian
I have a new Ethernet device that has a default IP address on a different subnet and need to change it. I have a Debian 6.0 host connected to the device with a crossover cable and have changed the host /etc/hosts and /etc/networks files to the same subnet as the new device and rebooted. Ping... (2 Replies)
Discussion started by: snorkack59
2 Replies
8. IP Networking
when i execute from local machine
ping domainname i get the external ip address but i am on local dns and i expect the local ip address..
using nslookup : no problem
so i cannot find why...
thanks (2 Replies)
Discussion started by: activedms
2 Replies
9. IP Networking
Hi All,
Can you please help me in understanding the relationship between local and foreign address in the output of netstat -an.
Output 1
----------
162.103.162.37.50224 162.103.162.35.9511 49640 0 49640 0 ESTABLISHED
162.103.162.37.50263 162.103.162.35.9512 49640 0... (1 Reply)
Discussion started by: Girish19
1 Replies
10. IP Networking
Hi all,
I am working with SIP protocol and am using SIPp to generate SIP traffic.
But the call is not going through since I get the error;
2015-02-24 14:09:39:330 1424804979.330517: Can't get local IP address in getaddrinfo, local_host='NODE-01', local_ip=''.
My ifconfig output is;
... (2 Replies)
Discussion started by: Junaid Subhani
2 Replies
LEARN ABOUT DEBIAN
roar_vs_new_from_con
roar_vs_new(3) RoarAudio Programmer's Manual roar_vs_new(3)
NAME
roar_vs_stream, roar_vs_new_from_con - Create new VS objects
SYNOPSIS
#include <roaraudio.h>
roar_vs_t * roar_vs_new(const char * server, const char * name, int * error);
roar_vs_t * roar_vs_new_from_con(struct roar_connection * con, int * error);
DESCRIPTION
These calls are used to create new VS objects without a yet connected data connection. They are only helpful if there you want to share a
control connection between multiple streams (generally recommended if using multiple streams to the same server) or need to use some
extended parts of the VS API. If you look for a easy way to open a stream see roar_vs_new_simple(3) and roar_vs_new_from_file(3).
roar_vs_new() opens a new control connection to server server. name is used as application name.
roar_vs_new_from_con() creates a new VS object from the extsing control connection con.
VS objects created via roar_vs_new_from_con() will not close the control connection on roar_vs_close(3).
PARAMETERS
server The server to connect to. NULL for defaults.
name The application name. This should be something the user can use to identify the application. It MUST NOT be the application's
binary name or the value of argv[0].
con The already existing and open control connection to use.
error This is a pointer to a integer used to store the error value in case of error. This can be NULL if not used but it is very recom-
mended to use this error value to report good error messages to the user.
RETURN VALUE
On success these calls return a new VS object. On error, NULL is returned.
EXAMPLES
FIXME
SEE ALSO
roar_vs_new_simple(3), roar_vs_new_from_file(3), roar_vs_close(3), roarvs(7), libroar(7), RoarAudio(7).
RoarAudio June 2011 roar_vs_new(3)