12-09-2008
any suggestion on below problem....
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I know that this is a relative question but can someone give me an idea of what would be considered a high number of context switches?
I am running vmstat and show a cs value of between 5000 and 6000 on a 4 processor system. How can I deduce if this number is high or not?
Also, the timeslice... (2 Replies)
Discussion started by: keelba
2 Replies
2. UNIX for Advanced & Expert Users
Daily we are getting some datafiles to our unix server location FTPIN.
Incoming File names will be present in the location "/xyz/test/" as below:
"infile_A1_YYYYMMDD",
"infile_A2_YYYYMMDD",
"infile_B1_YYYYMMDD",
"infile_C1_YYYYMMDD"
"infile_C2_YYYYMMDD"
Where A, B and C are the... (3 Replies)
Discussion started by: ganapati
3 Replies
3. Shell Programming and Scripting
here is a data file.
-------------------------------------
KSH, CSH, BASH, PERL, PHP, SED, AWK
KSH, CSH, BASH, PERL, PHP,
BASH, PERL, PHP, SED, AWK
CSH, BASH, PERL, PHP, SED,
KSH, CSH, BASH, PERL, PHP, SED, AWK
-------------------------------------
My desired output is... (2 Replies)
Discussion started by: VTAWKVT
2 Replies
4. UNIX for Advanced & Expert Users
there are several same servers(process) on more than one server(machine) providing the same service.
we store session/context within the server(process), if the same client login, he will be directed to the very server service for him last time.
But, if a server(machine or process) down, the... (1 Reply)
Discussion started by: zhongyj
1 Replies
5. Shell Programming and Scripting
Hi All,
I have the following script and would like to add page up and down functionality to be able to stroll through the list.
Is this possible?
If so, Any pointers to examples, info, tips, suggestions would be appreciated.
BTW, Any suggestion for better practices on the following code... (5 Replies)
Discussion started by: Festus Hagen
5 Replies
6. Shell Programming and Scripting
Please Close thread-
Thank You. (1 Reply)
Discussion started by: ezmethod
1 Replies
7. Shell Programming and Scripting
Hi,
There's a file with below contents which I have to read based on the input parameter provided by the user.
FILE_ID=1
FILE_FTP_ID=ftp.server1.com
FILE_FTP_USER=user1
FILE_FTP_PASS=pass1
FILE_ID=2
FILE_FTP_ID=ftp.server2.com
FILE_FTP_USER=user2
FILE_FTP_PASS=pass2
FILE_ID=3... (6 Replies)
Discussion started by: dips_ag
6 Replies
8. Shell Programming and Scripting
I wrote this code, questions follow
#! /bin/bash -f
# Purpose - to show how if syntax is used within an awk
clear;
ls -l;
echo "This will print out the first two columns of the inputted file in this directory";
echo "Enter filename found in this directory";
read input;
... (11 Replies)
Discussion started by: Seth
11 Replies
9. UNIX for Beginners Questions & Answers
Hi all,
This is my first day on Linux shell!!!
So, I am trying to write a script that that will pick up pairs of files with the same name (not the same content) but that are different in one character (one is *R1 the other is *R2)...
Something like: look ate the files, whenever they are the... (3 Replies)
Discussion started by: ALou
3 Replies
LEARN ABOUT HPUX
xtloseseleb
XtLoseSelectionProc() XtLoseSelectionProc()
Name
XtLoseSelectionProc - interface definition for procedure to notify the selection owner it has lost selection ownership.
Synopsis
typedef void (*XtLoseSelectionProc)(Widget, Atom *);
Widget w;
Atom *selection;
Inputs
w Specifies the widget that has lost selection ownership.
selection Specifies the atom that names the selection.
Description
An XtLoseSelectionProc is optionally registered in a call to XtOwnSelection() and is called by the Intrinsics when the widget it was regis-
tered with loses the selection because another widget or client has claimed the selection. It is not called when the selection owner
relinquishes selection ownership with XtDisownSelection(). This procedure should take whatever action is appropriate for the widget or
application when it loses selection ownership.
Note that this procedure is not a request to the widget to relinquish selection ownership; it is called after the widget has already lost
the selection.
Usage
Most selection owners (widgets or applications) will want to display selected data highlighted in some way, and so will need to be informed
when they lose the selection so that they can unhighlight that data.
An XtLoseSelectionIncrProc is a similar procedure type used by the Intrinsics incremental selection transfer mechanism. It takes an addi-
tional client_data argument.
Example
The XtLoseSelectionProc below is from the xcalc client. It simply unhighlights the value currently shown in the calculator display.
/*
* called when xcalc loses ownership of the selection.
*/
/*ARGSUSED*/
void lose(w, selection)
Widget w;
Atom *selection;
{
XawToggleUnsetCurrent(LCD);
}
See Also
XtDisownSelection(1), XtGetSelectionValue(1), XtGetSelectionValueIncremental(1), XtOwnSelection(1),
XtLoseSelectionIncrProc(2).
Xt - Selections XtLoseSelectionProc()