10 More Discussions You Might Find Interesting
1. Solaris
I have installed WL on Solaris 11 and have to create IPS packaging for following directories so that
/local/apps/wl/wls12.x
/local/apps/wl/oraInventory
/local/apps/wl/jdk/jdk1.x
Can someone provide the steps for creating IPS or point to the website where I can get help.
Thanks,... (2 Replies)
Discussion started by: sam101
2 Replies
2. Red Hat
Hi, I wonder if anyone can point me in the right direction
I have a requirement to distribute a set of admin scripts that currently sit in an SVN repo by packaging them up in an RPM so that they can me unpacked to the correct location by simply installing the package .. e.g. 'yum install... (0 Replies)
Discussion started by: hcclnoodles
0 Replies
3. UNIX for Advanced & Expert Users
Simple question: how to package from source in hpux?
On Linux slackware i Use configure,make,make install DESTDIR=$pkg,etc..
and then makepkg -l y -c n.
Is possible something similar on hpux?
I want to create a depot for samba because,the official
doesn't had the winbind pam,and the package on... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies
4. Solaris
Hi guys
My friend needs nfo driver for his Solaris box. I installed that driver for myself from scratch and he needs that driver in SVR4 format. I downloaded source code and run make and this is the point I don't how to proceed.
How can I recognize which needs go to the package ?
Does make... (0 Replies)
Discussion started by: solaris_user
0 Replies
5. Homework & Coursework Questions
Dear All,
I python program which print "Hello World".
I want to run this program in 100 system.
I dont want to copy and run this script. I want to make .deb package which is easy to install by gui double click itself.
Is this possible ?, If yes, how to do.
PS: I am not using glade... (1 Reply)
Discussion started by: kiranpulsar2007
1 Replies
6. UNIX for Dummies Questions & Answers
Hai friends,
I have used the dpkg command to install the package.
This package is created my me. This has only one "C" file.
I checked my module status by "lintian" command as a root.
When I execute the command it gives me following messages... (0 Replies)
Discussion started by: Nila
0 Replies
7. Shell Programming and Scripting
I wrote a sh program with many options and lot of cool stuff and I will to learn how to package it. So ppl could downlaod it and use it just like ls cp ..
So if I have BUX.sh
ppl could type
BUX -r-r
on the command line and it just work
or I could have
BUM man
Also I like to offer them... (4 Replies)
Discussion started by: just_linux
4 Replies
8. Red Hat
Hi,
I need to create an RPM package for my java application.
Already build package for that application avail;able.
I need to create binary RPM package for my java application.
For that in spec file, do I need to write any script kind of thing to install my package.
any one have idea... (1 Reply)
Discussion started by: ram.sj
1 Replies
9. AIX
Hi,
I am creating a test package and putting echo statements in the custom scripts (preinstall, postinstall, preremove, etc).
Here is the template file
Pre-installation Script: <pre-install script>
Post-installation Script: <post-install script>
These are getting called.
How do i... (4 Replies)
Discussion started by: vibhor_agarwali
4 Replies
10. UNIX for Dummies Questions & Answers
Hi
Could somebody explain what Sun Packaging is
What are its uses
How to package and things like that
I would appreciate if u could give me
some study materials or a url where
I could get more details on that
Thanks in advance
Ram (1 Reply)
Discussion started by: ramukmar
1 Replies
CGRULES.CONF(5) libcgroup Manual CGRULES.CONF(5)
NAME
cgrules.conf - libcgroup configuration file
DESCRIPTION
cgrules.conf configuration file is used by libcgroups to define control groups to which a process belongs.
The file contains a list of rules which assign to a defined group/user a control group in a subsystem (or control groups in subsystems).
Rules have two formats:
<user> <controllers> <destination>
<user>:<process name> <controllers> <destination>
Where:
user can be:
- a user name
- a group name with @group syntax
- the wildcard '*', for any user or group
- '%', which is equivalent to "ditto" (useful for
multi-line rules where different cgroups need to be
specified for various hierarchies for a single user)
process name is optional and it can be:
- a process name
- a full command path of a process
controllers can be:
- comma separated controller names (no spaces) or
- * (for all mounted controllers)
destination can be:
- path relative to the controller hierarchy (ex. pgrp1/gid1/uid1)
- following strings called "templates" and will get expanded
%u username, uid if name resolving fails
%U uid
%g group name, gid if name resolving fails
%G gid
%p process name, pid if name not available
%P pid
'' can be used to escape '%'
First rule which matches the criteria will be executed.
Any text starting with '#' is considered as a start of comment line and is ignored.
If the destination contains template string, the control group can be created on-fly. In time when some process wants to use the template
rule which leads to control group (see cgexec (1)) and the control group does not exist, the group is created. The template control group
parameters can be specified in cgconfig.conf configuration file. See (cgconfig.conf (5)). If the template definition is not found there
created group have default kernel setting.
EXAMPLES
student devices /usergroup/students
Student's processes in the 'devices' subsystem belong to the control group /usergroup/students.
student:cp devices /usergroup/students/cp
When student executes 'cp' command, the processes in the 'devices' subsystem belong to the control group /usergroup/students/cp.
@admin * admingroup/
Processes started by anybody from admin group no matter in what subsystem belong to the control group admingroup/.
peter cpu test1/
% memory test2/
The first line says Peter's task for cpu controller belongs to test1 control group. The second one says Peter's tasks for memory controller
belong to test2/ control group.
* * default/
All processes in any subsystem belong to the control group default/. Since the earliest matched rule is applied, it makes sense to have
this line at the end of the list. It will put a task which was not mentioned in the previous rules to default/ control group.
@students cpu,cpuacct students/%u
Processes in cpu and cpuacct subsystems started by anybody from students group belong to group students/name. Where "name" is user name of
owner of the process.
FILES
/etc/cgrules.conf
default libcgroup configuration file
SEE ALSO
cgconfig.conf (5), cgclassify (1), cgred.conf (5)
BUGS
Linux 2009-03-10 CGRULES.CONF(5)