Re: A call to chair sessions at SHARE

2013-07-18 Thread Shane G
S 
Having had a (several) play with the scheduler toy, the only thing I can
confidently say is I'm not much better placed to help. I have no time slots
without a conflict of some sort.
I (currently) have no slots in the Linux/VM stream where I will definitely be
attending, despite there being several I badly want to. z/OS performance is
where I make my income - z/VM is a side interest; and unfortunately not a
very large one here in Aus

Would like to help, but can't.

Shane ...

On Sat, Jun 15th, 2013 at 8:47 AM, I wrote:

> Ugh - now I remember why the various streams have so much trouble getting
> volunteers for chairs. It's not just that we are a bunch of lazy bums -
> it's a *real* problem trying to work out which sessions one can actually
> attend.
> And things might move - or I might change my mind ...
...
> If I ever work out what I'm going to in this stream, I'll be in touch.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: CPUPLUGD or VMRM-CMM or CMMA

2013-06-27 Thread Shane G
I was never much enamoured with the original cpuplugd - and my customer
response to testing it was less than enthusiastic. This, however, looks more
interesting.
Now to see if I can convince the customer to retest using it (R/H 6.4).

Shane ...

On Fri, Jun 28th, 2013 at 1:12 AM, Bruce Hayden wrote:

> A whitepaper was published about a year ago about the updates to
> cpuplugd.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: A call to chair sessions at SHARE

2013-06-14 Thread Shane G
On Sat, Jun 15th, 2013 at 7:52 AM, "Jagos, Brian V" wrote:

> Hi All,
> 
> It is that time of year again this is a call to chair SHARE
session.

Hadn't realised the schedule was out.
Ugh - now I remember why the various streams have so much trouble getting
volunteers for chairs. It's not just that we are a bunch of lazy bums - it'd
a *real* problem trying to work out which sessions one can actually attend.
And things might move - or I might change my mind ...

I know it's harder for the organisers than it is for us, but it's still not 
easy.
If I ever work out what I'm going to in this stream, I'll be in touch.

Shane ...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Z9 to Z114, Z/VM5.4 to Z/VM6.2 and moving Z/OS to a guest?

2013-05-28 Thread Shane G
And just for completeness, I have a customer happily running 5.4 on a z114.

I would go for 6.2 on the new box, but you'd have to think IBM would cane you
something awful with licensing for running z/OS as guests.
Needs must I suppose ...

Shane ...

On Tue, May 28th, 2013 at 8:09 PM, "Feller, Paul" wrote:

> I can answer #3.  Yes z/VM 5.4 will run on a z114.  We are running it on a
> z196 (big brother to z114), but we had to apply maintenance to z/VM 5.4. 

...
> Hi list
> 
> Looking for the way forward.
> 
> Have a Z9 with 1 CP and 5 IFL's. Have 4 X Z/VM 5.4 LPARS with various
> versions of SUSE Linux running as guests and a Z/OS Prod and Test Lpar.
> 
> Are installing a Z114 in a few weeks time and would like to upgrade to
> Z/VM 6.2 also
> 
> Questions.
> 
> 1) Is it easier to move the Z/VM 5.4 Lpars over with the Suse Guest's and
> then upgrade to Z/VM 6.2? Or should I install Z/VM 6.2 and then move the
> guests (Will keep all of the device address's the same on the new
> machine.)
> 
> 2) According to IBM Z/OS 1.7 will not run natively in an LPAR on the Z114.
> We need to run it under Z/VM as a guest. Has anyone run into this problem?
> - Though I would create a separate Lpar with Z/VM and 2 X Z/OS guests
> (Prod an Test)
> 
> 3) Does Z/VM 5.4 run on a Z114?

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Anyone have any good Debian media for a z9

2013-05-23 Thread Shane G
I'm sure this will induce Philipp Kern to rise to the task.

However a quick search on this list will also get you Fedora - that might
suffice for educational purposes. Especially if you are RHEL inclined.
CentOS used to do a s390x build, but I haven't seen that in years.

Shane ...

On Fri, May 24th, 2013 at 9:52 AM, Cameron Seay wrote:

> We are trying to install Debian for z on a z9 and are running into issues
> with the installation.   Our media is coming from the Debian site.  Does
> anyone have any media they have uses successfully or any tips.  Red Hat
> will only give us a 180 eval copy for educational purposes and we want to
> use something else that we can use unfettered.  Help!
> 
> Long live REALLY open source software
> 
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> --
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
> 
> 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Big Dumps

2013-05-09 Thread Shane G
On Fri, May 10th, 2013 at 2:32 AM, David Boyes wrote:

> You're probably not going to budge them on that. 

With luck maybe Filipe can bring some more clout to the table  ;-)

Shane ...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: oracle java

2013-03-21 Thread Shane G
On Thu, Mar 21st, 2013 at 4:02 AM, Ben Duncan wrote:

> *SNARK* .. Gave up Java for Python.

lol - I went the other way. No real loss in my case as my Python was
rudimentary, and I wanted to write an app for my phone 
Now everyone tells me I should be on HTML5  d'oh.

Shane ...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Speed of BASH script vs. Python vs. Perl vs. compiled

2013-01-30 Thread Shane G
On Thu, Jan 31st, 2013 at 12:44 AM, John McKown wrote:

> Thanks to all for the input! I _tried_ to run the script over night. I
> added an echo to tell me which input file I was working on. I came in
> this morning. It had been running from 14:00 to 06:30 (16 1/2 hours)
> and was still on the first input file. That ain't gonna cut it. Time
> to rethink. Using a Perl hash to contain an open file handle seems
> logical. As does buffering multiple records per output file to do a
> single I/O to write them. But I may be forced into using C or C++ for
> speed. Too bad I'm not a very good C programmer.

Interesting timing. I was about to suggest you utilize your perl skills.
Having originally ignored it, I now use awk extensively for text
parsing/reduction. But for *BIG* jobs, perl is it.

But all that input I/O is going to be death whatever you choose.

Shane ...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Your postings on Linux-390

2013-01-29 Thread Shane G
I've had no trouble reading your mails from a (linux) mail client or a web
interface to my ISP mail q.
Using a web interface to linux-390, your messages disappear, leaving just
attachments.

Shane ...

On Tue, Jan 29th, 2013 at 2:59 AM, Richard Troth wrote:

> friends --
> 
> Sincere apologies for blank messages and other strangeness and all
> this recent noise.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Convert partition table to GPT?

2013-01-10 Thread Shane G
On Thu, Jan 10th, 2013 at 10:59 AM, Rick Troth wrote:

> GPT is s conspiracy of the partition police and the UEFI underworld.

A little  paranoia is good for the soul ...   :-)

> Partition tables are needed ... sometimes ... not always.  (One case
> where they are needed is when GRUB and UEFI gang up against the rest of
> us.)

Hmm - maybe a little harsh on grub.
We all have to tolerate the unreasonable demands of monopolistic
multinational conglomerates.

Probably every day for most of the people on this list.

Shane ...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: A call to chair

2012-12-21 Thread Shane G
On Fri, Dec 21st, 2012 at 12:40 PM, "Jagos, Brian V"  wrote:

> Yes SHARE is right around the
> corner and it is time for a call for "CHAIRS".

I am constantly baffled that the various streams appear to have so much
trouble getting people to help on this. I can vouch that it ain't a tough
gig, and you are guaranteed to get a spot near the front  ;-)
So if you're going, think about it.

And no Brian, I won't be there ... sorry.

Shane ...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Still can't install on z196.

2012-12-04 Thread Shane G
There is a thread on another list re "why I love my z vendors".
Clear evidence here.

Excellent, pure and simple.

Shane ...

On Tue, Dec 4th, 2012 at 6:34 PM, Dan Horák wrote:

> yes, I've checked the sources for dracut (the tool that downloads the
> image after setting the needed devices online) and there is no way to
> set a proxy server. Please open a bug at https://bugzilla.redhat.com
> (product Fedora, compoment dracut) asking for this capability and let me
> know the bug number.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: VNC for RHEL 6

2012-11-28 Thread Shane G
Mark Post (from Suse) spake thus:

> RHEL ships with tigervnc (the client) and tigervnc-server.  Is there some
> problem with those?

Who says they don't keep an eye on their contemporaries ... :0)

Keep up the good work, one and all.

Shane ...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: xcat?

2012-09-01 Thread Shane G
Might explain the quality of the doco - kudos as appropriate.

Shane ...

On Sat, Sep 1st, 2012 at 10:07 PM, Thang Pham wrote:

> As of July 13, 2012, a service contract for xCAT on z/VM is available for
> purchase from IBM.  More info is available on
> http://www.vm.ibm.com/sysman/

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: xcat?

2012-08-31 Thread Shane G
On Sat, Sep 1st, 2012 at 1:17 AM, Lee Stewart wrote:

> Is anyone using xcat (http://xcat.sourceforge.net/) in production?  Any
> comments on it?

Nope, but thanks for asking the question. Looks interesting.
My only comment would be that the z{VM,Linux} doco looks extremely well done.

Shane ...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: console-kit-daemon errors on SLES 11

2012-08-31 Thread Shane G
> As per the document one can modify the the syslog-ng.conf file to supress
> the messages.

React to the symptom (and hide the evidence) rather than fix the actual problem.
Has happened before, will do again.

Shane ...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Too true to be funny - 51% of the surveyed Americans think that stormy weather can interfere with the functionality of the cloud.

2012-08-30 Thread Shane G
And ... ?.
http://gigaom.com/cloud/some-of-amazon-web-services-are-down-again/

Shane ...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Collectl - open-source Linux performance monitor

2012-08-17 Thread Shane G
>From a non-z perspective it is excellent. It's all (??? - the bits I've
looked at anyway) perl, has a daemon mode that creates a detailed history,
and is fine-grained in the data.
Mark, the developer, is very receptive to suggestions.

Must see if I can get it on a (z) customer site somewhere.

Shane ...

On Sat, Aug 18th, 2012 at 6:15 AM, "Morris, Kevin J. (RET-DAY)"  wrote:

> Has anyone on this list experimented with Collectl and its accompanying
> utilities?
> 
> http://collectl.sourceforge.net/
> http://collectl-utils.sourceforge.net/
> 
> For those without access to Velocity Software, this may be the next best
> thing...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: z/Linux and z/OS

2012-08-01 Thread Shane G
Seems this is a common refrain in this neck of the woods.
Lots of blue-sky stories, then little or no engagement.

There are (significant) successes, of which there are a few people subscribed
here, but there are also a number that are (deliberately) unpublicised.
Very unfortunate.

zLinux in Aus appears to the watching masses to be the promising child that
just never lived up to expectations.

Shane ...
(Tony, can you change your "reply to" pls)

On Wed, Aug 1st, 2012 at 8:48 AM, Tony Saul wrote:

> I'm probably just jealous and frustrated when I see success stories as I
> have been bashing my head against a brick wall for so long.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Hipersockets over Guest LAN to MVS

2012-07-16 Thread Shane G
On Tue, Jul 17th, 2012 at 6:37 AM, Alan Altmark wrote:
...
> TCPIP is connected to two HiperSocket networks: one real (to MVS) and one
> virtual (to Linux).

Now, hold it right there fella. I want the order number for one of those
*real* hipersockets.
(haven't we been here before ... ;-)

Shane ...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: MIPS increase after SLES11 SP1 patches

2012-05-03 Thread Shane G
It should be noted "top" accepts a parm to adjust the report frequency - all
the way down to fractions of a second. *All* sampling based monitors have
their weaknesses - especially those that run in userspace.
However, for those of us that developed our performance tuning/debugging
skills in a traditional one-make proprietary environment the tools/metrics
available in Linux are generally seen to be somewhat lacking.

I am in the process of preparing a presentation on such for submission for
the next LCA - whether it fits the "theme" the organisers decide upon, let
alone gets accepted at all remains to be seen.

Shane ...

On Thu, May 3rd, 2012 at 2:48 PM, "Srivastava, Sagar"wrote:
...
> Standard
> Linux commands like top could not show the process since it ran for 10
> seconds per minute only.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Kernel ring buffer date stams missing

2012-04-21 Thread Shane G
Be careful what you ask for.
This is _not_ a true (time-of-day) timestamp. At least it wasn't last I
looked. Think kernel active time since boot - useful for relative (timed)
occurrences for kernel events.
It would be reasonably trivial to adjust it to a ToD stamp, but it's going to
have some holes in it. 

Shane ...

On Sat, Apr 21st, 2012 at 6:28 PM, R P Herrold wrote:

> Not just a hint -- the Red Hat kernel configuration appears
> not to enable it -- but it may be trivially turned on:
> 
> # echo 1 >  /sys/module/printk/parameters/printk_time

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: pid swap space used

2012-04-13 Thread Shane G
On Fri, Apr 13th, 2012 at 3:41 PM, Mark Post wrote:

> /proc/*/smaps exists in SLES10, but there's no "Swap:" fields in them.

Arrgggh. That'll certainly get a bunch of zeroes out of that script.
Note to self, _never_ presume nuthin ...

Thanks Mark.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: pid swap space used

2012-04-12 Thread Shane G
On Thu, Apr 12th, 2012 at 8:37 PM, Rob van der Heij wrote:

> With 22 processes having this mapped, I would count it as 22 times 8
> kB while it really is just 8 kB on swap? And how come part of this is
> private when it's read-only?

Note the last sentence of my previous post. That applies (particularly) to
myself. The memory metrics are "interesting" in a number of ways.
For shared libraries the memory (swap in this case) appears to replicated,
but not additive. This was a burr in the saddle for so many people they
eventually invented PSS to try and apportion responsibility for RSS - that's
"your" ratio based on reference count (I think). Don't try to apply logic to it.
As for the "private"- it's *all" private. That's what the "p" permission flag
is - indicates cow. My question would be what has changed to force an
anonymous allocation ?. And who was responsible, given that your referenced
allocation is zero ?.
Hopefully one of the bright folks in the German labs will come to our aid
whilst I sleep ...  ;-)

Shane ...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: pid swap space used

2012-04-12 Thread Shane G
No, by lazy in this context I meant that freed memory (pages) are not
immediately moved to the free list. This even extends to task termination.
If memory pressure ramps up sufficiently, kswapd will get kicked to balance
out the trees. Could take a while - like forever.

In addition to what Rob mentioned, there is de-dup and compressed swap cache
out in the wild already. How does the mug end user figure out what's what ?.

Shane ...

On Thu, Apr 12th, 2012 at 5:56 PM, Rob van der Heij  wrote:

> ... (assume Shane hints at that with "lazy").

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: pid swap space used

2012-04-11 Thread Shane G
- obvious first step would be to check the entire system, rather than a
subset you obviously think is the cause.
- smaps should be believed.
- Linux uses lazy (memory) allocation. This includes de-allocation. And swap.
Hence the various tools that simply read meminfo should be treated with
(extreme) care if you are basing decisions on it.
- the definitive way to check is swapoff/swapon. Bit drastic maybe, but the
swapoff will simply fail if there is insufficient memory available. Works
o.k. on test environments ...

Shane ...

On Thu, Apr 12th, 2012 at 12:09 PM, PHILIP TULLY wrote:

> I have a couple servers which show 100% swap space used but when I look
> I can't find which pids are have pages in swap.
> 
>   free -m
> total   used   free sharedbuffers
> cached
> Mem: 12061  11410650  0152
> 6425
> -/+ buffers/cache:   4832   7228
> Swap: 1129   1128  1
> 
> I was using the following to show how much swap space was being used it
> is either not working or there is nothing allocated to swap.
> 
> for pid in `ps -ef|grep  ora| awk '{print $2}'`; do echo -n "Pid: $pid
> "; cat /proc/$pid/smaps |grep -i swap| awk '{SUM += $2} END {print "SUM:
> " SUM " kB (" SUM/1024 " MB)"}'; done
> 
> 
> Does anyone have a different method for finding which pids are actually
> using swap?
> 
> TIA
> 
> Phil
> 
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> --
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
> 
> 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: zLinux guest cpu question

2012-04-06 Thread Shane G
Sorry Alan - I trust your paroxysm of coughing did no lasting damage   ;-)
I meant the concept, not necessarily that precise implementation.

Shane ...


On Sat, Apr 7th, 2012 at 3:22 AM, Alan Altmark wrote:

> (cough) With VIF, we learned an important lesson on how NOT to make a
> hypervisor.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: zLinux guest cpu question

2012-04-06 Thread Shane G
On Thu, Apr 5th, 2012 at 6:06 PM, Lu GL Gao wrote:

> We know that linux cpu usage mainly include user cpu and sys cpu. But why
> performance toolkit value cannot corresponding with top command value?


Why not indeed.
Hipervisors are becoming a commodity item. IBM (and its ISVs) has fought
rear-guard actions on (costly) proprietary options in the past.
And lost.
Anyone remember SNA ?. Token-ring ?.
Maybe IBM were ahead of their time with VIF - time for a resurrection maybe ?.

Instead of trying to force users to conform to z/VM, maybe the powers that be
should be looking to contribute useful metrics upstream, and merely make z/VM
a generic hipervisor so users can concentrate on the things that earn them a
buck.
Or just toss it all in and get the z KVM module up to spec.


Shane ...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: New book: Linux Health Checker 1.0 User's Guide

2012-03-21 Thread Shane G
C'mon Mark, be a bit more positive   lol.
Let's hope Barbara doesn't get to hear of this (*) ...  ;-)

Shane ...
(*) - apologies to those not on IBM-MAIN

On Thu, Mar 22nd, 2012 at 2:25 AM, Mark Post wrote:

> I'm more interested in a mechanism to report bugs.  From perusing the
> SourceForge pages for the project, it appears the only open avenue at the
> moment is to subscribe to their mailing list.  :(

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: New book: Linux Health Checker 1.0 User's Guide

2012-03-21 Thread Shane G
And is already linked off the sourceforge page. Excellent work !.

Shane ...

On Wed, Mar 21st, 2012 at 9:25 PM, Dorothea Matthaeus wrote:

>  The Linux Health Checker User's Guide will soon be available also on
>  developerWorks.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: RES: Emergency

2012-03-19 Thread Shane G
It doesn't matter much - all the important meta-data is at the "front" and
gets clobbered first.
Usually.

LVM is greatly lauded as an "Enterprise" solution, but the initial design was
terribly flawed, and numerous iterations to rectify it have not been entirely
fruitful.
IMHO of course.
Even if only a subset of the devices has been trashed, just getting LVM back
to a usable state can be a devil of a job. Without (decent) backups any
overwritten data is gone.

Shane ...

On Tue, Mar 20th, 2012 at 8:42 AM, Helio Mario Neves Pimentel de Oliveira wrote:

> I don´t how far the formatting exec went, before the machine hanging.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-14 Thread Shane G
This is just your friendly vendor messing with you.
Not to mention LVM itself.

An lv is not a volume, it's really a "partition" - no, wait, that's what a pv
is ...
Unless, of course, a pv is a full volume, and not a partition at all.
And a vg is a group of volumes except when a pv is not a partition, but a
volume, which makes the vg a group of ... never mind :eek:.

Overloaded acronyms are always lots of "fun".

Shane ...

On Thu, Mar 15th, 2012 at 9:11 AM, Tom Duerbusch wrote:

> Just have to know the secret handshake and all is well .

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Oracle in virtual environments

2012-02-27 Thread Shane G
C'mon Rodger, stop beating around the bush - say what you really mean   ;-)

Whenever I've sat in on any presentations by database developers , they
*always* want all the memory, to do their own (direct) I/O, avoid O/S
services (like caching) and to hell with the rest of the users of system
services.
Linus (as is his want) has also reacted (er, ranted) about this anti-social
behaviour.

Some days it is just a whole lota fun being amongst the spectators.

Shane ...

On Mon, Feb 27th, 2012 at 11:10 AM, Rodger Donaldson wrote:

> Given Oracle's own support matrix says they officially support not just
> zVM but OracleVM for Intel (i.e. rebranded Red Hat Linux), OracleVM for
> SPARC (SPARC T-series domains), Solaris containers, and M-series domains,
> I would be tempted to ask your DBAs if they're just lazy or actually too
> incompetant to read the documentation on the product they're being paid
> to support.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: LVM mount points

2012-02-23 Thread Shane G
I must admit some ambivalence to being hamstrung by such "standards".
I did enjoy having a read of this:
http://lists.busybox.net/pipermail/busybox/2010-December/074114.html

Shane ...


> > ...
> > The default in /opt/IBM is not a great option.
> Per the FHS, I believe it should have been (should be) /var/opt/IBM/.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: ksoftirqd using 100% CPU

2012-02-10 Thread Shane G
On Fri, Feb 10th, 2012 at 11:00 PM, Joerg Reuter wrote:

> On Thu, Feb 09, 2012 at 04:43:25PM -0600, Ron Foster at Baldor-IS wrote:
> 
> > The only messages I can find have to do with a hipersockets time out.
> > Feb  9 11:21:39 bus0104 kernel: NETDEV WATCHDOG: hsi0: transmit timed
> out
> > Feb  9 11:21:39 bus0104 kernel: qeth: Recovery of device 0.0.5100
> > started ...
> 
> Hmm, that shouldn't happen.

Lol ...
I was wondering if the OP could see anything from z/VM, but if it really is a
softirq/tasklet problem that probably means (Linux) dodgy driver.
And in almost all occasions that probably means network ...

Keeping an eye on /proc/interrupts might be instructive.

Shane ...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: mvsdasd

2011-11-08 Thread Shane G
On Wed, Nov 9th, 2011 at 3:44 PM, Alan Altmark wrote:

> > Just because the current crop of security weebles don't "get it" does
> > not a true problem make.
> 
> Eh?

LOL.
Should it come to pass that Alan and I are once again in the same bar
imbibing the best of Aussie brews/wine, I must remember to remind him of the
time he was accused of being a (security) "weebie" (which I just had to look
up to assuage my ignorance).
 
:-)

Shane ...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Is MVS TRSMAIN (terse) available for zLinux?

2011-07-29 Thread Shane G
Have you considered alternatives - pax for example ?.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: LVM on CKD?

2011-06-08 Thread Shane G
On Thu, Jun 9th, 2011 at 6:12 AM, Mark Post wrote:

> To be honest, I don't think LVM itself cares about the partition type. 
> pvcreate will use any partition you point it at.

This is unfortunately (almost unbelievably) true - with the notable exception
of swap. Regardless of the partition type of a swap extent, pvcreate
recognises the swap header and will query you before trashing it.
Any other partition type - including those with valid filesystems and data -
will be fair game.

Shane ...
(N.B. - not (re-)verified on z/)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: cmsfs-fuse package in RHEL 6.1

2011-05-28 Thread Shane G
> ... which allows write access to a CMS filesystem.

Note the *write* access - is this generally available ?.

Shane ...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: cmsfs-fuse package in RHEL 6.1

2011-05-28 Thread Shane G
H - and why isn't this generally available ?.
Open source ... ???

Not meaning to piss on the messenger, but I'm happy to do likewise to the
policy makers involved.
This is just *bad*.

Put it out there, let the community benefit.
Having been the "recipient" of IBMs progression to OCO, this just rubs me the
wrong way.

Shane ...

> Just an fyi for anyone interested in cmsfs.
> 
> cmsfs-fuse is a new feature included in RHEL 6.1 (released last week)
> which allows write access to a CMS filesystem.  For example, it's now
> possible to edit files on a guest's 191 disk with a Linux text editor
> like 'vi'.
> 
> It's contained in the package 's390utils-cmsfs-fuse', but you won't find
> it in the normal channels for download with RHEL 6.1 on
> http://access.redhat.com.  Instead, it's in the 'optional' channel for
> 6.1.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: SSH & X connection to z/Linux from Android?

2011-04-01 Thread Shane G
Hard to argue ...  lol

Shane ...


On Fri, Apr 1st, 2011 at 10:15 PM, Mauro Souza wrote:

> But anything is better than twm.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Where is kernel loaded in memory?

2011-03-17 Thread Shane G
And another good thread was had by all.

Whilst I suspect the initial question was in no way related to the problem
observed, the asking elucidated some fine information on the zSeries port for
those of us with a morbid fascination in such matters.

Thanks to all.

Shane ...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Where is kernel loaded in memory?

2011-03-17 Thread Shane G
As Rob pointed out, good luck trying to figure what that actually resolves to
hardware-wise.

Shane ...

On Thu, Mar 17th, 2011 at 8:46 PM, Heiko Carstens wrote:
 
> The kernel gets loaded to address absolute zero ...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Where is kernel loaded in memory?

2011-03-16 Thread Shane G
And which "real address 0" might that be ?.
Remembering that most people will be running as a guest under a hipervisor
(z/VM) running second level under another  hipervisor (PR/SM).

I note our German maintainers have been conspicuously quiet

Shane ...

On Thu, Mar 17th, 2011 at 6:32 AM, Mark Post wrote:

> > Is there a way to tell externally (command or otherwise) where the
> > zLinux kernel is loaded in memory?
> 
> It gets loaded at real address 0.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: cleaning up /tmp

2011-03-11 Thread Shane G
Just to clarify, this was based on the OE reference - i.e Unix Systems
Services running under z/OS rather than zLinux.

Shane ...

On Sat, Mar 12th, 2011 at 1:44 AM, I wrote:

> Have you considered skulker ?.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: cleaning up /tmp

2011-03-11 Thread Shane G
I've been known to drop files in /tmp for later collection - by myself or 
others.

Have you considered skulker ?.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Spiking server

2011-03-04 Thread Shane G
My perspective on this is that swap is there to soak up allocations you
weren't prepared for.
Who cares about the cost of (virtual) disk allocation.

As for Rob (who works for someone that sells software monitors) beating up on
someone who works for the hardware vendor ... ???
Chill fella ... just chill.

Chewing up all the (guest) memory, then doing likewise to the z/VM memory
(extended included) can't be good. Especially if it all finally goes "base
over apex" as the OP indicated.
Swap is generally cheap - outages are expensive ...
As are the arse-kicking episodes afterwards.

Shane ...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: LVM, PAVs, and cloning

2011-02-01 Thread Shane G
You wish 
You'll find them scattered hither and yon - especiallly with LVM faking
a(nother) block device layer.

And, as you've already discovered, the second U is a lie. Sometimes ...

Shane ...

On Wed, Feb 2nd, 2011 at 10:48 AM, Alan Altmark wrote:

> Ah, so these UUIDs are not the builtin UUIDs of the DASD devices?  E.g.
> IBM.3390.274.04E kinds of things.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Linux preferences

2010-12-22 Thread Shane G
And as a dispassionate (database ignorant) observer, I'm happy to see such a
response from a vendor.
Top points.

Shane ... 

On Wed, Dec 22nd, 2010 at 10:17 PM, Damian Gallagher wrote:

> " The Oracle DBA indicates that Oracle is easier to implement under Red
> Hat" - I'm interested in what this means precisely, as we should be pretty
> similar in each environment - we only have the one code set and installer.
> If there are significant differences that people are finding (on Z) then
> I'm happy to look into it.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: vmur usage ?

2010-09-09 Thread Shane G
Who is this Altmark fella anyway ?.

Shane    

On Thu, Sep 9th, 2010 at 10:24 PM, Alan Altmark wrote:

...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Wed. July 28 (not June) 28 LVC-webcast -Linux on System z: Current & Future Technologies

2010-07-31 Thread Shane G
Whilst I'm sure lots of people (in the northern hemisphere) appreciate the
running of this twice in the one day, this still equated to 23:00 and 04:00
for us on the Australian east coast. Much as I'd like to partake ...

The ability to later re-run the session(s) at my leisure is much appreciated.

Shane ...

> Please join us for the Linux webcast on
>   Wednesday, July 28th that is offered twice
>   this day:  9:00 AM EDT   OR 2:00 PM EDT.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: OOM Condition on SLES11 running WAS - Tuning problems?

2010-07-27 Thread Shane G
Hmmm - high "sys" CPU usage, high loadavg, system not talking to anyone.
Smells like it's busy doing its own stuff. If it were me I'd want to know 
trends for things like 
swap-in and swap-out rates, tasks in uninterruptible sleep, context switch 
counts.

SAR is too granular to be any use even if it did have the data. Set up a 
background script to 
run top and vmstat and write to disk every so often. A quick bit of awk should 
show the 
trend. You could do all the probing of /proc yourself, but I find it easier to 
allow things like 
top/ps/vmstat do all the grunt work.

Shane ... 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: OOM Condition on SLES11 running WAS - Tuning problems?

2010-07-26 Thread Shane G
Some more info please.
... you get a OOM condition ?.
... the/a large consumer gets killed ?
... the system "halts" (explain) ?.

You *want* a system-wide panic ?. If so, setting /proc/sys/vm/panic_on_oom to 
"1" will 
have the desired effect on non zLinux.

Shane ...

On Tue, Jul 27th, 2010 at 1:24 AM, Daniel Tate  wrote:

> When websphere starts, it consumes all the memory eventually and
> halts, but not panics, the system.
 ...
> At this point i see two problems:
> 
> 1) Why is OOM Kill not functioning properly

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: DB2 direct i/o question

2010-07-26 Thread Shane G
Short answer, no.
This was discussed earlier in the year - see:
http://www.mail-archive.com/linux-390@vm.marist.edu/msg55911.html

Shane ...

On Tue, Jul 27th, 2010 at 1:17 AM, Marcy Cortes wrote:

> Is there a way to limit the amount of memory used for page cache?

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: DB2 direct i/o question

2010-07-23 Thread Shane G
On Sat, Jul 24th, 2010 at 10:20 AM, Marcy Cortes wrote:

> Does this imply that the best setting for Linux on z is to use the FILE
> SYSTEM CACHING (Direct i/o disabled)?

I won't presume to be able to answer that, but I will observe that Linus has
made some very harsh comments about database developers and their insistence
on using direct I/O.
In a virtualised environment their desire for total control of everything
would appear to be even more pointless.
I have also sat in on talks by said developers - they insist they can't
possibly get any performance without direct I/O.

> Trying to figure out where all this memory is used... 
> ceztv14222:~ # free -m
>  total   used   free sharedbuffers cached
> Mem: 15085  14947137  0 26  13835
> -/+ buffers/cache:   1086  13999
> Swap: 3662   3662  0

The memory is (almost) all being used for {disk,page} cache.
If you're concerned about the swap usage, have a look in /proc//smaps.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Reducing Linux virtual machine size

2010-07-23 Thread Shane G
Sorry ... that should be "compressed _swap_ cache"

Shane ...

On Sat, Jul 24th, 2010 at 9:00 AM, I wrote:

> ... Recently the memory manager has
> started using compressed page cache to ameliorate this effect somewhat.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Reducing Linux virtual machine size

2010-07-23 Thread Shane G
I would be guessing you have lots of Oracle threads - all of which will have
the same common code mapped. And counted by the summation.
These fields only count resident memory - swap usage will be (sort of)
irrelevant. Pages that are swap cached (as distinct from only swapped out)
reside in real pages, and so can affect the pool of available page frames.
Determining this number is not simple. Recently the memory manager has
started using compressed page cache to ameliorate this effect somewhat.

Refer to my previous (flippant) comment.

Shane ...

On Sat, Jul 24th, 2010 at 8:05 AM, Tom Duerbusch wrote:

> I tried your script on some of my images.  Works fine, except when Oracle
> is involved.
>  
> linux62:~ # ps -eo pmem | awk '{pmem += $1};END {print "pmem ="pmem"%"}';
> pmem =1347.1%
> I do have a lot of swap blocks allocated.  This is due to a batch type
> run, that is run off hours.  During the day, when users are on, we swap
> very little.
>  
> So if this does include swap pages, I don't think the script would give me
> what I need, during normal processing.  Do you agree?  Or am off track
> here?

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Reducing Linux virtual machine size

2010-07-23 Thread Shane G
This is somewhat empirical, and depending on the usage of shared libraries
will over-estimate the situation somewhat.
Not a bad thing in the context.

Determining actual accountable memory on linux has been like catching a
greased pig. With recent kernels you can work back from the pagemaps - here's
a citation from ../Documentation in the kernel source tree.


Using pagemap to do something useful:

The general procedure for using pagemap to find out about a process' memory
usage goes like this:

 1. Read /proc/pid/maps to determine which parts of the memory space are
mapped to what.
 2. Select the maps you are interested in -- all of them, or a particular
library, or the stack or the heap, etc.
 3. Open /proc/pid/pagemap and seek to the pages you would like to examine.
 4. Read a u64 for each page from pagemap.
 5. Open /proc/kpagecount and/or /proc/kpageflags.  For each PFN you just
read, seek to that entry in the file, and read the data you want.

For example, to find the "unique set size" (USS), which is the amount of
memory that a process is using that is not shared with any other process,
you can go through every map in the process, find the PFNs, look those up
in kpagecount, and tally up the number of pages that are only referenced
once.


I have seen some user-space code to do all this - must move the testing of
this up my "to-do" list.

Shane ...

On Sat, Jul 24th, 2010 at 4:45 AM, "Mrohs, Ray"  wrote:

> Start up all your Linux procs and then run this little script.
>  
> #! /bin/sh
> ps -eo pmem | awk '{pmem += $1}; END {print "pmem = "pmem"%"}';
> 
> It will give you a ballpark percentage of current memory utilization.
> I tuned some Apache/ftp servers down to 100M with no ill effects.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: IBM zEnterprise System announced???

2010-07-22 Thread Shane G
All the "bits" are now to be OSA connected.

Shane ...

On Fri, Jul 23rd, 2010 at 8:40 AM, Mark Post wrote:

> I didn't see any mention of an IP network, just that it was "private." 
> That could mean a lot of things.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: IBM zEnterprise System announced???

2010-07-22 Thread Shane G
Barton yanking Alans chain ...
Where have I seen that before ?.

Shane ...

On Fri, Jul 23rd, 2010 at 5:26 AM, Barton Robinson wrote:

> Alan, are you trying to make this announcement so totally boring on
> purpose? Just business as usual? nothing really new and exciting?  Is
> there anything here you could make exciting and explain why someone
> would care?

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: IBM System z - A New Dimension in Computing webcast

2010-07-21 Thread Shane G
Seems Jim couldn't keep the lid on things.

The IBM Canada home page is all dressed up with nowhere to go ...   :0)

Shane ...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Files on disk

2010-07-21 Thread Shane G
I might just add that despite it's manpage assertion, rsync isn't too
intelligent about it at all.
My (non z) testing indicated that if you re-use the same target file, after
the initial run "cp" is significantly more efficient. The initial run for
both is comparable as the target needs to be created.
Didn't test tar as it wasn't relevant (to me) at that juncture.

Shane 


On Thu, Jul 22nd, 2010 at 3:06 AM, "Edmund R. MacKenty" wrote:

> Rick pointed out that rsync and tar have options that deal with sparse
> files intelligently: when they copy a sparse file, they do not write out 
> blocks
> of all zeros.  Instead, they seek past such "empty" blocks to avoid writing
> to them, thus creating a sparse output file.  That's how a proper Linux file
> copy is done.  The cp command also does that.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: SLES 11 SP 1 Bogus swap disk

2010-07-09 Thread Shane G
Maybe you should be thankful Mark didn't go with the default RoT of
"swap=2xRAM"

Personally I've never allowed _any_ installer to handle partitioning,
but I can appreciate your concern for the "novice" installer (person).
They will/should probably be using mod-9s anyway, rather than trying to
squeeze onto a mod3.

Shane ...

On Sat, Jul 10th, 2010 at 7:26 AM, Tom Duerbusch wrote:

> Sooo
>  
> Would a 2 GB LPAR, create a disk based swap file of 1 GB off of my
> (in this case) 3390-3 disk?  Not much space left to install Linux..
>  
> The novice installer that you are trying to help, then either needs
> to:
>  
> 1.  Get a bigger disk.
> 2.  Get another disk and move some mount points to that disk.
> 3.  Trim the number of packages or patterns to reduce the dasd
> requirements.
>  
> That would sure give the novice installer some experience!  

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Configuring networking in zVM under Hercules???

2010-06-09 Thread Shane G
Just to be clear, I use "hacker" in this sense:
http://en.wikipedia.org/wiki/Hacker_(programmer_subculture)

Shane ...

On Wed, Jun 9th, 2010 at 11:56 PM, I wrote:

> Maybe - but a hacker wouldn't.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Configuring networking in zVM under Hercules???

2010-06-09 Thread Shane G
Maybe - but a hacker wouldn't.
But I'll bet he keeps his trap shut in future.

Shane ...

On Wed, Jun 9th, 2010 at 11:38 PM, "Mrohs, Ray" wrote:

> What we really just saw is another young person being turned away
> from z/VM, at a time when the next generation needs to be engaged and
> involved through whatever means possible. But now he will probably
> direct his energies elsewhere.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Linux on Z networking issue

2010-06-05 Thread Shane G
On Sun, Jun 6th, 2010 at 2:13 AM, Alan Altmark wrote:

... a great candidate for a wiki article. There's even a placeholder just 
waiting for you Alan ... :0)

This really is such a can of worms it needs something authoritative out where 
people can easily find it.

Shane ...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: z/VM and z/OS sharing OSAs?

2010-06-01 Thread Shane G
C'mon Alan, enough of the equivocation.
Try and give us at least a semblance of what you *really* think about this ... 
;-)

Shane ...

On Wed, Jun 2nd, 2010 at 6:49 AM, Alan Altmark wrote:

> Multinetting is a Bad Idea, to be stomped out of existence and never
> mentioned again in polite company.  Or, to quote The Robot, "Crush.
> Kill. Destroy."

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: 2010-05-28 Linux on System z kernel 2.6.34 related updates on developerWorks

2010-05-28 Thread Shane G
I am constantly amazed when I (still) see references to LKCD. Is this the only 
environment still using it in 
preference to Redhats crash ?.
I dropped off the tech mailing list *years* ago when it died. At one point I 
was looking at contributing to 
lcrash, but gave it away as a pointless exercise.

Shane ...


On Fri, May 28th, 2010 at 11:37 PM, Gerhard Hiller wrote:

...
>  * kernel 2.6.34 patches for kerntypes and kernel message catalog

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: zLinux / WebSphere "spinup" times

2010-05-27 Thread Shane G
Were it me I'd be thinking idle workload(s) having its/their storage stolen.
That implies some (heavy) overnight other I/O workload - backups, updatedb, ...
Swappiness was invented for just this scenario - what is yours set at ?.

Top and the  ilk won't be of much help - a large (swap) I/O spike in your 
monitor data might be 
instructive. Sysstat should be able to show it from the Linux perspective.
It's possible it's mem-mapped file I/O, but you'd have to think that unlikely 
as a burst at wake-up.

Shane ...


On Thu, May 27th, 2010 at 3:13 AM, "Dean, David (I/S)" wrote:

> We are getting ready to put in to Production 10 new WebSphere /
> zLinux servers, each having 2 to 6 WebSphere Profiles, each server
> has 6 to 8 gigs allocated and they are attached to 3 IFL's on a z10.
> .  Every morning when you first login to the WebSphere management
> console it is slow.  After the initial logon response is fine. 
> What's going on?  Is something asleep? Cached out?

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: SWAPGEN

2010-05-21 Thread Shane G
Meandering around from said link I found myself at the (IBM) vm packages 
download page.
Top entry was CP3KVMXT.
In my caffeine deprived state first thing in the morning all I saw was ...KVMXT.
Mmmm, thinks I.

Followed immediately by ... damn.

Shane ...


> Have you tried going to the source?  
> http://www.sinenomine.net/products/vm/swapgen

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: UK zLUG

2010-05-19 Thread Shane G
Now there's a lad that gets around.
He was speaking here in Aus just a couple of weeks back.

Shane ...

> For information, the details of the next meeting of the UK zLinux
> User Group:
> ...
> 15:20 - 16:00   Accounting and Chargeback
> Barton Robinson (Velocity Software)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Starting LVM Automatically After re-boot

2010-05-12 Thread Shane G
Be aware that Mark answered the question you asked.
This will not necessarily be the same should you choose to change distro 
sometime in the future.

Shane ...

On Thu, May 13th, 2010 at 9:41 AM, Billy Bingham wrote:

> Thanks Mark. I'm coming from a VSE background and this is taking some
> getting used to :)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: linux vmstat "steal" column

2010-05-07 Thread Shane G
Hopefully doing its job - servicing other guests. What are you asking ?.
Linux metrics are from the perspective of Linux - and it has a heritage of a 
stand-alone O/S. It may 
think the cycles have been "stolen", others may disagree.
Think of it as involuntary non-dispatch. Has to happen in any non bare-metal 
environment - including 
(non-z/VM) PR/SM.
Things are going to get even more confusing if the distro distributors decide 
to include the "guest" 
numbers that are maintained on current kernels. Especially if Redhat (for 
example) decide to ship a (z 
series) KVM option...

Shane ...

On Fri, May 7th, 2010 at 4:02 AM, "Dean, David (I/S)"  
wrote:

> Is there a way to see what CP is doing during "steals"?

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Linux for System z T-shirts

2010-04-29 Thread Shane G
Hmmm - "Red on Green" ...  nah.

Maybe "Red on Red" ... :)
Some-one's gotta have a picture of a nice red Amdahl box somewhere ...
Of course, they ran Unix (UTS) rather than Linux - Oh well, scrap that idea I 
suppose.

Shane ...

On Fri, Apr 30th, 2010 at 7:33 AM, "Hodge, Robert L" wrote:

> I would be interested, but I was told to use Red Hat, not SuSE. How
> about a more generic design z/Linux design.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Unable to kill process

2010-04-08 Thread Shane G
On Thu, Apr 8th, 2010 at 4:58 AM, Ron Foster wrote:

> The DBAs cancelled the DB2 thread.  The SAP Administrators issued all the 
> commands thru
> SAP to get rid of the process.  They did not work.  The process did not
> go away.  Then we tried a kill -9 and the process died.
> 
> On the other two occassions, we issued the same commands.  But they
> were done independently by people in the different areas in different
> rooms.
> This time everyone was in the same room waiting for the problem to
> happen...


That says timing/order problems to me.
Which, if it can't be handled, still says code problem. I'd keep at the vendors 
to you get an 
answer.
Might pay to get your procedures sorted out as well.

Shane ...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: How to enter control characters from an EBCDIC keyboard?

2010-04-04 Thread Shane G
I usually just open another (virtual) terminal and kill the ping.
Sounds like you might benefit from defining an alias for ping.

Shane ...


On Mon, Apr 5th, 2010 at 9:26 AM, Clovis Pereira wrote:

> Hi,
> Sometimes, I forgot to type the cont parameter using the ping command
> on a
> 3215 terminal (example: ping -c 4 ). In 3215 terminals,
> ping
> without a count result in a forever command. The unique way to stop
> it (al
> least the unique I know, without terminate the session) is a Ctrl-C.
> In
> this case, I open a Notepad session, click a Ctrl-C pair (^C), paste
> and
> copy it in the 3215 session, so stoping the ping command.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Move root from LVM to Non-LVM File System

2010-03-18 Thread Shane G
Generally I'm with Christian on this one.
The procedure Mark linked is appropriate for (most) *sub*-directories of
the the root - not the entire root itself. The pseudo directories need
to be excluded, and things like logs, even in single user, are
problematic - that may not be an issue on test systems.
Unless the VGs and/or LVs are the same name I'd do it from another
system - else I might be inclined to figure out what needs to be
excluded and try a copy from the running system.
Has plenty of scope to get ugly.

Shane ...

On Fri, Mar 19th, 2010 at 7:30 AM, Mark Post  wrote:

> I don't this as being necessary at all.  Get another disk added to
> the Linux guest.  Format it, put a file system on it, use the
> document at http://linuxvm.org/Info/HOWOTs/movefs.html to populate
> it.  Update /etc/fstab on the new root file system, bind mount the
> rest of the file systems top of it, chroot to it, re-run mkinitrd and
> zipl, and you should be fine.  Iterate a biit if not.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Low address protection

2010-03-12 Thread Shane G
How disappointing ...  :0)
I was another thinking it was just Java being Java.

Shane ...


On Fri, Mar 12th, 2010 at 8:42 PM, Martin Schwidefsky wrote:

> MVCLE with a zero source length is a memset. The instruction only
> accesses the target address, the source address is of no concern.
> 
> A low-address protection exception may NEVER happen for a user-space
> process, the user space asce has the private space control bit set.
> This is definitely a kernel bug, we've seen the same on SLES10.
> The fix is a backport of the new TLB flush logic.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Download Centos

2010-03-08 Thread Shane G
I had fired up a torrent to see if it would help Bernie's cause, but
several hours later there had been no traffic - in or out. Due to noise
(overnight at home) and power usage, I killed the box.
This is the flaw in relying on torrents for low usage sources.
Will auditors allow it at work ?? ... 

Shane ...

On Tue, Mar 9th, 2010 at 2:18 AM, Mauro Souza  wrote:

> And just a note, keep seeding CentOS as long as you can, to help the
> community... Even if nobody is downloading it for some time, keep
> seeding.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Download Centos

2010-03-04 Thread Shane G
On Thu, Mar 4th, 2010 at 2:49 PM, Bernie VK2KAD wrote:

> I am trying to download Centos for s390x - I think the latest is 4.7
> 
> Unfortunately, the only download for a DVD ISO image seems to be via
> bittorrent - P2P software is a no-no in my organisation so I have had
> a
> torrent client trying to download the 1.9GB ISO for a while now from
> a PC at
> home - no peers can be found so the download rate matches the
> downloaded
> content - 0%
> 
> Does anyone know where I might be able to get an ISO image by some
> other
> means - I'm in Australia so it isn't like I can pop into the local
> Linux
> store and get what I want.
> 
> All suggestions appreciated

Best suggestion I have is try something else.
I had a look at my collection of bits, but only have a (s390) Centos 4.4 - 
downloaded for a MP3K 
test, so 64-bit was of no interest at the time.
Due to a recent confluence of disasters I no longer have the iso on a readable 
harddisk, but I 
could extract the CD if you want me to try - send me an off-list email.

I also tried to download that torrent - it was moving, but only at a few 
kB/sec. Would take a while -
 maybe you should check you have holes punched in firewalls/router tables.

Shane ...

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: When does SLES10 SP3 actually write data from memory to disk?

2010-02-25 Thread Shane G
The umount *has* to complete, even if the f/s is broken - else you can't fix 
it. Well, you could try, 
but let's not go  there.
Of course, what a fsck treats as "fixed" and what we as users might like to 
think it produces may 
be totally at odds. Truncating files and unlinking inodes ain't my idea of 
fixing anything.
The sooner btrfs gets production ready the better.

Shane ...

On Fri, Feb 26th, 2010 at 4:18 AM, "Harder, Pieter" wrote:

> Ron,
> 
> I don't know if the problem is with Reiser per sé. I also run SAP on
> Reiser on SLES10 SP3. Never saw your kind of problem there. But I
> have seen your problem (dirty filesystems after clean, verified
> (=executed manually) umount) on our TSM server. And that one is
> totally on EXT3. In the end all filesystems rely on the blockio
> service doing what it tells it does ;-) If not, anything can happen.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390