Monthly Archives: October 2011

Integrated Lights Out Manager (ILOM) CLI Cheat Sheet

Learning the Integrated Lights Out Manager (ILOM) will be a big help when a System Administrator cannot login anymore to the server. ILOM can be accessed via IP network or serial console. Here are some of the most commonly used commands that could get anyone on track on managing the ILOM:

Display SP firmware version:

-> version

Show available CLI commands:

-> show /SP/cli/commands

Display help information about commands and targets

-> help

Connect to host serial console:

-> start /SP/console

List users with open sessions to the system console (who is using the console?):

-> show /SP/sessions

Terminate a server console session started by another user:

-> stop /SP/console

Power on host:

-> start /SYS

Power off host:

-> stop /SYS

Reset host:

-> reset /SYS

Reset ILOM:

-> reset /SP

Enable locate LED:

-> set /SYS LOCATE=on

Disable locate LED:

-> set /SYS LOCATE=off

Add a local user account:

-> create /SP/users/username password=password role=[administrator|operator]

Displaying Users:

-> show /SP/users

Unix or Linux Crontab Headers

Even though cron is our usual lifesaver for redundant tasks on a Unix or Linux Systems, there are times that we really forget the syntax that is needed for our cronjobs. Here is a simple yet effective headers that we could place on top of the crontab as comments:

###############################################################
#.---------------- minute (0 - 59)
#|  .------------- hour (0 - 23)
#|  |  .---------- day of month (1 - 31)
#|  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ...
#|  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7)  OR
#|  |  |  |  |         sun,mon,tue,wed,thu,fri,sat
#|  |  |  |  |
*  *  *  *  *  command to be executed

Dennis Richie, one of the creators of UNIX and C has died

It is a very sad news for all of us. A true pioneer in modern computing and the one that revolutionizes on what we are all using today. Without C language, we will not have Java, C++, Basic. Without Unix, what Operating System will the world would be using.

Dennis Ritchie

#include <stdio.h>

int main(void)
{
printf("RIP Dennis Richie.\n");
return(0);
}

Check out Dennis’ site at Bell-Labs

Dennis’ Wikipedia Biography