Archive for Sysadmin

How to match OS processes to Oracle processes

From time to time I come across the problem of trying to figure out what a particular OS process (PID) is doing in an Oracle database. When monitoring the DB server you can easily discover the processes that are taking…

Posted in Databases, Sysadmin, Unix | Comments

How to get a server’s serial number from shell

There are sometimes when we need a box serial number — to open a support trouble ticket, for example — and for some reason we just don’t have it. If the box is in a remote datacenter this can be…

Posted in Sysadmin, Unix | Comments

Simple rotate log script

There are some situations where you have an automatic process that creates a log file. If the process is run on a periodic basis and you don’t add something like a timestamp to the log file name, the log ends…

Posted in Shell Scripts, Sysadmin, Unix | Comments

Swedish Greys - a WordPress theme from Nordic Themepark.