Try
If you want to eliminate the remote chance that command-1's PID ($!) has been reused in between, you may want to insert some process/command check before killing.
I'm trying to write a script to email the output of 'ls -lt' command that are 30 days old along with headers for eg. like owner, date, timestamp and a portion of some special character files like 'slfpay$/#:032508AA' in /home/test directory, I just want the numbers from the last field ($9), also... (3 Replies)
Hi,
I have a commands in a file called commands.file, I am using this file with the following commnad
xterm -e "commands.file"
After executing this file in the new xterm, it is closing automatically.
I want to use that xterm after that.
Please help me regarding this?
:)
... (4 Replies)
Hi experts,
It would be grateful if you can guide me on the following,
1.How to find the time of excution of a particular unix command.
2. How to find the terminal (IP Address) from where that particular unix command was excuted.
3. How to find the user who executed that particular unix... (1 Reply)
HI guys,
I'm working on a code with the following specs:
1. Retrieving files with a particular extensions from a location specified by the users.
2. Copying those files to user specified location
i) but i need to pause copy if the network is busy
ii) and the copy process must... (3 Replies)
Hi, my name is Steve Ngai from Malaysia. This is my first post. Hope to learn more about Unix from this forum.
My first question is can nmon be customized? When I run nmon, I need to manually type c to see CPU usage, then m for memory usage. Can I pass it some nmon option to automatically see... (2 Replies)
Hi,
I have a function abc(). i am calling the function 9 times. it is working fine and completed the script execution 10 hours.
input files:
CUSTOMER_INFO_1111_12345.csv
CUSTOMER_INFO_1222_12345.csv
CUSTOMER_INFO_1322_12345.csv
CUSTOMER_INFO_1333_12345.csv
CUSTOMER_INFO_1151_12345.csv... (4 Replies)
Hi,
I got long list of referred file content:
CGTGCFTGCGTFREDG
PEOGDKGJDGKLJGKL
DFGDSFIODUFIODSUF
FSDOFJSODIFJSIODFJ
DSFSDFDFSDOFJFOSF
SDFOSDJFOJFPPIPIOP
.
.
.
Input file content:
>sample_1
SDFDSKLFKDSLSDFSDFDFGDSFIODUFIODSUFSDDSFDSSDFDSFAS (14 Replies)
Discussion started by: patrick87
14 Replies
8. Forum Support Area for Unregistered Users & Account Problems
Hi
Code:
nohup sar -u 10 $COUNT | awk 'NR>2 {$2=$4=$7="";}1' | tr -s ' ' '\t' 2>/dev/null >sar.out &
i have execute above line from shell script .. but sar.out is created with ZERO bite size..
Help on that what is the problem here (1 Reply)
Hey Guys ,
iam trying to match to string in TCL scripts but it not working .
Its only working true condition to print yes.. When condtion fail then even it prints YES
Any suggestion this ??
if {} {
puts"yes" ... (3 Replies)
Discussion started by: hackerdilli
3 Replies
LEARN ABOUT HPUX
msgtql
msgtql(5) File Formats Manual msgtql(5)NAME
msgtql - maximum number of System V IPC messages in the system at any time
VALUES
Default
Failsafe
Allowed values
Recommended values
The largest number of messages expected.
DESCRIPTION
The tunable specifies the maximum total system-wide individual messages across all message queues. Every message has a header to specify
message type and location and the total number of headers is limited by
Note that if a system call attempts to exceed the limit imposed by it will block until message space becomes available or return if is set.
Other kernel tunables may limit the maximum number of messages supported. Limiting factors can be the maximum number of bytes in a queue,
and the maximum allowable total combined size, in bytes, in the system.
For more information about System V message queues, refer to the section of the mesg(5) manpage.
Who Is Expected to Change This Tunable?
Anyone.
Restrictions on Changing
This tunable is dynamic. Changes to to this tunable take effect immediately.
When Should the Value of This Tunable Be Raised?
Raise this tunable if applications block too frequently in requiring more total messages be held in the kernel message queues.
What are the Side Effects of Raising the Value?
Raising this value increases the possible number of messages which may be queued at any point in time. This can result in msgsnd(2) having
to block less frequently. Since message queue headers are stored in kernel memory, that memory is unavailable for use by other system ser-
vices.
When Should the Value of This Tunable Be Lowered?
Lower this tunable when applications no longer require as many total messages.
What are the Side Effects of Lowering the Value?
Lowering the value increases the risk of application failure due to the inability to send more messages. Lowering the tunable has no
effect on any queued messages, even if the new tunable value is less than the number of queued messages. However, no new messages may be
queued until the number of messages falls below the setting of
What Other Tunable Values Should Be Changed at the Same Time?
All the System V message queue tunables are interrelated and should be treated as independent variables. The set must be evaluated as a
system to ensure the tunables reflect the application requirements. The message tunables include and Specifically, the and tunables may
need to be adjusted along with the tunable.
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.
System resource limits (such as, memory) may limit the number and/or total size of queued messages. These system limits may be encountered
before the limit values of the msgtql and msgmbs tunables.
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 msgsnd(2), mesg(5), msgmnb(5), msgmni(5), msgmbs(5).
Tunable Kernel Parameters msgtql(5)