AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  HP-UX equivalent command

    Posted Wed May 11, 2011 08:42 AM

    Originally posted by: anijona


    HI Experts,
    I am a new member, just few min. ago i register. I am HP-UX admin. But some new projects are coming so I have to work on AIX also. But at present I don’t have any knowledge in AIX.So i need your help. Could you please tell me what will be the equivalent command of the following

    HP-UX AIX
    1.bdf
    2.mount
    3.strings /etc/lvmtab
    4.cat /etc/fstab
    5.swapinfo
    6.lanscan
    7.ioscan full o/p
    8.ll /dev/*/group ( list of group files)
    9.netstat -nr
    10.netstat -in

    Regards,
    Ani


  • 2.  Re: HP-UX equivalent command

    Posted Wed May 11, 2011 09:04 AM

    Originally posted by: tony.evans


    http://bhami.com/rosetta.html


  • 3.  Re: HP-UX equivalent command

    Posted Sat May 14, 2011 09:33 AM

    Originally posted by: cd3lgado


    Hi

    I have the opossite problem: AIX experience and have to build a new HP-UX based SAP landscape from scratch. I have found the following link very usefull

    http://www.redbooks.ibm.com/abstracts/sg246767.html

    HP-UX AIX
    1.bdf

    You can use df command the same as HP-UX. You can also use lsfs command

    2.mount

    Same command: mount

    3.strings /etc/lvmtab

    HP-UX lvmtab gives you link between VG and corresponding Physical Volumes. In AIX such information is in the ODM (Object Data Manager)so you need to query at this one by using commands like:

    lsvg
    lslv
    lquerypv
    lquerylv
    4.cat /etc/fstab

    AIX equivalent is /etc/filesystems

    5.swapinfo

    AIX equivalent is command: lsps -a

    6.lanscan

    You can query the ODM DB to list devices:

    lsdev -Cc adapter
    netstat -in

    7.ioscan full o/p

    AIX equivalent is command:

    cfgmgr -v
    8.ll /dev/*/group ( list of group files)

    Just the very same. This is standard UNIX.

    9.netstat -nr

    The very same use to list network routes.

    10.netstat -in

    The very same use to list enabled ethernet devices configured.

    Hope this helps


  • 4.  Re: HP-UX equivalent command

    Posted Tue June 14, 2011 11:01 PM

    Originally posted by: Unnikris


    For point number 8 there is no equivalent file for /dev/*/group in AIX


  • 5.  Re: HP-UX equivalent command

    Posted Thu June 16, 2011 08:48 AM

    Originally posted by: armink


    1. df (see the man page for options), there is a df in HP-UX too, but nobody uses it
    2. mount, but the options are quite different... again see man page and doc
    3. no need to do this in AIX. The logical volume commands can handle this: lsvg, lslv, lspv etc
    4. better use lsfs, chfs, mkfs etc. than modifying /etc/filesystems directly. LVCB and ODM will be updated accordingly.
    5. lsps
    6. lsdev, lsattr -El <device:name>, lscfg -vl <device_name>
    7. cfgmgr (see man page for -v, -i...)
    8. There are no group files in AIX, but you may decide to have control over the major VG number using the -V switch with importvg, mkvg etc.
    9. same in AIX, but routes are saved in the ODM, so don't set routes with "route add..."!
    10. same in AIX, and again, take a look into ODM/smitty. Plumbing works different and sometimes the interface is "invisible". See lsdev, chdev etc.

    In general: Use commands to change the configuration. Start with smitty and get an idea by pressing F6 just before command execution!
    Do NOT edit in config files when there is a command for doing so. You'll learn later when you can do it anyway :-)

    Some concepts are quite different in AIX, so you should try to get a class for experienced admins...