Category Archives: AIX blog

AIX upgrades by NIM
AIX blog

AIX upgrades by NIM

When upgrading NIM clients with a TL or SP, you can do it like this: See also Update from nim: …Read the Rest

grep in Linux
AIX blog

grep in Linux

On Linux the grep is slightly different compared to AIX. Look at this error: I want to get the word …Read the Rest

getting list of WWPN numbers
AIX blog

getting list of WWPN numbers

Creating al list of port WWPnnumbers for physical adapters. Pre-work: the adapters or of type:8 Gigabit PCI Express Dual Port …Read the Rest

remote scripts and ssh
AIX blog

remote scripts and ssh

With ssh you are able to execute a local script on a remote host with:   Korn shell: ssh -q …Read the Rest

Configure X on AIX
AIX blog

Configure X on AIX

Source https://www.ibm.com/developerworks/community/blogs/paixperiences/entry/remotex11aix?lang=en On your PC: Start the X11 server from the Startup folder and from a Windows command line check, …Read the Rest

get sar info of a certain time
AIX blog

get sar info of a certain time

Suppose you want to have all sar info of last night 03:00 AM: sar -A -f [sarfile] | egrep -v …Read the Rest

reset NIM host
AIX blog

reset NIM host

Sometimes it is comfortable to quickly reset a NIM host. I extracted the code from SMIT: #!/bin/ksh if [[ -z …Read the Rest

automatic ssh key acceptation
AIX blog

automatic ssh key acceptation

ssh -o Batchmode=yes -q -o “StrictHostKeyChecking no” $HOSTNAME_CLIENT date >/dev/null Tweet

initiate mksysb from NIM server
AIX blog

initiate mksysb from NIM server

I created my self a nice handy script, initiated from my NIM server, to create mksysb's from the NIM clients. …Read the Rest

Nim spot customization
AIX blog

Nim spot customization

Today I had the error with nimadm: /usr/sbin/nimadm -H -cmytestserver -laix710303_lpp -saix710303_spot -dhdiskroot1 -jnimadm_tempvg -V -P 1 -Y ( I …Read the Rest

oslevel checks
AIX blog

oslevel checks

oslevel -s -l `oslevel -sq 2>/dev/null | sed -n ‘1p’` This command will show you all the filesets that are …Read the Rest

DLPAR problems
AIX blog

DLPAR problems

I had to deal with an old AIX version yesterday – 5300-12-05-1140 – and wasn’t able to do DLPAR, but …Read the Rest

Check a cpu pool
AIX blog

Check a cpu pool

On POWER systems you can check an CPU pool with the next command: lshwres -r procpool -m BX072-9119-FHA-SN52323 –filter “pool_names=Oracle …Read the Rest

get yesterday date
AIX blog

get yesterday date

I like this one. I tested it on AIX and RedHat. It will give you yesterday’s date: root@test~# date Fri …Read the Rest

AIX migrate by NIM
AIX blog

AIX migrate by NIM

I want to migrate client lpar lpar8064 to a higher AIX version. To AIX 6. it is now AIX 53 …Read the Rest

awk search and print n lines
AIX blog

awk search and print n lines

With awk it is possible to search for a string in document and when that string is found , print …Read the Rest

find a stanza with awk and a variable
AIX blog

find a stanza with awk and a variable

If you need a shell variable in awk then you van use the var= option in awk but  I like …Read the Rest

find command in crontab
AIX blog

find command in crontab

The crontab needs special attention when putting commands like "find" in it , so without calling a script. Here an …Read the Rest

seperate history file
AIX blog

seperate history file

#Create different .sh_history file per user HISTFILE=/tmp/.sh_history.$USER.$(who am i |awk '{print $1}').log export HISTFILE Tweet

mount an io image
AIX blog

mount an io image

Just a small script to mount an ISO image:   #!/bin/ksh# loopmount -i <cdrom.iso> -o "-V cdrfs -o ro" -m …Read the Rest

  • KF Solutions Tweets

Page 1 of 1012345»...Last »