I always wished of having a easy method to generate a “call graph” ( aka control flow graph ) depicting the calling relationship between the subroutines of a source code( in my case for code in C language). Now that i finally […]
Some time back, I had written this blog AIX ‘bosdebug’ to debug Kernel extensions on the usefulness of pretty printing a data-structure in AIX Kernel Debugger “KDB” by providing it the symbol information using the ‘bosdebug‘ command. That […]
This article is a step-by-step guide to configure SAS controller/disk for use in AIX or VIOS logical partition.
I had to configure SAS disks for my work on an AIX partition and found it difficult to locate any “how-to” […]
Virtual Fibre Channel(VFC) is PowerVM’s flagship storage virtualization solution based on N_Port ID Virtualization (NPIV) standard technology for Fibre Channel networks.
If you are new to this storage virtualization technology, IBM Knowledge Center article on Virtual FC […]
Shared Storage Pool(SSP) is a valuable ‘server based storage virtualization’ offering of PowerVM.
There are multiple use-cases where SSP fits better into the requirements of your data-center than any other solution. It is gaining popularity year-on-year with each announced release. With […]
‘Disk level validation for LPM of NPIV LPAR‘ is a key enhancement to ‘Live Partition Mobility(LPM) validation‘ and is being offered in this year(2015)’s PowerVM 2.2.4 release. This article talks about it in detail.
‘Live Partition Mobility'(LPM) is one of […]
There exists a very handy shell command trap … which could be used to ease “error handling” in shell scripts.
This command can do all of this as defined in the help page of the command ( Continue Reading →
This post talks about one of the very useful “terminal backspace setting for AIX” connection.
While working on a putty(or any other telnet) connection to AIX, I have seen a lot of guys frustrated with the default behaviour on a “Backspace” key. Instead […]
AIX console connections(vty) displays are limited to 80 characters width(columns) and 24 characters height(rows), by default i.e. 80 x 24.
There are multiple occasions where one has to connect to the “virtual terminal” to transact on an AIX […]
In the 2013 release of AIX Version 6.1 TL 9 and AIX Version 7.1 TL 3, IBM has announced support for a new “virtual SCSI read/write command timeout” attribute for virtual SCSI client adapter. This is in addition to the […]
Most applications use POSIX threads, usually referred to as Pthreads for creating and managing multi-threaded processes. Threads are managed using the Pthread library.
A multithreaded application could have multiple user-threads and each thread would be having a unique Pthread-ID […]
Steps to install and use VNC for AIX :
1. Download the VNC RPM bundle for AIX from bullfreeware.com (http://www.bullfreeware.com/affichage.php?id=1104)
2. FTP the RPM to your AIX machine and install it :
# rpm -ivh vnc-3.3.3r2-6.aix5.1.ppc.rpm
Use CAST function to print values of solidDB database table in Hex
In certain cases we would have stored hexadecimal values in a solidDB table with type as DECIMAL, NUMERIC, SMALLINT, INTEGER, TINYINT, BIGINT etc. or […]
This blog details steps to “Configure SQuirrel SQL Client to connect to SolidDB database” running on a remote machine/server.
SQuirrel SQL is a “Universal SQL Client”.
Visit http://squirrel-sql.sourceforge.net/ to get more details about this software. I […]
This post is part of the “Learn debugging using AIX DBX” series. It provides tips for customizing the DBX debugging environment using .dbxinit file. If you looking for some other aspect of debugging with […]
This post is part of the “Learn debugging using AIX DBX” series. It talks of the tips while debugging a multi-process program with AIX DBX. If you looking for some other aspect […]
DBX is a command line debugger and is best suited for debugging programs/applications on AIX.
It enables source-level debugging of C, C++ and FORTRAN language programs, as well as assembler-language debugging of executable programs at the machine level.
You can find more […]
Many a times while using grep we would want to see few lines either/both before/after the matching lines.
While working on AIX, I have seen the need of options in ‘grep‘ to ‘print certain number of lines before […]
‘bosdebug‘ command of AIX is a very useful command to help with debugging of AIX Kernel, Device drivers and other Kernel extensions in ‘KDB’.
In this article I’ll explain on one of the very useful options of ‘bosdebug’ which could be […]
Useful Web Links/Resources for Information on AIX/VIOS and IBM Power Servers :
developerWorks links : PowerVM : https://www.ibm.com/developerworks/community/wikis/home?lang=en#/wiki/Power%20Systems/page/PowerVM AIX : https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Power%20Systems/page/AIX IBM Systems Magazine : http://www.ibmsystemsmag.com/aix/ AIX and […]
In October 2012, IBM announced the release of Virtual I/O Server(VIOS) 188.8.131.52. To read more about the major enhancements in this release, please refer to the release notes here : http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/p7eeo/ipeeo_main.htm
Apart from the other […]
All this tips assume that you use the terminal(bash/ksh/csh) in “vi” mode.
If you don’t use them in vi mode; here is how you can do it ..
$ set -o vi
You set this in your profile i.e. ~/.profile file, […]
Recently I had to move my webserver to a different domain (i.e. URL).
Although the old domain was still around for some more time; I still wanted my old users/viewers to be redirected to the new […]
Welcome to the world of day2day UNIX.
Here I intend to post articles and helpful posts related to Linux, AIX or UNIX in general. Hope you find it as much as a joy to read as I write.
C program (7)
call graph (1)
Device Drivers (6)
Flash Caching (1)
Kernel Extension (4)
Subscribe to Blog via Email
Google Analytics Statsgenerated by GADWP
- “call graph” generation using Doxygen and Graphviz August 20, 2017
- CMVC user guide for transitioning to Git June 25, 2017
- pretty print symbols in AIX with kdb, KDBSYM, pr August 13, 2016
- Configure SAS controller/disk for use in AIX/VIOS partition May 15, 2016
- Enhanced num_cmd_elems attribute for virtual FC ( NPIV ) AIX March 19, 2016