10-25-2016
Hi SerKan...
Did you sucessfully get any code working?
If so could you please share with the rest of us as it would be useful for others needing a similar solution.
Many thanks...
Bazza.
10 More Discussions You Might Find Interesting
1. AIX
Hello, I'm new here and I come from Germany.
At our AIX-ORACLE-System someone has deleted one important file and we'd like to find out who did this, next time.
Is there any command to find out who is connected?
I'm not trying to find out if it's root, etc., I'd like to get the DNS-Name or... (3 Replies)
Discussion started by: Huch
3 Replies
2. Programming
Hello !
I've got a question . I really don't het this point. Let's supose that I have a client connected to a server.
I want the server IMEDIATLY know if the client is diconnected . How can I realize this ? :mad:
Amd I'm just curios about one thing. I have a server and multiple clients... (3 Replies)
Discussion started by: !_30
3 Replies
3. IP Networking
hi...
can anyone pls suggest a few methods to check whether a computer is connected to any network, using the terminal, not GUI.
thanks
eskay (1 Reply)
Discussion started by: eskay_karthik
1 Replies
4. UNIX for Advanced & Expert Users
we have a as400 5rev4 and want to use a rhel server to use as a file server. We exported a drive on the rhel box and then mounted it on the as400. We can see the top directory in our mounted as400 directory but when we attempt access subdirectories we get a no matching object error.
When we open... (2 Replies)
Discussion started by: javagair
2 Replies
5. AIX
Hello everyone.
We have a environment where we have DS8K storage and ES800 storage, the way to check to which storage the box is connected is using the LUN ID I get frm " pcmpath query device " command.
for ex:
75CXX - DS8K storage
26860 - ES 800 Storage
I was told to check... (4 Replies)
Discussion started by: nivaspIND
4 Replies
6. IP Networking
Be Gentle folks, I am a baby OpenSuSe 11.2 user :-)
In windows Vista, there is a world in the systray when you are Internet connected and not just local.
I have searched all over for a .RPM for the Network Manager or another packeg in Suse that can show me the same thing or something close.
... (0 Replies)
Discussion started by: donmaxwelliii
0 Replies
7. UNIX for Dummies Questions & Answers
Hi all
I've been a Debian user since solidly since about 1997 so I'm fairly experienced Linux user as a whole but unfortunately the monoculture has hit be hard recently. I'm working off a Laptop a lot of the time which spends up to 2-4 weeks without an Internet connection. A few weeks ago it... (1 Reply)
Discussion started by: pointyhat
1 Replies
8. UNIX for Dummies Questions & Answers
hi,
good morning.
Anyone can help me out. A trying to ftp from server A to server B.
from server A to B its working fine but from server B to A, its only showing connected only:
finap7 #ftp 10.10.10.210
Connected to 10.10.10.210.
I refresh the inetd but nothing is happening.
Please... (1 Reply)
Discussion started by: kamaldev
1 Replies
9. OS X (Apple)
Been a while since I've been here; I have my iMac and MBpro connected via firewire, and they can see each other when I open the finder windows.
But I'd like to be able to 'see' each computer on the other via the terminal application; and I can't see them right now. I can transfer files via the... (0 Replies)
Discussion started by: Straitsfan
0 Replies
10. IP Networking
May someone can answer this. Anytime I ignite my laptop to go online I see via etherape that I am connected to IANA as shown below. Is my provider redirecting me there, the cable under the sea, what is the reason for this?
This happened with a pretty normal desktop PC, as well with my ancient... (2 Replies)
Discussion started by: 1in10
2 Replies
LEARN ABOUT LINUX
elf_cntl
elf_cntl(3ELF) ELF Library Functions elf_cntl(3ELF)
NAME
elf_cntl - control an elf file descriptor
SYNOPSIS
cc [ flag ... ] file ... -lelf [ library ... ]
#include <libelf.h>
int elf_cntl(Elf *elf, Elf_Cmd cmd);
DESCRIPTION
elf_cntl() instructs the library to modify its behavior with respect to an ELF descriptor, elf. As elf_begin(3ELF) describes, an ELF
descriptor can have multiple activations, and multiple ELF descriptors may share a single file descriptor. Generally, elf_cntl() commands
apply to all activations of elf. Moreover, if the ELF descriptor is associated with an archive file, descriptors for members within the ar-
chive will also be affected as described below. Unless stated otherwise, operations on archive members do not affect the descriptor for the
containing archive.
The cmd argument tells what actions to take and may have the following values:
ELF_C_FDDONE This value tells the library not to use the file descriptor associated with elf. A program should use this command when it
has requested all the information it cares to use and wishes to avoid the overhead of reading the rest of the file. The
memory for all completed operations remains valid, but later file operations, such as the initial elf_getdata() for a sec-
tion, will fail if the data are not in memory already.
ELF_C_FDREAD This command is similar to ELF_C_FDDONE, except it forces the library to read the rest of the file. A program should use
this command when it must close the file descriptor but has not yet read everything it needs from the file. After
elf_cntl() completes the ELF_C_FDREAD command, future operations, such as elf_getdata(), will use the memory version of the
file without needing to use the file descriptor.
If elf_cntl() succeeds, it returns 0. Otherwise elf was NULL or an error occurred, and the function returns -1.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Stable |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
elf(3ELF), elf_begin(3ELF), elf_getdata(3ELF), elf_rawfile(3ELF), libelf(3LIB), attributes(5)
NOTES
If the program wishes to use the ``raw'' operations (see elf_rawdata(), which elf_getdata(3ELF) describes, and elf_rawfile(3ELF)) after
disabling the file descriptor with ELF_C_FDDONE or ELF_C_FDREAD, it must execute the raw operations explicitly beforehand. Otherwise, the
raw file operations will fail. Calling elf_rawfile() makes the entire image available, thus supporting subsequent elf_rawdata() calls.
SunOS 5.10 11 Jul 2001 elf_cntl(3ELF)