aix

Getting MD5 hashes under Unix/Linux etc.

linux aix solaris hp-ux

Scripting under different unices is a bit painful. Especially if you have a completely mixed environment with plenty of obsolete systems in it. I was trying to get md5sum of something quickly. Here is the result: Sure, you can use md5sum command on every system if you install it, but this seems like the most painless way. Still failing on some old Solaris (like 8/9) but luckily I can skip those :)

Read more →

Examining ulimits of running processes on AIX

aix

Seems like only reasonable way to use "dbx" tool (like dbx -a PID and issuing proc rlimit inside attached dbx). But somehow everyone just "quit"s dbx and sending SIGTRAP to process. Only if there is a way that you can "detach" before. Maybe this is new to AIX (probably came with 6, I'm still a rookie on AIXland) but it seems possible with "detach" command in dbx.

Read more →