Tag Archives: aix

Script to monitor a Filesystem on AIX

#!/bin/sh # This script checks if the /siebel filesystem reaches 2 GB of free space# And then delete the old logs except those of today warninglimit=2097152    # This number is in KB, it’s equal to 2 GB,                        # KB is … Continue reading

Tagged , , | 1 Comment

How to ensure the integrity of your VERY LARGE files on AIX

Something that I’ve learnt by time is that I must check my files – especially big ones – upon transferring them from one medium to another or through a network or you’re really going to face troubles that you’ll see … Continue reading

Tagged , , , , | Leave a comment

Getting X11 forwarding through ssh working after running su in AIX

After logging to a remote server using the “ssh -X user@host” (assuming that you have enabled X11Forwarding in your “/etc/ssh/sshd_config” file, and then restarted ssh by issuing “stopsrc -g ssh” and then “startsrc -g ssh”), you can run any X-windows … Continue reading

Tagged , , | Leave a comment

How to increase AIX swap space

“lsps -a” This will display something like: Page Space Physical Volume Volume Group Size %Used Active Auto Typehd6 hdisk0 rootvg 512MB 1 yes yes lv This means that hd6 is the logical volume used for paging. To increase it, use … Continue reading

Tagged , | Leave a comment

How to solve the error: 452 Error writing file: A file cannot be larger than the value set by ulimit

When trying to transfer a very big file (over ftp for example), you’ll receive the error above, this limit is a security limit in AIX and you can solve it by simply editing the /etc/security/limits file and increasing the “fsize” … Continue reading

Tagged , , | Leave a comment