01-10-2013
Thanks @methyl. but these are already available tasks undergoing here... pls suggest some thing more... which is helpful to all...
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I was wondering how I can create a link to the perl interpreter.
On my old machine perl is at: user/local/bin/perl
and my new machine has it at: user/bin/perl
I don't want to have to change all my cgi scripts when I move them to the new server. Can I just create a new directory... (4 Replies)
Discussion started by: pingdom
4 Replies
2. Shell Programming and Scripting
Hi!
I want to write a script that will create an archive (via tar) that will restrict the size of the tar file. The size can be constrained using the keyword 'k' and providing the size restriction. The problem is that the script needs to know (detect) when the tar command prompts the user (which... (2 Replies)
Discussion started by: mitch8
2 Replies
3. Shell Programming and Scripting
Keeping in mind that I'm relatively comfortable with programming in general but very new to unix and korn/bourne shell scripts..
I'm using awk on a CSV file, and then performing calculations and operations on specific fields within specific records. The CSV file I'm working with has about 600... (2 Replies)
Discussion started by: yongho
2 Replies
4. Shell Programming and Scripting
Dear Friends,
I have a flat file from which I want to grep line no. 7,10, 19 to 35, 37.
How can it be done?
Thank you in advance
Anushree (6 Replies)
Discussion started by: anushree.a
6 Replies
5. Shell Programming and Scripting
I'm really new to even doing a bash "hello world" script, so maybe someone would know how to do the following task, using bash scripting
Need to login using ssh from one dell server into another dell server, and obtain the raid battery status, using dell's open manage software commands; then... (5 Replies)
Discussion started by: AJ-102111
5 Replies
6. Shell Programming and Scripting
Hello, All. This is my first post here, and I expect that the answer is simple, but I can't find it. Might be the way I'm searching. I'm fairly new to Unix/Linux, and I'm writing a Korn Shell Script. I am trying to provide a value that is already in a variable to awk so that awk can pull out the... (3 Replies)
Discussion started by: compguy74
3 Replies
7. Shell Programming and Scripting
Morning Guys,
I am attempting to awk a file which strings in the file is only 6 characters long and not more.
Currently it is counting every line and giving a count of 59, but it should be 57 (not including the long baracode - 004705CIM*****)
" awk '/./ {cnt++} END {print cnt}'... (11 Replies)
Discussion started by: Junes
11 Replies
LEARN ABOUT HPUX
t_getstate
t_getstate(3) Library Functions Manual t_getstate(3)
NAME
t_getstate() - get the current state
SYNOPSIS
DESCRIPTION
The function returns the current state of the provider as seen by the application associated with the transport endpoint specified by fd.
Fork Safety
is not fork-safe.
RETURN VALUE
State is returned upon successful completion. Otherwise, a value of -1 it returned and is set to indicate the error. The current state is
one of the following:
T_UNBND unbound
T_IDLE idle
T_OUTCON outgoing connection pending
T_INCON incoming connection pending
T_DATAXFER data transfer
T_OUTREL outgoing orderly release (waiting for an orderly release indication).
T_INREL incoming orderly release (waiting for an orderly release request).
If the provider is undergoing a state transition when is called, the function will fail.
ERRORS
On failure, is set to the following:
[TBADF] The specified identifier does not refer to a transport endpoint.
[TSTATECHNG] The transport provider is undergoing a transient state change.
[TSYSERR] A system error has occurred during execution of this function.
[TPROTO] (XTI only) This error indicates that a communication problem has been detected between XTI and the transport provider for
which there is no suitable XTI (
SEE ALSO
t_open(3), thread_safety(5).
STANDARDS CONFORMANCE
t_getstate(3)