Friday, April 18, 2008

WebSphere AppServer 7.0! Open Beta coming soon in May

IBM announced.
WebSphere AppServer 7.0! Open Beta coming soon in May
WAS 7.0 will be available in Beta in May 2008. (It's an open Beta, all registered users can test drive it.) There is also a RAD 7.5 Open Beta in the same timeframe too.

Wednesday, April 16, 2008

How can I determine the top 10 processes that have accumulated the most CPU time

How can I determine the top 10 processes that have accumulated the most CPU time?


A: The following script will display the top 10 processes that have accumulated the most CPU time:
ps -e head -n 1; ps -e egrep -v "TIME0:" sort -2b -3 -n -r head -n 10
Save the above in a file and issue 'chmod +x ' before running it.

PsInfo :- Obtain information about a system on WINDOWS

PsInfo v1.75

Introduction

PsInfo is a command-line tool that gathers key information about the local or remote Windows NT/2000 system, including the type of installation, kernel build, registered organization and owner, number of processors and their type, amount of physical memory, the install date of the system, and if its a trial version, the expiration date.

Installation

Just copy PsInfo onto your executable path, and type "psinfo".
PsInfo works on NT 4.0 and higher (including Windows Vista).

Usage

By default PsInfo shows information for the local system. Specify a remote computer name to obtain information from the remote system. Since PsInfo relies on remote Registry access to obtain its data, the remote system must be running the Remote Registry service and the account from which you run PsInfo must have access to the HKLM\System portion of the remote Registry.
In order to aid in automated Service Pack updates, PsInfo returns as a value the Service Pack number of system (e.g. 0 for no service pack, 1 for SP 1, etc).

usage: psinfo [[\\computer[,computer[,..] @file [-u user [-p psswd]]] [-h] [-s] [-d] [-c [-t delimiter]] [filter] \\computer

Perform the command on the remote computer or computers specified. If you omit the computer name the command runs on the local system, and if you specify a wildcard (\\*), the command runs on all computers in the current domain.

@file

Run the command on each computer listed in the text file specified.

-u
Specifies optional user name for login to remote computer.

-p

Specifies optional password for user name. If you omit this you will be prompted to enter a hidden password.

-h
Show list of installed hotfixes.

-s
Show list of installed applications.

-d
Show disk volume information.

-c
Print in CSV format.

-t
The default delimiter for the -c option is a comma, but can be overriden with the specified character.

filter
Psinfo will only show data for the field matching the filter. e.g. "psinfo service" lists only the service pack field.

Example Output
c:> psinfo \\development -h -d PsInfo v1.6 - local and remote system information viewer
System information for \\DEVELOPMENT:

Uptime: 28 days, 0 hours, 15 minutes, 12 seconds
Kernel version: Microsoft Windows XP, Multiprocessor Free
Product type Professional
Product version: 5.1
Service pack: 0
Kernel build number: 2600
Registered organization: xxxxxxxx
Registered owner: xxxxxxxxxxx
Install date: 04/15/2008, 6:45:21 PM
Activation status: Activated
IE version: 6.0000
System root: C:\WINDOWS
Processors: 1
Processor speed: 1.7 GHz
Processor type: Intel Pentium IV
Physical memory: 1024 MB
Volume Type Format Label Size Free Free
A: Removable 0%
C: Fixed NTFS WINXP 7.8 GB 1.3 GB 16%
D: Fixed NTFS DEV 10.7 GB 809.7 MB 7%
H: CD-ROM CDFS JEDIOUTCAST 633.6 MB 0%
I: CD-ROM 0% Q: Remote 0%
T: Fixed NTFS Test 502.0 MB 496.7 MB 99%
OS Hot Fix Installed

How it Works
PsInfo uses the Remote Registry API to read system information from a system's Registry, and WMI to determine whether Windows XP installations have been activated.

Critical Patch Update - April 2008 for Oracle, PeopleSoft and JD Edwards products

Critical Patch Update – April 2008 The Critical Patch Update for April 2008 was released on April 15, 2008.

Oracle strongly recommends applying the patches as soon as possible.

The Critical Patch Update Advisory is the starting point for relevant information.

It includes a list of products affected, pointers to obtain the patches, a summary of the security vulnerabilities, and links to other important documents. Supported Products that are not listed in the "Supported Products and Components Affected" Section of the advisory do not require new patches to be applied.Also, it is essential to review the Critical Patch Update supporting documentation referenced in the Advisory before applying patches, as this is where you can find important pertinent information.

The Critical Patch Update Advisory is available at any of the following locations:

Oracle Technology Network
Oracle, PeopleSoft and JD Edwards products

The next four Critical Patch Update release dates are:
July 15, 2008
October 14, 2008
January 13, 2009
April 14, 2009

Sincerely,
Oracle Security Alerts
Copyright © 2008, Oracle Corporation and/or its affiliates.All rights reserved.

Tuesday, April 15, 2008

Sample Questions for Websphere Application server certification.

1: What must be done to monitor EJB methods using Tivoli Performance Viewer (TPV)?(select 1)
Explanation:
http://publib.boulder.ibm.com/infocenter/ws51help/index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/tprf_instrlevelejb.html
a: Select standard monitoring, and monitoring level to high.
b: Select standard monitoring, and monitoring level to Maximum.
c: Select custom monitoring, and monitoring level to high.
d: Select custom monitoring, and monitoring level to Maximum.

2: After installing WebSphere Application Server V5, using the standard installation with defaults -which is TRUE about the ports the WebSphere binds to?(select 2)
Explanation: The tricky part of this question is that all of the ports listed are commonly used throughout WebSphere. Also, the ports look very similar, so at first glance, if you are in a rush - you may choose the wrong answer. The admin console listens on 2 ports: the first is non-secured (using http), and the second is secured (using https, after enabling global security). See the info center link:
http://publib.boulder.ibm.com/infocenter/ws51help/index.jsp?topic=/com.ibm.websphere.nd.doc/in
fo/ae/ae/rins_portnumber.html
a: The embedded HTTP server listens on port 80, unless a Web Server is installed on the same machine such as IBM HTTP Server.
b: The WebSphere Admin Console can be accessed on port 9080.
c: The WebSphere Network Deployment Admin Console can be securely accessed on port 9043
d: The WebSphere Admin Console can be accessed on port 9090.
e: The WebSphere Network Deployment Admin Console can be securely accessed on port 9443

How can LDAP be used with WebSphere Application Server V5?(select 1)
Explanation: Many people think they have correctly answered this question - when in fact they have not. There is a common mis-perception about what LDAP is. The following link will give you a better understanding: http://wp.netscape.com/directory/v4.0/faq.html#6 or, the following IBM Redbook is also helpful: Understanding LDAP Design and Implementation, Chapter 1, page 3 http://www.redbooks.ibm.com/redbooks/pdfs/sg244986.pdf
a: LDAP is the namespace that WebSphere uses to lookup objects in WebSphere such as EJBs and datasources.
b: LDAP is a repository containing user/group information. WebSphere can perform authentication against it.
c: LDAP is the Internet standard for directory lookups. WebSphere can use this protocol in performing authentication.
d: LDAP allows the Http plugin to communicate to the embedded Http Server in WebSphere
Bookmark and Share
Join the TrafficZap Exchange