?
Solved

lslparutil usage

Posted on 2010-09-14
2
Medium Priority
?
1,724 Views
Last Modified: 2013-11-17
I have enabled hourly data datacollection. ( enabled like 2 months back)
however when i run l lslparutil command on hmc it pull only couple of days of data

eg

ssh -l hscroot ioshmc9e   lslparutil -r all   -m PROD-06-9117-MMA-SN10B9592   --startyear 2010 --startmonth 8 --startday 1  --endyear 2010  --endmonth 9  --endday 14


is there any parameter missing which limit for only two day
i also tried with -d option  eg -d 10
it still gives me two days of data

0
Comment
Question by:bsa_jug
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 1000 total points
ID: 33677676
Hi,

this is due to the way lpar utilization data is handled.

Sampling events are initially collected in a snapshot file. This file holds a 24-48 hours worth of data,
and events based on sample rates less than one hour are collected only in the snapshot file.

Data is aggregated hourly to be kept for about 2 months, daily to be kept for about 2 years, and monthly to be kept for about 10 years.

That's just like rrdtools round-robin database works (well, in a way).

Now for the vital part:

There is a parameter "-s [rate]" where [rate] can be "s" for snapshot, and "h", "d", "m" for hourly, daily and monthly, respectively.

You didn't use this parameter in your command, so it defaults to "-s s" which tells lslparutil to report on the snapshot file, which holds, as I said above, only 24-48 hours of data.

In your case, to display data for the last six weeks, just use

ssh -l hscroot ioshmc9e   lslparutil -r all   -m PROD-06-9117-MMA-SN10B9592 -s h --startyear 2010 --startmonth 8 --startday 1  --endyear 2010  --endmonth 9  --endday 14

Now it should be clear that you'd have to use "-s d" to go back for up to 2 years, and "-sm" to go back for up to 10 years.

Sorry for the long and winding explanation, but I was afraid just telling you "Use '-s h' and it will work!" could have left you a bit clueless.

wmp
0
 
LVL 1

Author Closing Comment

by:bsa_jug
ID: 33719170
thx wmp
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month10 days, 7 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question