Labels

Wednesday, November 24, 2010

DOS Batch File Commands

Batch File Scripting Techniques:

http://www.robvanderwoude.com/battech.php#Misc

Windows Command line reference A-Z:


http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/batch.mspx?mfr=true



The Microsoft® Windows® Server 2003 Resource Kit Tools are a set of tools to help administrators streamline management tasks such as troubleshooting operating system issues, managing Active Directory®, configuring networking and security features, and automating application deployment


http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en

Friday, June 4, 2010

DB2 Kernels

DB2 Kernel Variables:

With Version 8 and later, DB2 checks values of the kernel.sem, kernel.msgmni,
and kernel.shmmax parameters automatically at DB2 start time and changes
them for you if the current values are not optimal. The db2start command:
Changes SEMMNI kernel parameter to 1024
Changes MSGMNI kernel parameter to 1024
Changes SHMMAX kernel parameter to 268435456 (32-bit) or 1073741824 (64-bit)

Manually updating kernel parameters
If any of the default kernel parameter settings do not meet the requirements of
your particular system, you can update them manually.
To check your current shared memory segment, semaphore array, and message
queue limits, use the ipcs -l command. Your output looks similar to this output:
------ Shared Memory Limits --------
max number of segments = 4096 // SHMMNI
max seg size (kbytes) = 32768 // SHMMAX
max total shared memory (kbytes) = 8388608 // SHMALL
min seg size (bytes) = 1
------ Semaphore Limits --------
max number of arrays = 1024 // SEMMNI
max semaphores per array = 250 // SEMMSL
max semaphores system wide = 256000 // SEMMNS
max ops per semop call = 32 // SEMOPM
semaphore max value = 32767
------ Messages: Limits --------
max queues system wide = 1024 // MSGMNI
max size of message (bytes) = 65536 // MSGMAX
default max size of queue (bytes) = 65536 // MSGMNB

Modifying kernel parameters on SUSE and Red Hat
In this example, we explain how to update kernel parameters and set them after
each reboot:
1. Log in as root.
2. Using a text editor, add the following entries to /etc/sysctl.conf:
# Example shmmax for a 64-bit system
kernel.shmmax=1073741824
# Example shmall for 90 percent of 16 GB memory. The kernel requires this
value as a number of pages
kernel.shmall=3774873
kernel.sem=250 256000 32 1024
kernel.msgmni=1024
kernel.msgmax=65536
kernel.msgmnb=65536
3. Load these entries into sysctl by using the following command:
sysctl -p
Now if you enter the command ipcs -l, you can see that the kernel
parameters have been updated in sysctl. To view all sysctl settings, use the
command:
sysctl -a

AIX user and group administration

Hi All,

The best link for AIX User and Group Administration and some important files:

http://www.ibm.com/developerworks/aix/library/au-aixuseradmin/index.html

Look at the some of the files that affect the user itself:
* /etc/passwd
* /etc/security/.profile
* /etc/security/limits
* /etc/security/passwd
* /etc/security/user
* /usr/lib/security/mkuser.default

bye
Pawan

Learn German - Quick Reference