04-29-2019
Your OS is 6.1 what? UNIX is a standard, not an operating system these days.
10 More Discussions You Might Find Interesting
1. IP Networking
How do you find mac address and active new card. (1 Reply)
Discussion started by: wmetz
1 Replies
2. UNIX for Dummies Questions & Answers
I don't have root access. How do I find i.p address of our sun server? Thanks. (4 Replies)
Discussion started by: vpotluri
4 Replies
3. UNIX for Advanced & Expert Users
Hi, I am wondering how I can find the network address under following situation.
Things available:
1. An active network drop without knowing any details about the network.
2. I have windows, Linux, and Solaris machine available to use.
Things to achieve:
1. Find out the... (5 Replies)
Discussion started by: jiashi2
5 Replies
4. HP-UX
I'm trying to find the IP address of a print queue. I tried this, but nada.
cat /etc/hosts | lp -d lp01
Looked in the hosts file but it's not there (2 Replies)
Discussion started by: abNORMal
2 Replies
5. Cybersecurity
Hi,
I am trying to write a script which would figure out who has run which command and their IP. As i dont have any clue as to which commands would do this job, i request some gurus to help me on this.
Thanks
Vishwas (2 Replies)
Discussion started by: loggedout
2 Replies
6. AIX
AIX:Command to get netaddress/subnet address command in IPv4/IP6
Can anybody help us with a command to retrieve netaddress/subnet address command in IPv4/IP6 on aix machine.
net/subnet address is in the format 172.16.212.0(signifies all 255 machines in an IPv4 network) (2 Replies)
Discussion started by: rookie8278
2 Replies
7. UNIX for Dummies Questions & Answers
I am trying to determine if there are several url/host names for an IP address. Is there a UNIX command to find ALL host names for an IP address?
Thank you in advance. (3 Replies)
Discussion started by: rukasu
3 Replies
8. UNIX for Dummies Questions & Answers
Hi Guys,
I want to find another(Local host) machine IP address from my machine.. We are all connected in the same server, I mean same LAN.
What i done is
Connected with that user machine using SSH and SU.. After that i used IFCONFIG but it shows my Ip address. Can not able to get the... (8 Replies)
Discussion started by: Adhi
8 Replies
9. UNIX for Dummies Questions & Answers
any useful command to find and e-mail address hardcoded into a cfg file on an specific server?
I already tried with::
find . -type f | xargs grep -l "nobody@foundstone.com"
Thanks!! (1 Reply)
Discussion started by: JLo5621
1 Replies
10. Shell Programming and Scripting
Hi,
I am trying to write a script that will check all used IP on the server and then print me an addressees that are not in use. Problem is in comparing two variables
#!/bin/bash
NETSTAT=$(netstat -ntp | awk '{ print $4 }' | grep -v "127.0.0.1" | cut -d ":" -f1 | grep "^"|sort | uniq )... (6 Replies)
Discussion started by: nemesis911
6 Replies
LEARN ABOUT CENTOS
xtappaddinput
XtAppAddInput(3) XT FUNCTIONS XtAppAddInput(3)
NAME
XtAppAddInput, XtRemoveInput - register and remove an input source
SYNTAX
XtInputId XtAppAddInput(XtAppContext app_context, int source, XtPointer condition, XtInputCallbackProc proc, XtPointer client_data);
void XtRemoveInput(XtInputId id);
ARGUMENTS
app_context
Specifies the application context that identifies the application.
client_data
Specifies the argument that is to be passed to the specified procedure when input is available.
condition Specifies the mask that indicates a read, write, or exception condition or some operating system dependent condition.
id Specifies the ID returned from the corresponding XtAppAddInput call.
proc Specifies the procedure that is to be called when input is available.
source Specifies the source file descriptor on a UNIX-based system or other operating system dependent device specification.
DESCRIPTION
The XtAppAddInput function registers with the Intrinsics read routine a new source of events, which is usually file input but can also be
file output. Note that file should be loosely interpreted to mean any sink or source of data. XtAppAddInput also specifies the conditions
under which the source can generate events. When input is pending on this source, the callback procedure is called.
The legal values for the condition argument are operating-system dependent. On a UNIX-based system, the condition is some union of XtInpu-
tReadMask, XtInputWriteMask, and XtInputExceptMask. The XtRemoveInput function causes the Intrinsics read routine to stop watching for
input from the input source.
SEE ALSO
XtAppAddTimeOut(3),XtAppAddSignal(3)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
BUGS
In ANSI C it is necessary to cast the condition to an XtPointer, e.g.:
XtAppAddInput(app_context,
source,
(XtPointer) (XtInputReadMask | XtInputWriteMask),
proc,
client_data);
X Version 11 libXt 1.1.4 XtAppAddInput(3)