10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I am working in production support environment
And I have a lot of checks done daily on system
And depended on values I take specific decision
I am going to develop script to do general operation task
But my problem is this script will be a running process 24 hours
I... (5 Replies)
Discussion started by: maxosmanpad
5 Replies
2. Shell Programming and Scripting
Hi,
I am novice in PERL enviornment. I have a text files withso many entries in rows and columns. I have to pick up entries
named as "Uniprot ID" in the file and create a new text file with list of particular Uniprot ID entries. Can anybody guide regarding this.. I came to know abut fgrep... (1 Reply)
Discussion started by: manigrover
1 Replies
3. Programming
Dear friends,
Before putting my questions forward, I would like to put some data infront of you, hope you will help me at the end.
This website
Cray-Cyber - Welcome
provides free access to many supercomputers and mainframe computers. When you login through ssh, they provide you with a screen,... (5 Replies)
Discussion started by: gabam
5 Replies
4. UNIX for Advanced & Expert Users
Dear friends,
Before putting my questions forward, I would like to put some data infront of you, hope you will help me at the end.
This website
Cray-Cyber - Welcome
provides free access to many supercomputers and mainframe computers. When you login through ssh, they provide you with a screen,... (0 Replies)
Discussion started by: gabam
0 Replies
5. Linux
Evening all,
Im trying to get a script that will:
Select the most 3 recent files in a specific directory
Run a command on them (like chmod)
Ask of you would like to continue
Copy the files to another directory
If a linux guru could help me out, it would be very much appreciated.
Thanks... (2 Replies)
Discussion started by: Wiggins
2 Replies
6. UNIX for Advanced & Expert Users
Scenario:
Command used to capture IPs on a host:
/usr/sbin/ifconfig -a | grep "inet" | egrep -v "inet6|0.0.0.0|192.168.100.2" | awk '{print $2}'
Following for loop used to capture interface names:
for INTERFACE in `/usr/sbin/ifconfig -a | nawk '$1 ~ /:$/ && $1 {sub(":$", "", $1); print... (3 Replies)
Discussion started by: ak835
3 Replies
7. Shell Programming and Scripting
/usr/sbin/ifconfig -a | grep "inet" | grep -v "inet6" | grep -v "127.0.0.1" |
grep -v "0.0.0.0"|grep -v "192.168.100.2" | awk '{print $2}'
I use above command to get IP addresses on AIX boxes.Values coming here are set to a variable "Host IPs.IP Addresses" in my fingerprinting engine.
... (4 Replies)
Discussion started by: ak835
4 Replies
8. Shell Programming and Scripting
Hi I need some major help with eval
I have a statement using eval:
read input
eval variable$input=”something”
Now I want to use the “variable$input” in some commands but I don't know how to call it without replacing the $input with the command line value (which I obviously can't do).
... (1 Reply)
Discussion started by: Cactus Jack
1 Replies
9. Shell Programming and Scripting
----------
This is perl, v5.6.1 built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)
----------in win 2000 advanced server,..
i am somewhat comfortable with perl but i am new to perl modules..
when i tried to install xml::simple and xml::parser
there... (4 Replies)
Discussion started by: sekar sundaram
4 Replies
10. Linux
i'm a grad student taking a UNIX course and a networks course (i have a background in C++ and JAVA). i'm trying to combine the two classes.
My questions stems from a networks programming homework assignment below:
"Using the operating system and language of your choice, develop a program to... (5 Replies)
Discussion started by: trostycp
5 Replies
IO_DESTROY(2) Linux Programmer's Manual IO_DESTROY(2)
NAME
io_destroy - destroy an asynchronous I/O context
SYNOPSIS
#include <linux/aio_abi.h> /* Defines needed types */
int io_destroy(aio_context_t ctx_id);
Note: There is no glibc wrapper for this system call; see NOTES.
DESCRIPTION
The io_destroy() system call will attempt to cancel all outstanding asynchronous I/O operations against ctx_id, will block on the comple-
tion of all operations that could not be canceled, and will destroy the ctx_id.
RETURN VALUE
On success, io_destroy() returns 0. For the failure return, see NOTES.
ERRORS
EFAULT The context pointed to is invalid.
EINVAL The AIO context specified by ctx_id is invalid.
ENOSYS io_destroy() is not implemented on this architecture.
VERSIONS
The asynchronous I/O system calls first appeared in Linux 2.5.
CONFORMING TO
io_destroy() is Linux-specific and should not be used in programs that are intended to be portable.
NOTES
Glibc does not provide a wrapper function for this system call. You could invoke it using syscall(2). But instead, you probably want to
use the io_destroy() wrapper function provided by libaio.
Note that the libaio wrapper function uses a different type (io_context_t) for the ctx_id argument. Note also that the libaio wrapper does
not follow the usual C library conventions for indicating errors: on error it returns a negated error number (the negative of one of the
values listed in ERRORS). If the system call is invoked via syscall(2), then the return value follows the usual conventions for indicating
an error: -1, with errno set to a (positive) value that indicates the error.
SEE ALSO
io_cancel(2), io_getevents(2), io_setup(2), io_submit(2), aio(7)
COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2013-04-08 IO_DESTROY(2)