You are here

Aix

Aix

Getting XP array discs serial number in Aix

1:5C OpenE x 8 108GB

#cfgmgr

#lscfg -vpl hdiskxx

hdisk1 U7879.001.DQDTVMR-P1-C5-T1-W500060E802C52F15-L0 Other FC SCSI Disk Drive

Manufacturer................HP
Machine Type and Model......OPEN-E*8
ROS Level and ID............30313139
Serial Number...............0400C52F
Device Specific.(Z0)........0000032273000002

Unix Systems: 

Increase Max users procs for oracle

max user processes is set smit/system environments/ change show characteristics of operating system, not ulimit.

You should get with your DBA to find out what an estimate of the number of processes oracle may run at one time. (there is a parm for the database for processes. the max user processes on the AIX system should be higher than that number.)

Unix Systems: 

Commands by Subject

compress -c file.txt > file.Z Create a compressed file.

uuencode (infile) (extract-file-name) > (output file)
Converts a binary file to an ASCII file for transfer by modem or email

uudecode (encoded file)
Extracts a binary file from encoded file and calls it the extract-file-name

examples :-

uuencode maymap maymap > maymap.enc
uudecode maymap.enc

Unix Systems: 

System Dump Commands

////////////////////////////////////
SYSTEM DUMP
////////////////////////////////////
IBM recommends:
Don't mirror the system dump device
Don't use compression on the dump device
Don't use a secondary dump device unless it is on a separate device,
separate cable and separate i/o card.

sysdumpdev -l Lists current dump destination.

Unix Systems: 

Similar to TcpDump

Like tcpdump/ethereal?

iptrace -e -i lo0 /tmp/iptrace.out, ( let it run for 5 minutes, kill it)
ipreport /tmp/iptrace.out

Unix Systems: 

Size of the memory DIMMs

# lscfg -vp | grep -e "Memory DIMM" -e "Size"
Memory DIMM:
Size........................256
Memory DIMM:
Size........................256
Memory DIMM:
Size........................256
Memory DIMM:
Size........................256

Unix Systems: 

Reserver NFS port below 1024

Linux, by default, requires any NFS mount to use a reserved port below 1024.
AIX, by default, uses ports above 1024. Use the following command to
restrict AIX to the reserved port range:

# /usr/sbin/nfso -o nfs_use_reserved_ports=1

Unix Systems: 

Configuring ntp

Configuring ntp

1) Stop the xntpd daemon

The xntpd daemon is managed by the System Resource Controller (SRC).
To verify that the xntpd daemon is active : lssrc -s xntpd : status
should be "active"
To stop the xntpd subsystem : stopsrc -s xntpd

Note : xntpd is automatically started in /etc/rc.tcpip. To verify this :
cat /etc/rc.tcpip | grep xntpd.

2) Modify the /etc/ntp.conf file

Unix Systems: 

Enabling quotas on a JFS filesystem

Enabling quotas on a JFS filesystem :

Edit /etc/filesystems and edit in quota=userquota on the relevant filesystem.

es4m-root> chfs -a "quota = userquota" /home
es4m-root> quotaon /home
es4m-root> quotacheck /home

Unix Systems: 

bootinfo command options

bootinfo -b reports last device the system booted from
bootinfo -k reports keyswitch position
1=secure, 2=service, 3=normal

bootinfo -r reports amount of memory (/ by 1024)
bootinfo -s (disk device) reports size of disk drive
bootinfo -T reports type of machine

Unix Systems: 

Pages

Subscribe to RSS - Aix

Fatal error: Class CToolsCssCache contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (DrupalCacheInterface::__construct) in /homepages/37/d228974590/htdocs/sites/all/modules/ctools/includes/css-cache.inc on line 52