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 , , , , , , , | 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 and when you could not shrink filesystems. This is easily over-come by running chlv … Continue reading

Posted in AIX | Tagged , , , , | Leave a comment

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

Posted in AIX, IBM POWER, Performance tuning, Scripting | Tagged , , | Leave a comment

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

Posted in IBM POWER, Linux | Tagged , , , , , | Leave a comment

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

Posted in Ansible, Automation | Tagged , , | Leave a comment

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 , , , , , , | Leave a comment