Sponsored Content
Full Discussion: kernel param listings
Operating Systems HP-UX kernel param listings Post 302162631 by theninja on Tuesday 29th of January 2008 01:36:39 PM
Old 01-29-2008
hpux 11.11, I checked on 4 different boxes and vmunix and system do not have the same timestamp on any of them. nfile is differentt on all of them also.
So sysdef and kmtune "should" return the same values correct?

what about why sysdef does not return values for some params whil kmtune does?

>kmtune | grep shmmax
shmmax 0x200000000
sysdef | grep shmmax
returns nothing
 

9 More Discussions You Might Find Interesting

1. Programming

sites with the listings

Is anybody know sites with the listings of simple programs for Linux (in text mode) (0 Replies)
Discussion started by: Studenttt
0 Replies

2. Programming

Listings of the games for Linux

Hello! I need tne listings of the very simple games(like mad builders or snake) in text mode, when is running only bash. If you got one, please send me on e-mail or post it just in this thread. I also need the following programms, if you have one of them or can quickly write it, please help me: 1)... (4 Replies)
Discussion started by: Studenttt
4 Replies

3. Shell Programming and Scripting

file listings by date

Hi all, First post, be gentle ;) OK I'm trying to list all files in a directory that are between x days and y days old, where I need to treat days as being from 00:00 to 23:59. i.e. a list of all files between 1 day and 8 days old would include all files between 00:00 8 days ago and 23:59 1... (1 Reply)
Discussion started by: Boothy
1 Replies

4. Solaris

listings file of a package

Hi, Is there a command to list all files within an installed package ? A command to print out a file's package owner ? I have trouble to install a temporary license for FTAM and OSI 9.0 on my sunfire280r and i suspect the licensing software is the reason... Any SUN guru out there ? Thanks (4 Replies)
Discussion started by: andryk
4 Replies

5. Programming

Fingerlines in GCC Listings

I recently moved from an AIX to a Linux environment, currently using GCC. I've searched the manpages, to no avail on this one. Q: Does gcc have an option to include finger lines in the listing? In other words, the equivalent compile option for AIX's -qsource and -qsrcmsg? If you don't know... (1 Reply)
Discussion started by: marcus121
1 Replies

6. Shell Programming and Scripting

displaying 3 directory listings in 3 separate columns.

i having problems figuring out how to 'read' in 3 different directory listings and then display them on the screen into 3 separate columns. i thought i could use a 'for' loop to grab each directory and then assign a unique variable to each line 'read' in. of course, as you experts all know,... (16 Replies)
Discussion started by: mjays
16 Replies

7. UNIX for Advanced & Expert Users

param with awk

Hi All, I have this script: #!/bin/ksh lsvg -l $1|grep -v $1:|grep -v LV|awk '{print "mklvcopy ",$1," 2 $2 $3"}' I want to pass three param with "vg2 hdisk1 hdisk2" but the output is "mklvcopy lv1 2 $2 $3". I want to pass the hdisk1 and hdisk2 and not the $2 and $3. Please help! ... (1 Reply)
Discussion started by: itik
1 Replies

8. Shell Programming and Scripting

param with awk

Hi All, I have this script: #!/bin/ksh lsvg -l $1|grep -v $1:|grep -v LV|awk '{print "mklvcopy ",$1," 2 $2 $3"}' I want to pass three param with "vg2 hdisk1 hdisk2" but the output is "mklvcopy lv1 2 $2 $3". I want to pass the hdisk1 and hdisk2 and not the $2 and $3. Please help! ... (3 Replies)
Discussion started by: itik
3 Replies

9. UNIX for Dummies Questions & Answers

sqlplus script out param

For starters, I have read the forums from top to bottom and cannot find a solution to this particular scenario. Just finished up two hours or scouring the archives. Here is my question which has been asked numerous times before but never fully explained for this particular solution: How do I pass a... (2 Replies)
Discussion started by: jwil0m0
2 Replies
MooseX::Param(3pm)					User Contributed Perl Documentation					MooseX::Param(3pm)

NAME
MooseX::Param - Simple role to provide a standard param method SYNOPSIS
package My::Template::System; use Moose; with 'MooseX::Param'; # ... my $template = My::Template::System->new( params => { foo => 10, bar => 20, baz => 30, } ); # fetching params $template->param('foo'); # 10 # getting list of params $template->param(); # foo, bar, baz # setting params $template->param(foo => 30, bar => 100); DESCRIPTION
This is a very simple Moose role which provides a CGI like "param" method. I found that I had written this code over and over and over and over again, and each time it was the same. So I thought, why not put it in a role? ATTRIBUTES
params This role provides a "params" attribute which has a read-only accessor, and a HashRef type constraint. It also adds a builder method (see "init_params" method below) to properly initialize it. METHODS
params Return the HASH ref in which the parameters are stored. param This is your standard CGI style "param" method. If passed no arguments, it will return a list of param names. If passed a single name argument it will return the param associated with that name. If passed a key value pair (or set of key value pairs) it will assign them into the params. init_params This is the params attribute "builder" option, so it is called the params are initialized. NOTE: You can override this by defining your own version in your class, because local class methods beat role methods in composition. meta Returns the role metaclass. SIMILAR MODULES
The "param" method can be found in several other modules, such as CGI, CGI::Application and HTML::Template to name a few. This is such a common Perl idiom that I felt it really deserved it's own role (if for nothing more than I was sick of re-writing and copy-pasting it all the time). There are also a few modules which attempt to solve the same problem as this module. Those are: Class::Param This module is much more ambitious than mine, and provides much deeper functionality. For most of my purposes, this module would have been overkill, but if you need really sophisticated param handling and the ability to provide several different APIs (tied, etc), this module is probably the way to go. Mixin::ExtraFields::Param This module is very similar to mine, but for a different framework. It works with the Mixin::ExtraFields framework. BUGS
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT. AUTHOR
Stevan Little <stevan@iinteractive.com> COPYRIGHT AND LICENSE
Copyright 2007 by Infinity Interactive, Inc. <http://www.iinteractive.com> This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-03-29 MooseX::Param(3pm)
All times are GMT -4. The time now is 08:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy