-
Recent Posts
Recent Comments
- Can’t delete a macOS user with dscl [resolution] – it.megocollector.com on When you “can’t” delete a user in MacOS
- morsing on Starting tactic script for CPU allocation calculations on POWER9/10
- morsing on Adding a Gmail account to your Mutt
- morsing on AIX IRC channel moving home
- morsing on AIX IRC channel moving home
Archives
- October 2023
- August 2023
- May 2023
- April 2023
- December 2022
- November 2022
- October 2022
- September 2022
- April 2022
- December 2021
- October 2021
- June 2021
- May 2021
- March 2021
- February 2021
- January 2021
- November 2020
- June 2020
- November 2019
- May 2019
- August 2017
- July 2017
- January 2016
- June 2013
- April 2013
- November 2012
- March 2012
Categories
Meta
Author Archives: morsing
Graphing ilcs in Grafana
Graphing of ilcs in AIX is not included in the nimon data output because ilcs comes from the mpstat command and ilcs is not part of the perfstat library that njmon uses. ilcs is “Involuntary Logical CPU switches” and occurs … Continue reading
Posted in AIX, IBM POWER, Performance tuning, Scripting
Tagged aix, IBM power, ilcs, perfomance, POWER, processor pool, processor switches, shared processor pools
Leave a comment
Unable to increase MaxLPs for LV
As part of growing filesystems on AIX, you often hit the message: which is a bit of a legacy setting from the days of small disks. This is easily over-come by running chlv -x <number> but I was recently thwarted … Continue reading
Yubikey un-block PIN
Un-blocking the Yubikey PIN seems a bit un-documented. Here is how, bear in mind, the password (-P option) is 8 characters max, and if you type anything else in it will tell you the PIN can be max 8 characters, … Continue reading
Posted in Uncategorized
Leave a comment
Capacity and performance check script
Another little script I wrote to check capacity aspects of an AIX LPAR. I call it capacity checks as it is basing most of the checks on counters and averaging out over 90 days. Some of this is based on … Continue reading
Using Hydra when first parameter is a PHP script to load
Hydra is a tool for brute-forcing web-page logins, but you probably already knew that, arriving at this post. I was trying to find the login for a URL that had /index.php?page=sign_in.php at the end. Burp/PHP code revealed is passed “username” … Continue reading
Fixing Alt-Enter maximising XTerm
Using Org-mode, it was incredibly inconvenient when both in FreeBSD and Linux, Alt-Enter, or Alt-Return as XTerm calls it, stole the Alt-Return key combination and just maximised itself. Not sure if this is i3wm related, but could just be that … Continue reading
Posted in Software
Leave a comment
Checking SUSE bootability on POWER
This little script checks the GRUB boot image for the VG/LV/file string pointing to the correct place, e.g. /boot/grub/grub.cfg. This works on SUSE / SLES on POWER. # SLES bootability monitor## Henrik Morsing 1.0 24-FEB-2023 Initial ver=1.0 [[ “${1}” == … Continue reading
Zabbix API shell script to show maintenance association
Just a quick note to show how you can get a server to show which Zabbix maintenance group it is in upon login.
Posted in Automation, Scripting
Leave a comment
Using Ansible command return code
I was using the command module in Ansible but the command I was calling at the other end would cause the module to fail even on informational message. I believe this was partly due to the ‘rc’ value in the … Continue reading
Script to change WWPNS in LPAR profile
This is a script to interactively change WWPNs on adapters in an IBM POWER/Power systems LPAR profile. This is useful if you have to re-create adapters or even whole profiles as the HMC GUI does not allow you to set … Continue reading
Posted in AIX, HMC, IBM POWER, Scripting
Tagged aix, fibre adapter, hmc, hmc scripting, LPAR profile, VFC, WWPNs
Leave a comment