02-21-2011
thanks guys, i managed to do what i wanted with your help
This User Gave Thanks to ppolianidis For This Post:
10 More Discussions You Might Find Interesting
1. HP-UX
i more than one hp-ux 11.0 application server. some of these application server has an xterminal attached to them. ncd900 and ncd400. i would like to know how many xterm is connected to an application server. without physically checking each xterm, can i identify how many xterm?
thanks alot. (0 Replies)
Discussion started by: inquirer
0 Replies
2. Shell Programming and Scripting
I have a variable (say $A) and while passing it gets either a number or some other string. Now how can test (with if else) whether the variable is just a ne or something else ?
Thanks a lot to all in advance
C Saha (2 Replies)
Discussion started by: csaha
2 Replies
3. Shell Programming and Scripting
I am pretty new to unix, and I have a project to do.
Part of the project asks me to determine the number of processes running and assign it to a variable. I know how to every part of the project but determine the number of processes running.
How can I get just the number of processes... (4 Replies)
Discussion started by: wayne1411
4 Replies
4. Shell Programming and Scripting
Hi,
In my Shell Script i am counting the duplicate IPs in LAN,...After counting i have to show in checklist in zenity which one to delete from the LAN........so initially i dont know no. of duplicate IPs in the LAN....Hence i can determine how many check list needed.....
Duplicate IPs... (3 Replies)
Discussion started by: shivarajM
3 Replies
5. UNIX for Advanced & Expert Users
Hi,
Anyone can tell me how to get the number of NFS threads RUNNING on the system for Solaris 10? Someone told me for Solaris 9, the method is "echo "*svc$<svcpool" | adb -k. But, I've tried to google the method for Solaris 10 and did not find the corresponding method, please help... (1 Reply)
Discussion started by: wang.caiqi
1 Replies
6. Shell Programming and Scripting
I'd like to create a variable with the value of X number of space( no Perl please), printf seems to work, but , in following example,10 spaces becomes 1 space when assinged to a variable, Why? other solutions are welcome.
$printf "=%10s=\n"
= =
$var=$(printf "=%10s=\n")
echo... (4 Replies)
Discussion started by: honglus
4 Replies
7. UNIX for Dummies Questions & Answers
which one of the following is the correct expression to ignore line with multiple spaces after any string
cat file | grep -v "xyz *$"
or
cat file | grep -v "xyz*$"
do i need "*" to specify the sapce or " *" will do? (2 Replies)
Discussion started by: manishma71
2 Replies
8. Shell Programming and Scripting
I'd like to determine the frequency that each number occurs within a text file. I know how to do this for a single number, but not for a set or list of numbers. Here's what I have grep -o 01 file.txt | wc -l
Also, it's important that the numbers are two digits instead of 1, meaning that... (8 Replies)
Discussion started by: it5ju5talx
8 Replies
9. UNIX for Beginners Questions & Answers
When I create a bootable Linux distro installation USB drive, I use this command: sudo dd if=/Path/to/linux_distro.iso of=/dev/rdisk<disk number>
bs=<number of bytes>
When I look it up, I've seen variations of people choosing 4M, and I think 8M, 2M, and maybe even 1M.
If I leave the operand... (4 Replies)
Discussion started by: Quenz
4 Replies
10. Shell Programming and Scripting
I would like to find an undetermined number of spaces and shorten them to one space. I am running Debian in mksh. Script running in #!/bin/sh. Sorry to not include all code. The program is too big and involves an online file... too much hassle to solve a simple issue.
Ex.,
I start with... (11 Replies)
Discussion started by: bedtime
11 Replies
LEARN ABOUT HPUX
xtmanagechildren
XtManageChildren(3X) XT FUNCTIONS XtManageChildren(3X)
NAME
XtManageChildren - manage children
SYNTAX
void XtManageChildren(children, num_children)
WidgetList children;
Cardinal num_children;
ARGUMENTS
children Specifies a list of child widgets.
num_children
Specifies the number of children.
DESCRIPTION
The XtManageChildren function performs the following:
o Issues an error if the children do not all have the same parent or if the parent is not a subclass of compositeWidgetClass.
o Returns immediately if the common parent is being destroyed; otherwise, for each unique child on the list, XtManageChildren ignores
the child if it already is managed or is being destroyed and marks it if not.
o If the parent is realized and after all children have been marked, it makes some of the newly managed children viewable:
- Calls the change_managed routine of the widgets' parent.
- Calls XtRealizeWidget on each previously unmanaged child that is unrealized.
- Maps each previously unmanaged child that has map_when_managed True.
Managing children is independent of the ordering of children and independent of creating and deleting children. The layout routine of the
parent should consider children whose managed field is True and should ignore all other children. Note that some composite widgets, espe-
cially fixed boxes, call XtManageChild from their insert_child procedure.
If the parent widget is realized, its change_managed procedure is called to notify it that its set of managed children has changed. The
parent can reposition and resize any of its children. It moves each child as needed by calling XtMoveWidget, which first updates the x and
y fields and then calls XMoveWindow if the widget is realized.
SEE ALSO
XtManageChild(3X), XtUnmanageChildren(3X), XtUnmanageChild(3X), XtChangeManagedSet(3X), XtIsManaged(3X)
X Version 11 Release 6 XtManageChildren(3X)