top of page

Useful AIX Commands for Boot and Init Process.

  • Writer: Jha Chandan
    Jha Chandan
  • Jan 26, 2021
  • 2 min read

In this article we will see useful AIX Commands related to Boot and Init Process:


1) To find the run-level in which system is working

a) #who -r
b) cat /etc/.init.state

2) To change the runlevel from one to other

#telinit M or shutdown -m –> Go to maintenance mode (single user mode)
#telinit 2

3) Shows the bootlist in normal mode & Service mode

#bootlist -m normal -o
#bootlist -m service -o

4) Sets the bootlist in the normal mode and service mode

#bootlist -m normal hdisk1 hdisk2
#bootlist -m service cd0 hdisk1

5) To show the boot disks location code

#bootlist -m normal -ov
‘ibm,max-boot-devices’ = 0×5
NVRAM variable: (boot-device=/pci@80000002000000c/pci@2/pci1069,b166@1/scsi@0/sd@4:2)
Path name: (/pci@80000002000000c/pci@2/pci1069,b166@1/scsi@0/sd@4:4) <–this pathname shows which blv is used
match_specific_info: ut=disk/scsi/scsd
hdisk0 blv=bos_hd5

6) To shows state of boot record

#ipl_varyon -i
PVNAME BOOT DEVICE PVID VOLUME GROUP ID
 hdisk0 YES 00183dfeba601b30000000000000000 000183df00004c00
 hdisk1 NO 000183df1bc488990000000000000000 000183df00004c00
Where, hdisk0 is the boot device 

7) Creates new boot record

#bosboot -ad hdisk3

8)To clears the boot record

#chpv -c hdisk3

9) To obtain the boot device

#lslv -m hd5

10)To see the system architecture ( RS6K,P series)

11) To see the bit addressing (32 bit or 64 bit)

12) To check the RAM size

13) To check the bootable disk

14) To check the size of the hard disk

#bootinfo -s hdisk3

15) Specifies the type of boot

16) To shutdown the server

#shutdown
#shutdown -F (Fast shutdown)
#halt (ungraceful shutdown)

17) Shutdown with grace period

#shutdown +3 “System is going to shutdown”

18) To reboot the server

#shutdown -Fr
#reboot or #fastreboot ( Can be used if no users logged into the system)
Normally reboot kill the processes only, leaves the process and
communications running

19) To maintenance mode

20) Info about boot

#who -b
#last reboot
#uptime

21) how to find where is the bootimage?

That's all in this article. Bookmark this page to keep these commands handy or download our "DBA Blogger & Muser App" from Google Play Store.

Comments


jc_logo.png

Hi, thanks for stopping by!

Welcome to my “Muse & Learn” blog!
Muse a little, learn a lot.✌️

 

Here you’ll find practical SQL queries, troubleshooting tips with fixes, and step-by-step guidance for common database activities. And of course, don’t forget to pause and muse with us along the way. 🙂
 

I share insights on:​​

  • Db2

  • MySQL

  • SQL Server

  • Linux/UNIX/AIX

  • HTML …and more to come!
     

Whether you’re just starting out or looking to sharpen your DBA skills, there’s something here for you.

Let the posts
come to you.

Thanks for submitting!

  • Instagram
  • Facebook
  • X
2020-2025 © TechWithJC

Subscribe to Our Newsletter

Thanks for submitting!

  • Facebook
  • Instagram
  • X

2020-2025 © TechWithJC

bottom of page