SHIFT-WIKI - Sjoerd Hooft's InFormation Technology
This WIKI is my personal documentation blog. Please enjoy it and feel free to reach out through blue sky if you have a question, remark, improvement or observation. See below for the latest additions, or use the search or tags to browse for content.
Script: Bash: AIX: Retension Scripts
Summary: A collection of file retention scripts on AIX.
Date: 27 June 2011
Refactor: 22 March 2025: Checked links and formatting.
This is a collection of retension scripts I created for different servers.
Resize ESX Virtual Disk
Summary: How to resize a ESX Virtual Disk.
Date: Around 2012
Refactor: 22 March 2025: Checked links and formatting.
It's possible to resize disks in a VMware ESX / Infrastructure environment. Increasing is easy, and there's almost no risk on losing data. If you need to make a disk smaller you should always turn the guest off, since there is a serious chance of losing data. To resize disks there are two steps to follow, first resize the actual disk and then you need the guest operating system to recognize the new available disk space.
Setting ULimit on Red Hat
Summary: How to set uLimits on Red Hat.
Date: Around 2014
Refactor: 29 March 2025: Checked links and formatting.
Most shells like Bash provide control over various resources like the maximum allowable number of open file descriptors or the maximum number of processes available to a user.
Red Hat: Startx and Stopx
Summary: How to change your runlevel on Red Hat from 3 to 5.
Date: Around 2014
Refactor: 29 March 2025: Checked links and formatting.
Using the /etc/inittab file you can modify the default runlevel for your Red Hat box. I usually keep “3” as default. This is an overview of the runlevels in Red Hat:
# Default runlevel. The runlevels used are: # 0 - halt (Do NOT set initdefault to this) # 1 - Single user mode # 2 - Multiuser, without NFS (The same as 3, if you do not have networking) # 3 - Full multiuser mode # 4 - unused # 5 - X11 # 6 - reboot (Do NOT set initdefault to this)
The default is set in the only used line in the file:
id:3:initdefault:
Note that “3” and “5” are the most used runlevels, three being used for console based servers/administrators and five for X11 (graphical) based servers/administrators.
