Browsing All Posts published on »May, 2009«

HP-UX: `swlist` security check failed unexpectedly due to missing nsswitch.conf

May 29, 2009

1

I found this following warning and error messages when I executed `swlist` in my HP-UX B.11.31 server: # swlist # Initializing... # Contacting target "xxxxx"... WARNING: An attempt to get the network host entry for "xxxxx" failed. This may result in denial of access to users and agents ata this host. Check the spelling of […]

HP-UX: Expands logical volume size using SAM

May 21, 2009

0

System Administration Manager (SAM) and System Management Homepage (SMH) System Administration Manager (SAM) has been a great help to configure HP-UX. Through SAM, a system administrator can easily modify the system’s users, groups, backup, recovery, display, kernel configuration, peripheral devices, tasks, as well as disks and file systems. However, the SAM is not included in […]

RHEL: Logical Volume Management

May 20, 2009

0

Logical Volume Management (LVM) Logical Volume Management is a method of managing disk drives and similar mass-storage devices. In Linux, a logical volume manager perform this task for the Linux kernel. The manager is capable to allocate space on the mass-storage devices, dynamically move or resize the space while it is being used. The manager […]

Java: Parse using regular expression

May 20, 2009

0

Java pattern and matcher under java.util.regex.* is extremely useful to pull a portion of a string that matches with the pattern defined. Java pattern and matcher are also able to parse information from the portion of a string by defining the location of the pattern that contains information. This is the example of the application: […]

Visual Studio: Finds exported functions, variables and classes in a DLL

May 20, 2009

0

Requirement: Microsoft Windows (XP – in this experiment) Microsoft Visual Studio (2005 – in this experiment) The simplest method to verify exported functions, variables and classes is to use Visual Studio Command Line: Open Visual Studio Command Line Start > All Programs > Microsoft Visual Studio 2005 > Visual Studio Tools > Visual Studio 2005 […]

Outlook: Compose HTML e-mail

May 20, 2009

0

Background Microsoft Outlook 2003 provides a great user experience introduces a drawback in e-mail content flexibility. Microsoft Outlook 2003 does not provide an option for users to modify the generated HTML code in composing HTML e-mail. Introduction Microsoft Outlook 2003 is a personal information manager from Microsoft, and is part of the Microsoft Office suite. […]

Java: Colorful Console using Java Native Interface (JNI)

May 19, 2009

1

Background First time trying Java Native Interface although I know that it is there for years. The main objective is to make Java command line program to be able to put color attribute at Windows Console. After searching online, I found Real’s How To include the color attribute into Java. Basically, it makes a bridge […]