Jumanjiman

Linux Engineer and advocate for freedom and transparency

Check Boot-time Service Status With Systemctl

Seth Vidal posted a useful snippet at http://skvidal.wordpress.com/2011/11/04/like-chkconfig-list today for checking the boot-time status of services on a host using systemd.

I copied and pasted from his blog into my shell, only to discover that Wordpress had transformed his double-quotes into smart quotes. Bleh. So I hacked for a couple minutes and came up with this new version:

Here’s 10 lines of output from the script:

Boot-time service status
1
2
3
4
5
6
7
8
9
10
abrtd.service                                             on
accounts-daemon.service                                  off
acpid.service                                             on
atd.service                                               on
atop.service                                             off
avahi-daemon.service                                      on
bluetooth.service                                         on
canberra-system-bootup.service                           off
canberra-system-shutdown-reboot.service                  off
canberra-system-shutdown.service                         off

Enjoy!

Deploying Intel Studio XE 2011

Intel uses the Macrovision floating license manager (flexlm) to prevent you from using its developer products without authorization. You need flexlm on one server if you are using floating licenses for Intel client products, such as VTune or icc. Flexlm running on Linux provides support for both Windows and Linux clients running Intel studio.

If you want things to “just work”, you have some work to do. For starters, flexlm is shipped as a tarball with an interactive install script. Worse, the documentation for flexlm is spotty and fails to provide a useful init script. There is always more that one way to do it, but this post shows one approach to bundling and deploying a third-party application in a repeatable fashion.

In this post, I provide some tips for deploying the flex license manager for Intel developer tools on RHEL 5 (64-bit), including:

  • Prepare the license file
  • Package flexlm as an RPM
  • Create a SysV-style init script for flexlm that works with Red Hat Cluster Suite (RHCS)

Getting Started With Octopress

This is my first post with Octopress. I followed the installation instructions provided with Octopress, and it was pretty easy on my 64-bit Fedora 15 laptop. In this post I describe:

  • Two issues I encountered during setup along with their solutions
  • Plugin configurations
  • Reordering plugins in the sidebar
  • Helpful references for Markdown