10-04-2001
Well....
Perhaps my use of the term 'tty' was inappropriate.
Our application is a Warehouse management system that uses a large network of wireless PC's running terminal emulators. Each wireless PC (natch) has an IP address. It would be nice to be able to capture this information for logging / debugging purposes. We are maintaining an error log table in Oracle, and we would like the client app to be able to include the IP in error messages in this table.
We
can discover the IP addresses of these sessions from a host command line as follows:
who -uH am i
...and examining the "COMMENTS" column. Hence we DO know that the HPUX server has access to this information, and that the 'who' command can retrieve it. If only I had the source code for 'who' ....
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
2. Infrastructure Monitoring
I am trying to install net-snmp on an HPUX box. I am getting the fallowing error message when I try to run the snmpconf file. I installed the fallowing version of
net-snmp
net-snmp-5.0.10.2-HP-UX_B.11.11_9000_800.tar and my
HPUX box is version
HP-UX commnms B.11.11 U 9000/800... (2 Replies)
Discussion started by: krisarmstrong
2 Replies
3. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
4. Programming
Hi gurus, I need to call php function for fetching data from mysql but I dont want to move internal row pointer (IRP) forward. Or even get the actual IRP position then fetch data and move IRP back to remembered position. Function mysql_data_seek() is not suitable for my example because I am trying... (1 Reply)
Discussion started by: wakatana
1 Replies
5. HP-UX
Any clue why I'm getting the error below?
I would greatly appreciate any help. HP ITRC is already engaged since this morning but until now I haven't got any resolution. I'm wondering if anybody out there got an idea on how to fix this. Thanks in advance.
This is my system:
HPUX11i-OE-Ent... (2 Replies)
Discussion started by: msgameng
2 Replies
6. Shell Programming and Scripting
Hi All,
Need you help.
I have HPUX “bdf” output, I need % to be align to right side. if you see there are long
file systems lv so i cant do column formatting.
Any idea or best way to align the "%" to be right side.
/dev/emcvg02/lv01 52428800 29931 49123947 0% /abc/disco/iasbin... (7 Replies)
Discussion started by: ashanabey
7 Replies
7. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
8. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
9. AIX
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
dhcp6c(8) System Manager's Manual dhcp6c(8)
NAME
dhcp6c - DHCPv6 client daemon
SYNOPSIS
dhcp6c [ -vfI ] [ -r all | <address...> ] [ -R <address...> ] [ -P <address...> ] [ -c pathspec ] <interface>
DESCRIPTION
dhcp6c is an implementation of the DHCPv6 client.
Using DHCPv6 messages and DHCPv6 options, dhcp6c is used to request and configure IPv6 addresses and host network configuration information
(e.g., DNS) for a network interface from the DHCPv6 server. It can also be used as a requesting router to request and configure Prefix Del-
egation for a subnet.
The assigned IPv6 addresses and prefixes are saved as /var/lib/dhcpv6/client6.leasesXXXXXX; this file is used to request the same addresses
and prefixes from the DHCPv6 server. Each dhcp6c client has a client DHCP Unique Identifier (DUID); the DUID file is saved as
/var/lib/dhcpv6/dhcp6c_duid. The dhcp6c client configuration is defined in /etc/dhcp6c.conf.
Interface names are specified according to your operating system's conventions. On Linux, this is typically eth0, eth1, and so on.
OPTIONS
-c pathspec
Specifies the configuration file for dhcp6c
-v Enables dhcp6c to print debugging messages.
-f Enables dhcp6c to work as a foreground application. This option is helpful for debugging.
-I Allows dhcp6c to request network information only. Do not configure the interface.
-r all | <addresses...>
Allows dhcp6c to release the addresses specified. This option is used only when releasing addresses explicitly.
-R <addresses...>
Allows dhcp6c to request the specified named addresses.
-P <addresses...>
Allows dhcp6c to request the specified prefix delegation addresses.
FILES
/etc/dhcp6c.conf
Contains DHCPv6 client configuration information.
/var/lib/dhcpv6/dhcp6c_duid
Contains DHCPv6 client DUID.
/var/lib/dhcpv6/client6_leasesXXXXXX
Contains DHCPv6 client assigned IPv6 addresses and prefixes.
ERRORS
Check /var/log/messages if there are errors.
SEE ALSO
dhcp6c.conf(5)
BUGS
Report bugs via http://fedorahosted.org/dhcpv6/
AUTHORS
See http://fedorahosted.org/dhcpv6/wiki/Authors
dhcp6c(8)