Month: October 2018

View running processes and their children

View running processes and their children

When using bash, ps is a very powerful tool for viewing running processes. I have built a script/library for manipulating its output to create trees for either running shell scripts, or user sessions. This allows me to see who is doing/executing what on a linux host at a point in time. Continuing with some of…

Read More Read More

Iterating Dates On The bash Command Line

Iterating Dates On The bash Command Line

Sometimes I want to run a shell script or command for a series of dates, so I have created a bash library function which takes a start date and an end date, and iterates over the dates passing each date to another command/script. This is moving away from SQL/Database specific content. Much of what I…

Read More Read More