Mandar P.

3 Followers
3 Blog Followers
Following:
Following Blogs: 3

Latest Activity

Process monitoring on Unix/Linux/Solaris/HP-UX/AIX

Mandar P. posted an article on - Dec 4, 2011, 6:01 am
It’s often a requirement to monitor Unix processes in the field of performance monitoring. However, there is a catch. Different flavors of Unix have different process monitoring tools such as `top`. Of course `top` is not available on all platforms. Similarly HP-UX has something called ‘glanceâ€...
Comment - Like

Process monitoring on Unix/Linux/Solaris/HP-UX/AIX

Mandar P. posted an article on - Dec 4, 2011, 6:01 am
It’s often a requirement to monitor Unix processes in the field of performance monitoring. However, there is a catch. Different flavors of Unix have different process monitoring tools such as `top`. Of course `top` is not available on all platforms. Similarly HP-UX has something called ‘glanceâ€...
Comment - Like

CPU Info – Linux, Solaris, AIX, HP-UX

Mandar P. posted an article on - Sep 30, 2011, 1:06 pm
Below are the CLIs to display CPU information on Linux, Solaris, AIX and HP-UX. LINUX:  # cat /proc/cpuinfo SOLARIS: # psrinfo –v # prtdiag or # prtdiag | grep SUNW # prtconf AIX: # lscfg -l ...
Comment - Like

CPU Info – Linux, Solaris, AIX, HP-UX

Mandar P. posted an article on - Sep 30, 2011, 1:06 pm
Below are the CLIs to display CPU information on Linux, Solaris, AIX and HP-UX. LINUX:  # cat /proc/cpuinfo SOLARIS: # psrinfo –v # prtdiag or # prtdiag | grep SUNW # prtconf AIX: # lscfg -l ...
Comment - Like

High Availability Lens 3

Mandar P. posted an article on - Sep 30, 2011, 11:49 am
In previous high availability lens 2, we saw general formula to express availability in terms of uptime and downtime. And also in terms of MTBF and MTTR. MTTR is mean time to repair ,i.e. average time required to repair a failure. If we look at the formula for availability in terms of MTBF and MT...
Comment - Like

High Availability Lens 3

Mandar P. posted an article on - Sep 30, 2011, 11:49 am
In previous high availability lens 2, we saw general formula to express availability in terms of uptime and downtime. And also in terms of MTBF and MTTR. MTTR is mean time to repair ,i.e. average time required to repair a failure. If we look at the formula for availability in terms of MTBF and MT...
Comment - Like

Firefox script timeout and workaround

Mandar P. posted an article on - Sep 27, 2011, 11:09 am
In Firefox scripts time out frequently while accessing web pages which large data. By large data, I mean that scripts/web pages taking long time to crunch data on client-side. e.g. plotting JavaScript based graphs with more than 20K data points. In this case, data has to be downloaded at client side...
Comment - Like

Firefox script timeout and workaround

Mandar P. posted an article on - Sep 27, 2011, 11:09 am
In Firefox scripts time out frequently while accessing web pages which large data. By large data, I mean that scripts/web pages taking long time to crunch data on client-side. e.g. plotting JavaScript based graphs with more than 20K data points. In this case, data has to be downloaded at client side...
Comment - Like

Firefox sync settings are lost

Mandar P. posted an article on - Aug 7, 2011, 4:41 am
One of the most used features of Firefox on my computer is Firefox sync (previously Mozilla Weave). However, once Firefox is upgraded from 3.x to 4.x (and now to 5.x), Mozilla Firefox stops syncing when Firefox is closed. The issue is default Privacy settings that shipped with Firefox and clear...
Comment - Like

Firefox sync settings are lost

Mandar P. posted an article on - Aug 7, 2011, 4:41 am
One of the most used features of Firefox on my computer is Firefox sync (previously Mozilla Weave). However, once Firefox is upgraded from 3.x to 4.x (and now to 5.x), Mozilla Firefox stops syncing when Firefox is closed. The issue is default Privacy settings that shipped with Firefox and clear...
Comment - Like

How to find Linux version ?

Mandar P. posted an article on - Jul 30, 2011, 8:25 am
Most of the times when we say a Linux version then we are referring to the specific Linux distributions…such as Red Hat, SuSe, Debian, Ubuntu etc. Below are the CLIs that list their distribution specific Linux versions. On Red Hat Linux Distribution: # cat /etc/redhat-release ...
Comment - Like

How to find Linux version ?

Mandar P. posted an article on - Jul 30, 2011, 8:25 am
Most of the times when we say a Linux version then we are referring to the specific Linux distributions…such as Red Hat, SuSe, Debian, Ubuntu etc. Below are the CLIs that list their distribution specific Linux versions. On Red Hat Linux Distribution: # cat /etc/redhat-release ...
Comment - Like

HP-UX disk mapping between persistent and legacy DSF

Mandar P. posted an article on - Jul 25, 2011, 7:20 am
Below cli lists all mapping between legacy and agile DSF for storage attached to HP-UX server. # ioscan -m dsf Persistent DSF           Legacy DSF(s) ======================================== /dev/rdisk/disk1         /dev/rdsk/c0t0d0 /dev/rdi...
Comment - Like

HP-UX disk mapping between persistent and legacy DSF

Mandar P. posted an article on - Jul 25, 2011, 7:20 am
Below cli lists all mapping between legacy and agile DSF for storage attached to HP-UX server. # ioscan -m dsf Persistent DSF           Legacy DSF(s) ======================================== /dev/rdisk/disk1         /dev/rdsk/c0t0d0 /dev/rdi...
Comment - Like

HP-UX kernel : 32 bit or 64 bit ?

Mandar P. posted an article on - Jul 25, 2011, 4:53 am
Below is the CLI to identify kernel bits on HP-UX, # getconf KERNLE_BITS 64   32   Another alternate way to find out the same is... # print_manifest | grep -i "OS mode"     OS mode:            64 bit Identifying Processor support… # getc...
Comment - Like

HP-UX kernel : 32 bit or 64 bit ?

Mandar P. posted an article on - Jul 25, 2011, 4:53 am
Below is the CLI to identify kernel bits on HP-UX, # getconf KERNLE_BITS 64   32   Another alternate way to find out the same is... # print_manifest | grep -i "OS mode"     OS mode:            64 bit Identifying Processor support… # getc...
Comment - Like

Create single HP-UX tape .depot from multiple HP-UX depots

Mandar P. posted an article on - Jul 13, 2011, 8:30 am
I was looking for a way to create .depot file on HP-UX and CLI swpackage came to rescue. Below is the CLI for creating single tape .depot file from multiple software depots. Assumption: Your depot packages are in current directory # /usr/sbin/swpackage -x target_type=tape -s `pwd` -d ...
Comment - Like

Create single HP-UX tape .depot from multiple HP-UX depots

Mandar P. posted an article on - Jul 13, 2011, 8:30 am
I was looking for a way to create .depot file on HP-UX and CLI swpackage came to rescue. Below is the CLI for creating single tape .depot file from multiple software depots. Assumption: Your depot packages are in current directory # /usr/sbin/swpackage -x target_type=tape -s `pwd` -d ...
Comment - Like

Perl Catalyst FormBuilder Plug-in and Jquery formwizard

Mandar P. posted an article on - Jun 22, 2011, 2:58 pm
Recently I was working on popular Perl framework, Catalyst. One of the tasks was to generate form quickly and obviously used FormBuilder though it is no longer updated (I guess). However, the traditional output of FormBuilder is not very nice as compared to newly designed forms so decided to i...
Comment - Like

Perl Catalyst FormBuilder Plug-in and Jquery formwizard

Mandar P. posted an article on - Jun 22, 2011, 2:58 pm
Recently I was working on popular Perl framework, Catalyst. One of the tasks was to generate form quickly and obviously used FormBuilder though it is no longer updated (I guess). However, the traditional output of FormBuilder is not very nice as compared to newly designed forms so decided to i...
Comment - Like

Shell script to translate uppercase text to lowercase

Mandar P. posted an article on - May 29, 2011, 10:07 am
While shell scripting on UNIX/LINUX/SOLARIS/AIX et cetera, it is often a requirement to translate uppercase characters to lowercase characters. It can be a user input or contents of file that one might be processing using shell scripting. Below one liner uses ‘tr’ CLI to translate upp...
Comment - Like

Shell script to translate uppercase text to lowercase

Mandar P. posted an article on - May 29, 2011, 10:07 am
While shell scripting on UNIX/LINUX/SOLARIS/AIX et cetera, it is often a requirement to translate uppercase characters to lowercase characters. It can be a user input or contents of file that one might be processing using shell scripting. Below one liner uses ‘tr’ CLI to translate upp...
Comment - Like

Converting .wav to .mp3 file format in Linux

Mandar P. posted an article on - May 11, 2011, 9:12 am
I just had a requirement to convert a CD with .wav files to .mp3 format. The first thing which I did was to boot into OpenSuse 11.3 box and  launch lame. e.g. to convert Test.wav file to Test.mp3, we can use following syntax, # lame –h –b 192 Test.wav Test.mp3 We can use above CL...
Comment - Like

Converting .wav to .mp3 file format in Linux

Mandar P. posted an article on - May 11, 2011, 9:12 am
I just had a requirement to convert a CD with .wav files to .mp3 format. The first thing which I did was to boot into OpenSuse 11.3 box and  launch lame. e.g. to convert Test.wav file to Test.mp3, we can use following syntax, # lame –h –b 192 Test.wav Test.mp3 We can use above CL...
Comment - Like

CPAN update all PERL modules

Mandar P. posted an article on - May 8, 2011, 3:12 am
Below is one liner that can be used to update all PERL modules, #perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r)' However, some modules eventually requires unstable version of PERL. Its just a matter of choice to go with unstable version of PERL. I tried this CLI on OpenSuSe 11.3...
Comment - Like

CPAN update all PERL modules

Mandar P. posted an article on - May 8, 2011, 3:12 am
Below is one liner that can be used to update all PERL modules, #perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r)' However, some modules eventually requires unstable version of PERL. Its just a matter of choice to go with unstable version of PERL. I tried this CLI on OpenSuSe 11.3...
Comment - Like

Product Testing Vs Project Testing

Mandar P. posted an article on - Apr 10, 2011, 3:28 am
Before we dive into differences of software Product Testing Vs Project Testing, it is essential to define the context that defines what software product and software project is. A software Product can be a single software project or set of software projects owned by individual(s) or organizatio...
Comment - Like

Product Testing Vs Project Testing

Mandar P. posted an article on - Apr 10, 2011, 3:28 am
Before we dive into differences of software Product Testing Vs Project Testing, it is essential to define the context that defines what software product and software project is. A software Product can be a single software project or set of software projects owned by individual(s) or organizatio...
Comment - Like

MD5SUM for all files in directory

Mandar P. posted an article on - Apr 4, 2011, 1:03 pm
Below is the CLI that can be used to recursively get md5sum for all files in a current directory. #find . –type f –print0 | xargs –0 md5sum
Comment - Like

MD5SUM for all files in directory

Mandar P. posted an article on - Apr 4, 2011, 1:03 pm
Below is the CLI that can be used to recursively get md5sum for all files in a current directory. #find . –type f –print0 | xargs –0 md5sum
Comment - Like

DBD::mysql and Can't exec "mysql_config": No such file or directory at Makefile.PL error

Mandar P. posted an article on - Mar 4, 2011, 11:55 am
I was trying to install ‘DBD-mysql-4.018’ on OpenSuse 11.3 box and have following set of packages installed for MySQL. -------------------------START-----------------------> linux:/home/Builder/DBD-mysql-4.018 # rpm -qa | grep -i mysql php5-mysql-5.3.3-0.7.1.i586 libmysql...
Comment - Like

DBD::mysql and Can't exec "mysql_config": No such file or directory at Makefile.PL error

Mandar P. posted an article on - Mar 4, 2011, 11:55 am
I was trying to install ‘DBD-mysql-4.018’ on OpenSuse 11.3 box and have following set of packages installed for MySQL. -------------------------START-----------------------> linux:/home/Builder/DBD-mysql-4.018 # rpm -qa | grep -i mysql php5-mysql-5.3.3-0.7.1.i586 libmysql...
Comment - Like

OpenSuse 11.3 and compiling Perl 5.12.3

Mandar P. posted an article on - Feb 7, 2011, 1:08 pm
I was trying to compile Perl 5.12.3 on OpenSuse 11.3 for catalyst framework environment. However, during compilation of Perl source code, it exited at ODBM_File.xs (below is small snip from the session, not pasting whole compilation…) ----------------------START-------------------------> ...
Comment - Like

OpenSuse 11.3 and compiling Perl 5.12.3

Mandar P. posted an article on - Feb 7, 2011, 1:08 pm
I was trying to compile Perl 5.12.3 on OpenSuse 11.3 for catalyst framework environment. However, during compilation of Perl source code, it exited at ODBM_File.xs (below is small snip from the session, not pasting whole compilation…) ----------------------START-------------------------> ...
Comment - Like

Types of Test Automation Framework

Mandar P. posted an article on - Jan 20, 2011, 1:58 pm
Just a quick post to list few categories of Test Automation Framework. 1. Data Driven Test Frameworks 2. Keyword Driven Test Frameworks 3. Test scripts’ Driven Test Frameworks 4. Test Library Driven Test Frameworks 5. Hybrid Test Frameworks Do you know any other cat...
Comment - Like

Types of Test Automation Framework

Mandar P. posted an article on - Jan 20, 2011, 1:58 pm
Just a quick post to list few categories of Test Automation Framework. 1. Data Driven Test Frameworks 2. Keyword Driven Test Frameworks 3. Test scripts’ Driven Test Frameworks 4. Test Library Driven Test Frameworks 5. Hybrid Test Frameworks Do you know any other cat...
Comment - Like

High Availability Lens 2

Mandar P. posted an article on - Jan 1, 2011, 5:40 am
In our last post HA Lens 1, we have seen what is mean by High Availability. Availability can be measured in numbers provided these numbers are used consistently for behavior of given system. Availability is essentially a function of Reliability and it is just one of the factors that affects system a...
Comment - Like

High Availability Lens 2

Mandar P. posted an article on - Jan 1, 2011, 5:40 am
In our last post HA Lens 1, we have seen what is mean by High Availability. Availability can be measured in numbers provided these numbers are used consistently for behavior of given system. Availability is essentially a function of Reliability and it is just one of the factors that affects system a...
Comment - Like

High Availability Lens 1

Mandar P. posted an article on - Dec 21, 2010, 7:52 am
This is one of the series of posts that I have planned to write about high availability. This post exclusively tries to explain High Availability the way I understood. The term Availability refers to the time required for system to respond to user request, i.e. the time period over which servic...
Comment - Like

High Availability Lens 1

Mandar P. posted an article on - Dec 21, 2010, 7:52 am
This is one of the series of posts that I have planned to write about high availability. This post exclusively tries to explain High Availability the way I understood. The term Availability refers to the time required for system to respond to user request, i.e. the time period over which servic...
Comment - Like

Agile Testing Video

Mandar P. posted an article on - Dec 10, 2010, 6:53 am
Agile testing video from Google Tech Talk.
Comment - Like

Agile Testing Video

Mandar P. posted an article on - Dec 10, 2010, 6:53 am
Agile testing video from Google Tech Talk.
Comment - Like

Tutorials on IBM SAN Volume Controller and other key concepts

Mandar P. posted an article on - Dec 1, 2010, 2:24 am
In previous post, e-Learning module for IBM SAN Volume Controller, we referred to single e-Learning module for IBM SAN Volume Controller. However, it doesn’t cover other key concepts related to SAN Volumes. Link below refers to all the Learning modules provided by IBM for SAN Volume controlle...
Comment - Like

Tutorials on IBM SAN Volume Controller and other key concepts

Mandar P. posted an article on - Dec 1, 2010, 2:24 am
In previous post, e-Learning module for IBM SAN Volume Controller, we referred to single e-Learning module for IBM SAN Volume Controller. However, it doesn’t cover other key concepts related to SAN Volumes. Link below refers to all the Learning modules provided by IBM for SAN Volume controlle...
Comment - Like

e-Learning module for IBM SAN Volume Controller

Mandar P. posted an article on - Dec 1, 2010, 2:08 am
e-learning module for IBM SAN Volume Controller is good starting point for people who are new to storage systems and wanted to learn about what is storage virtualization, thin-provisioning and mirroring. Below is link to access e-Learning module for IBM SAN Volume Controller. Flash video f...
Comment - Like

e-Learning module for IBM SAN Volume Controller

Mandar P. posted an article on - Dec 1, 2010, 2:08 am
e-learning module for IBM SAN Volume Controller is good starting point for people who are new to storage systems and wanted to learn about what is storage virtualization, thin-provisioning and mirroring. Below is link to access e-Learning module for IBM SAN Volume Controller. Flash video f...
Comment - Like

Data Center HA design guide from CISCO

Mandar P. posted an article on - Nov 24, 2010, 11:32 am
Just wanted to share data center high availability guide from CISCO. It is an excellent reference guide for HA Basics and data center design. It can be accessed online in HTML format at http://www.cisco.com/en/US/docs/solutions/Enterprise/Data_Center/HA_Clusters/HA_Clusters.html Download t...
Comment - Like

Data Center HA design guide from CISCO

Mandar P. posted an article on - Nov 24, 2010, 11:32 am
Just wanted to share data center high availability guide from CISCO. It is an excellent reference guide for HA Basics and data center design. It can be accessed online in HTML format at http://www.cisco.com/en/US/docs/solutions/Enterprise/Data_Center/HA_Clusters/HA_Clusters.html Download t...
Comment - Like

Linux kernel exploit And privilege escalation

Mandar P. posted an article on - Oct 23, 2010, 8:26 am
A flaw in Reliable Datagram Sockets protocol (RDS) implementation in the Linux kernel can be exploited to gain root access. The kernel exploit released by http://www.vsecurity.com I used OpenSuse 11.3 with latest kernel to try this exploit on my local machine. And compiled, executed the expl...
Comment - Like

Linux kernel exploit And privilege escalation

Mandar P. posted an article on - Oct 23, 2010, 8:26 am
A flaw in Reliable Datagram Sockets protocol (RDS) implementation in the Linux kernel can be exploited to gain root access. The kernel exploit released by http://www.vsecurity.com I used OpenSuse 11.3 with latest kernel to try this exploit on my local machine. And compiled, executed the expl...
Comment - Like

Mandar P.'s Blogs:

Mandar P.'s Followers

Mandar P. is Following

Invite Your Friends

Invite your contacts to blogged from:
gmail yahoo