본문 바로가기

Virtual Machines 1. Download and install the proper packages in order to manage virtual machines on a Red Hat 7 machine. Ensure you install the GUI as well as the command line interface.[root@localhost]# yum install virt-manager qemu-kvm qemu-img libvirt libvirt-python python-virtinst libvirt-client OR Note: This is a neat trick [root@localhost]# yum grouplist hidden // This will show virtualization packages [ro.. 더보기
Working with top 1. On a LinuxAcademy.com lab server start the top program.[root@localhost]# top2. The top program shows all running processes on the system but sorts them. Using your keyboard, browse up and down to view the processes.Use the keyboard up and down arrows to navigate3. Sort all processes by memory percentage.shift + m4. Sort all processes by CPU usage.shift + p5. Renice the process for the script .. 더보기
Monitoring and calculating CPU load averages 1. View the system uptime and load average.[root@localhost ~]# uptime 09:53:07 up 16:32, 3 users, load average: 1.02, 1.00, 0.69 [root@localhost ~]# 2. View the system uptime and load average that also shows what users are logged into the system and what the user is doing.[root@localhost ~]# w 09:53:37 up 16:33, 3 users, load average: 1.01, 1.00, 0.70 USER TTY LOGIN@ IDLE JCPU PCPU WHAT user pts.. 더보기
nice, renice, and ps 1. Ensure that you have the httpd package installed on the system.[root@localhost]# yum install httpd2. Ensure the httpd service is NOT RUNNING.[root@localhost]# systemctl stop httpd3. Start the httpd service with the most favorable nice possible.[root@localhost]# nice -n -20 httpd4. View the current nice of the httpd service using the ps command and pgrep command together.[root@localhost]# ps a.. 더보기
pgrep, pkill, kill, and jobs 1. As the root user, create a job running in the background of your current terminal. Execute this following script for that program process to be created.[root@localhost]# (while true; do echo -n "My program" >> ~/output.file; done) &2. View the current jobs running in the background of your terminal.[root@localhost ~]# jobs [1]- Running ( while true; do> ~/output.file; .. 더보기
Powering Off Systems 1. Using the shutudown command, schedule a shutdown for five minutes from now and notify all users on the system of the shutdown.[root@localhost]# shutdown +5 shutdown messages goes here2. Using the shutdown command, reboot the machine immediately without delay.[root@localhost]# shutdown -r now [root@localhost]# shutdown -r 3. Using systemctl, shutdown the system.[root@localhost]# shutdown now o.. 더보기
Interrupt The Boot Process To Change The Boot Target 1. Start or reboot a system to get to the boot menu.2. Press any key to stop the auto selection of a grub item.3. Ensure the kernel you intend to boot into is highlighted and press the “e” key to edit the entry.4. Navigate to the linux16 kernel line and hit the “end” key to go to the end of the line.5. Append the new target to the linux16 kernel line.systemd.unit=rescue.target 6. Continue bootin.. 더보기
Recovery password on Redhat7 or CentOS7 1. Start or reboot a system to get into the boot menu.2. Press any key to stop the auto selection of a menu item.3. Ensure the kernel you intend to boot into is highlighted and press the "e" key to edit the entry.4. Navigate to the linux16 kernel line and hit the "end' key to go to the end of the linux16 line.5. Append rd.break to the linux16 kernel line.6. Hit crtl + x to continue.7. The system.. 더보기
AIX Technology Level update strategies IntroductionStaying current with the latest AIX Technology Level (TL) is always the best option to better availability, reliability and security. TL is a set of fixes, and new features added to an AIX version or new hardware support.You should considered moving to a new TL version for the following reasons:A new function provided in a new TL is needed.If the existing TL is out or is about to go .. 더보기
Ready for AIX recovery with mksysb and mkdvd Ready for AIX recovery with mksysb and mkdvdAnthonyEnglish | Feb 14 2011 | Comments (2) | Visits (11691) mksysb - an oldie but a goodie Long before the days of HMCs, VIO servers and LPARs, AIX version 3 and 4 ran on standalone systems. A system had its own tape drive. This would be useful for mksysb backups, which backed up the rootvg. Reliability, Availability, Scalability 1990s style Actually,.. 더보기