Tuesday, June 26, 2012

AIX - black box

AIX is such a black box and many commands are undocumented.
It is hard to for anyone who like to dig deeper in AIX.

AIX commands are divided by three layers:
 
     High Level
     Intermediate
     Lower Level

Usually only "High Level" commands have good manual page and documents.

For example,oslevel is the "High Level" command. But we can not find any documents about
rm_mlcache_file which oslevel depends on.

     #grep rm_mlcache_file /usr/bin/oslevel
       /usr/bin/rm_mlcache_file

When I tried to find more information about nimsh, I can not find anything for nimsh methods.
# /usr/lpp/bos.sysmgt/nim/methods: ls
IPLROM.emulation    c_mkdir             genTgtCfg           m_dealloc_spot      m_ovf
Mig2p5.pm           c_mkdump            getSrcCfg           m_deallocate        m_reboot
bladeOps            c_mkisofs           getSrcUtil          m_deploy            m_reset_res
c_activate          c_mkpaging          getTgtRsrc          m_destroy           m_restore_db
c_add_fb_script     c_mkpfile           getmacinfo          m_destroy_res       m_restvg
c_add_routes        c_mkroot            installios          m_diag              m_rm_linux_source
c_alloc_boot        c_mksavevg          kinit.exp           m_dkls_inst         m_rmbosi
c_alt_disk_install  c_mksavewpar        libcosi             m_do_sop            m_rmgroup
c_alt_disk_mig      c_mkshroot          lpar_netboot        m_doreboot          m_rmhcp
c_at                c_mkspot            lscosi              m_dtls_inst         m_rmiso
c_atm_boot          c_niminfo           lsts                m_dump_complete     m_rmmac
c_backupios         c_nimpush           m_abort             m_dump_notify       m_rmnet
c_bootdiskhdr       c_nnc_setup         m_activate          m_find_net          m_rmovf_vm
c_bosinst_env       c_popxop            m_alloc_boot        m_fixquery          m_rmpdir
c_cfgadptrs         c_prepspot          m_alloc_ns          m_fs                m_rmres
c_ch_file           c_rcp               m_alloc_pdir        m_gen_nim_name      m_rmshroot
c_ch_nfsexp         c_restvg            m_alloc_spot        m_getdate           m_rmspot
c_ch_rhost          c_rmdir             m_allocate          m_instspot          m_schedule
c_chwpar            c_rmspot            m_alt_disk_install  m_keyexch           m_select
c_cklevel           c_rsh               m_alt_disk_mig      m_linux_inst        m_setup
c_ckros_emu         c_script            m_atm_setup         m_loadiso           m_showdump
c_ckspot            c_sh_lib            m_backup_db         m_lppchk            m_showlog
c_config_dump       c_showdump          m_backupios         m_lppmgr            m_showplat
c_cp_resolv         c_showlog           m_bos_inst          m_ls_lpp_source     m_showres
c_create            c_showplat          m_chattr            m_lslpp             m_sm_nim
c_cust_shroot       c_showres           m_chcec             m_lswpar            m_snap
c_deactivate        c_sm_nim            m_chgroup           m_macinfo           m_spotmaint
c_dealloc_boot      c_snap              m_chhcp             m_maint             m_sync
c_destroy           c_stat              m_chmac             m_maint_boot        m_sync_roots
c_disc_target       c_switch_master     m_chmaster          m_mk_linux_source   m_syncwpar
c_dump_complete     c_sync              m_chnet             m_mk_lpp_source     m_takeover
c_dump_notify       c_sync_root         m_chovf_vm          m_mkbosi            m_unconfig
c_dumpdiskhdr       c_syncwpar          m_chres             m_mkcec             m_unloadiso
c_errmsg            c_takeover          m_chstate           m_mkgroup           m_update
c_file_transfer     c_time_stamp        m_chvios            m_mkhcp             m_updateios
c_fs                c_unloadiso         m_chwpar            m_mkiso             mkcosi
c_get_arch          c_update            m_ck_lpp_source     m_mkmac             mkts
c_getlevel          c_updateios         m_ckhcp             m_mknet             nim_clients_setup
c_initiate_bootp    capEqMaps           m_ckmac             m_mkovf_vm          nim_master_recover
c_installp          cat                 m_ckspot            m_mkpdir            nim_master_setup
c_instspot          chcosi              m_cpfile            m_mkres             nim_move_up
c_iscsi_lun         cmdnim_errors.shh   m_create            m_mksavevg          nim_update_all
c_loadiso           cpcosi              m_cust              m_mksavewpar        nimcrypt
c_lswpar            createTgtLPAR       m_deactivate        m_mkshroot          phase_def
c_mk_lpp_source     dbts                m_dealloc_boot      m_mkspot            rmcosi
c_mk_nimclient      dd_funcs            m_dealloc_ns        m_mkvios            rmts
c_mkbooti           dump_errlog_notify  m_dealloc_pdir      m_mon_op            swts
c_mkbosi            eznim               m_dealloc_shroot    m_nnc_setup         undoTgtLPAR

No comments:

Post a Comment