mac osx hint 1.
mac osx hint 2.
Wednesday, October 17, 2007
AIX: HW SW invenory
prtconf #prints some basic info about your machine
lsdev -CH #lists all customized devices
lsvg #lists all volume groups
lsvg rootvg #lists info about rootvg
lsps -a #lists all paging spaces
lspv #lists all physical volumes
bootlist -om normal #lists bootlist for normal mode of booting
lslpp -a all #lists all installed sw
Can be useful to store before some big change on your AIX server (TL ML upgrade, etc.)
Tuesday, October 16, 2007
AIX: odmget examples
odmget -q"name=hdisk0" CuDv # get ODM object in the CuDv that describes hdisk0 disk device
odmget -q"name=hdisk0 and attribute=pvid" CuAt # get ODM object that stores the PVID
odmget -q"value3=hdisk0" CuDvDr # get major,minor number of special file for hdisk0
odmget -q"name=rootvg" CuDep # query ODM class to identify all LVs that belong to rootvg
odmget -q"parent=rootvg" CuDv # the same as previous command
Can be usefull when troubleshooting LVM related problems
Monday, October 15, 2007
To reach autumn beauty
We have had to pass this little stream because of autumn beauty waiting for un on the other side.
It was not that hard after all but I was not very happy when I was asked to do it.
So when we passed we had to climb the hill to reach the meadows on the next shots.
Thursday, September 13, 2007
For in KSH
I needed to create some files. I wanted to use seq command but not found on AIX. I had to simulate it with while. Here it is:
#!/bin/ksh
integer i=1
while ((i<5000))
do
# print "$i"
touch $i
i=i+1
done
Tuesday, September 11, 2007
Subscribe to:
Posts (Atom)
