04-22-2010
This has been asked very often. As a hint, parse a df on the specified filesystem(s) and write it to a temp file. Then compare this with a an actual df let's say 1h later. Call this script by an appropriate crontab entry.
If you have a particular question, don't hesitate to ask. The search function of the forum will reveal you examples etc. for sure.
Also this is a shell scripting question, not AIX specific. By seeing that you have about 88 posts already, you should know that there is a special area for shell scripting. Please remember this next time, ty
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Will UNIX Sytem 5, release 3 run on a Pentium (clock speed 100-200 MHz)?
thanks (5 Replies)
Discussion started by: samklyle
5 Replies
2. UNIX for Advanced & Expert Users
Good morning folks!
I'm new here.. trying to find an answer on how to resize filesystem. Need to add some space to c0t0d0s5, /var... Is it possible at all?
JV (9 Replies)
Discussion started by: jvinn
9 Replies
3. Solaris
In Sun Solaris we have given oracle user for dba that was shared among 5 member. Everytime oracle user password was changed themselves.
We want to trace who has changed the password. It is possible.
Regards
P Manivannan (0 Replies)
Discussion started by: pmsuper
0 Replies
4. AIX
Hi,
Whats are the changes I need if I have created the system from production server? I restore if from mksysb.
I know I need to change the /etc/hosts and ip address. What else?
Thanks in advance,
Itik (0 Replies)
Discussion started by: itik
0 Replies
5. AIX
I would like to port a small utility from Linux to AIX and, lacking any software development knowledge for AIX, need some help:
I have a library called Snoopy. Basically it intercepts the execv() and execve() system calls and logs them to the syslog-facility AUTHPRIV then passes control over to... (1 Reply)
Discussion started by: bakunin
1 Replies
6. Shell Programming and Scripting
Hi,
I am using NS2 and i need to filter a trace file (part of which is shown below):
- 33.91576 2 3 tcp 1040 ------- 1 0.0 4.0 1115 2258
r 33.918907 4 3 ack 40 ------- 1 4.0 0.0 1107 2272
+ 33.918907 3 2 ack 40 ------- 1 4.0 0.0 1107 2272
- 33.918907 3 2 ... (5 Replies)
Discussion started by: saqibshah
5 Replies
7. UNIX for Advanced & Expert Users
Hi guys,
i'm running a program on samsumg 6410 arm cpu board. it caused an "free(): invalid next size (normal)" fail.
i try to use gdb for remote debugging:
1, start gdb server on board:
gdbserver 192.168.1.20:1234 ./HostAP
Process ./HostAP created; pid = 499
Listening on port... (8 Replies)
Discussion started by: ss1969
8 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I am an oracle DBA pretty new to unix. We had one of the filesystems full and a colleague cleared some stuffs to create more space. I just checked now and found there is now more space available. How do i find exactly what he cleared? We have oracle database installed and its a RAC... (4 Replies)
Discussion started by: dollypee
4 Replies
9. Shell Programming and Scripting
Hello All :)
I want to write a shell script to find the file system usage on multiple UNIX servers.
Commands: df -g fsJCAPS
Below script works fine and it displays results on terminal/console. I want to store /redirect output on to local server from where I'm running the script.
... (3 Replies)
Discussion started by: Mohammad Nawaz
3 Replies
10. UNIX for Advanced & Expert Users
I'm using this code to watermark images (add a logo). How do I change the size of the watermark to cover a certain percentage of the image
ffmpeg -i folder/s886_01.jpg -i watermark.png -filter_complex overlay=15:15 output.png (2 Replies)
Discussion started by: locoroco
2 Replies
LEARN ABOUT HPUX
nfs3_max_transfer_size_cots
nfs3_max_transfer_size_cots(5) File Formats Manual nfs3_max_transfer_size_cots(5)
NAME
nfs3_max_transfer_size_cots - controls the data portion size of a NFS version 3 read, write, readdir, or readdirplus request over TCP
VALUES
Failsafe
Default
Allowed values
Recommended values
A warning will be issued at runtime if the tunable is set to a value greater than 1048576 since this is outside the tested limits. This is
not a serious warning but just an information message for the administrator.
DESCRIPTION
controls the maximum size of the data portion of a NFS version 3 read, write, readdir, or readdirplus request over TCP. This parameter con-
trols both the maximum size of a request that the server returns as well as the maximum size of a request that the client generates.
Who Is Expected to Change This Tunable?
Distributed file system administrators should examine this value if they want to decrease or increase the default size of a NFS version 3
packet over TCP.
Restrictions on Changing
The tunable is dynamic; however, the transfer size for a file system is set when the file system is mounted. To affect a particular file
system, unmount and mount the file system after changing this parameter.
The actual NFS version 3 transfer size over TCP is controlled by these tunable parameters: and The actual transfer size will depend on the
tunable with the smallest value. For NFS TCP traffic increase and to the same value to increase the transfer size. To decrease the transfer
size, just changing is sufficient.
When Should the Value of This Tunable Be Raised?
An increase in the transfer size will result in fewer requests to the NFS server at the expense of system resources on both the NFS client
and NFS server.
What Are the Side Effects of Raising the Value?
Setting the limit large causes more system resources to be consumed by both the NFS client and NFS server.
When Should the Value of This Tunable Be Lowered?
In the event of NFS communication failures, the value should be changed back to the default value.
What Are the Side Effects of Lowering the Value?
An increase in NFS version 3 network traffic over TCP caused by an increase in the number of I/O requests.
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 Sun Microsystems, Inc.
SEE ALSO
kctune(1M), sam(1M), gettune(2), settune(2), nfs3_bsize(5), nfs3_max_transfer_size(5), values(5).
Tunable Kernel Parameters nfs3_max_transfer_size_cots(5)