9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi there.
It's easier to explain this with a pseudo code, I hope this makes sense:
var1=hello
echo $var1
some kind of loop
echo loop counter
done
How do I hold the cursor position immediately behind the last output so I'd get something like:
hello123456789
DOS used to use ","... (5 Replies)
Discussion started by: MuntyScrunt
5 Replies
2. UNIX for Advanced & Expert Users
Hello All,
The system concerned has multiple processes communicating with each other using shared memory. These processes use semaphores to protect data being used amongst them. The "key" would uniquely identifies the particular semaphore corresponding to a resource for the various processes.
... (2 Replies)
Discussion started by: saptarshi
2 Replies
3. AIX
Hi all,
Have this performance Issue,
srvbd1]root]/]>ps vg | head -1 ; ps vg | grep -w wait
PID TTY STAT TIME PGIN SIZE RSS LIM TSIZ TRS %CPU %MEM COMMAND
8196 - A 4448:23 0 384 384 xx 0 0 12.8 0.0 wait
53274 - A 4179:28 0 384 ... (9 Replies)
Discussion started by: gopeezere
9 Replies
4. Programming
hi All
i have one doubt. in my project am using thrd1 and thrd2. am using interface is mbox and now my doubt is thrd1 is posting data and thrd2 is reading data...?? how we will receive the data... (2 Replies)
Discussion started by: 2104692
2 Replies
5. Shell Programming and Scripting
Hi,
could someone help on this..
I have a date in variable
procdate="05/30/2009"
I would want to Subtract it with 3 or 4 (2 Replies)
Discussion started by: infernalhell
2 Replies
6. Shell Programming and Scripting
I seem to remember seeing a way to hold an expect script or make expect wait for a specific key stroke before continuing.
I ask because I want to automate logging into a device using a key fob. Cant find it in my notes and been through my orielly book twice .. going for a third. (0 Replies)
Discussion started by: popeye
0 Replies
7. Shell Programming and Scripting
Ex: Script 1 has pID=333. I want to take pID to Script 2 so I can retrive 333.
How can I do this? (3 Replies)
Discussion started by: Yakuzan
3 Replies
8. Linux
Hi all.
I have a problem with some printers that when I print a lot of jobs at once the printers gets stuck after 2 prints... (It's a barcode printers - DATAMAX).
Whenever I'm printing each job separtly with a delay of a few seconds the printers work fine...
So my question is how can I... (0 Replies)
Discussion started by: eliraza6
0 Replies
9. Shell Programming and Scripting
dear there,
this kept me awake last night, the variable ${TO} in the following script doesn't seem to hold its value.
I have a file ./filelist, which lists all files of interests. I group them by keywords in the filename, and would like to count total number of lines in each group. ... (7 Replies)
Discussion started by: patiobarbecue
7 Replies
sysv_hash_locks(5) File Formats Manual sysv_hash_locks(5)
NAME
sysv_hash_locks - System V IPC hashed spinlock pool size
VALUES
Failsafe
Default
Allowed values
or whichever is smaller.
Required to be a power of two.
DESCRIPTION
Note: If the DynSysVSem optional product bundle is installed then this tunable is ignored and has no effect. Each semaphore ID has a sep-
arate lock.
The tunable specifies the size of the hashed spinlock (kernel data structures used for synchronization) pool (number of available spin-
locks). The System V IPC semaphore functions acquire hashed spinlocks based on the semaphore ID. The spinlocks are hashed to avoid the
memory user needed for spinlocks but to also avoid the contention of having just one spinlock.
For more information about System V semaphores, refer to the section of the sema(5) manpage.
Who Is Expected to Change This Tunable?
Those who have identified, through kernel performance analysis, local system performance issues with these locks. HP experience is that
very few customers need to adjust this tunable.
Restrictions on Changing
Changes to this tunable take effect at the next reboot.
Note: If the DynSysVSem optional product bundle is installed then changes to this tunable are ignored and have no effect.
When Should the Value of This Tunable Be Raised?
This tunable should be raised if performance analysis shows high contention on these locks. This could happen as a result of a very large
increase to the tunable, coupled with very heavy use of semaphore operations.
When Should the Value of This Tunable Be Lowered?
If is no longer as large, and/or spinlock contention is no longer an issue.
What Other Tunable Values Should Be Changed at the Same Time?
All the System V semaphore tunables are interrelated and should not be treated as independent variables. The tunables must be evaluated as
a system to ensure they reflect the application requirements. The semaphore tunables include and Specifically, significant changes in the
number of semaphore IDs via the tunable may require changes in the tunable.
Note: If the DynSysVSem optional product bundle is installed then the and tunables are ignored and have no effect.
WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of
HP-UX.
Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation,
some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun-
able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was
factory installed on your system, see at
AUTHOR
was developed by AT&T.
SEE ALSO
sema(5), semaem(5), semmni(5), semmns(5), semmnu(5), semmsl(5), semume(5), semvmx(5).
Tunable Kernel Parameters sysv_hash_locks(5)