07-17-2013
Ip_soft_rings_cnt parameter
Hi,
i have a backup server T5220 with a 7 1Gig aggregate. I read that for a 10 gig link ip_soft_rings_cnt should be set to 16. Is them same true for link aggregation as well. Currently ip_soft_rings_cnt is set to 2.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have an excert from the Rute Tutorial and Expo by paul sheer... about parameters.. so far I have understood most of them .. except this one:
"$-
Expands to the current option flags as specified upon invocation, by the set builtin command, or those set by the shell itself (such as the -i... (2 Replies)
Discussion started by: moxxx68
2 Replies
2. Shell Programming and Scripting
I need to pass a filename parameter in shell script and then need to validate same name in the folder, Can any one help what would be piece of code to do so.
Lets folder is a and file with a is test.dat
and i want to pass this parameter against the file name file_name and then want to compare... (5 Replies)
Discussion started by: u263066
5 Replies
3. Shell Programming and Scripting
Say I write something like the following:
var1=1
var2=2
for int in 1 2
do
echo "\$var$int"
done
I want the output to be:
1
2
Instead I get something like:
$var1
$var2 (2 Replies)
Discussion started by: Awanka
2 Replies
4. Shell Programming and Scripting
Hi,
I have a script and I'm passing in a parmeter $1, and I only what to pass this $1 parmeter into another script.
Please see below for details for help :
virtual_gateway="$1"
YYYYMMDD="`date +%Y%m%d`"
... (7 Replies)
Discussion started by: venhart
7 Replies
5. Shell Programming and Scripting
Hi
I am looking for a unix command or a small shell script which can takes one parameter and then searches for the passed in the parameter in any or all files under say /home/dev/
Can anyone please help me on this? (3 Replies)
Discussion started by: pankaj80
3 Replies
6. Shell Programming and Scripting
i am passing input parameter 'one_two' to the script , the script output should display the result as below
one_1two
one_2two
one_3two
if
then
echo " Usage : <$0> <DATABASE> "
exit 0
else
for DB in 1 2 3
do
DBname=`$DATABASE | awk -F "_" '{print $1_${DB}_$2}`
done
fi (5 Replies)
Discussion started by: only4satish
5 Replies
7. Shell Programming and Scripting
hi all,
i have a parameter file of following format, i want a method which can get the value of specific parameter.
parameter file format:
<Parameter Name="FileLocationWindows">
<Description>
The directory location of the logger file.
... (1 Reply)
Discussion started by: laxmikant.hcl
1 Replies
8. Shell Programming and Scripting
Hi,
I have the following files.
->cat scr.sh
export TMP_DIR=/home/user/folder1
export TMP_DIR_2=/home/user/folder2
while read line
do
cat "$line"
done<file_list.dat
------------------------
-> cat file_list.dat
$TMP_DIR/file1.txt
$TMP_DIR_2/file2.txt
---------------------------
-> cat... (6 Replies)
Discussion started by: barath
6 Replies
9. Shell Programming and Scripting
Hi.
How do I achieve this
sh /EDWH-DMT02/script/MISC/exec_sql.sh "@/EDWH-DMT02/script/others/CSM_CKC/Complete_List.sql ${file_name}" Complete_List.txt
The /EDWH-DMT02/script/MISC/exec_sql.sh has two parameters and it's working fine with this
sh /EDWH-DMT02/script/MISC/exec_sql.sh... (7 Replies)
Discussion started by: aimy
7 Replies
10. Shell Programming and Scripting
Hello All,
Could you please do help me here as I would like to perform parameter expansion in shell over a parameter expansion.
Let's say I have following variable.
path="/var/talend/nat/cdc"
Now to get only nat I could do following.
path1="${path%/*}"
path1="${path1##*/}"
Here... (8 Replies)
Discussion started by: RavinderSingh13
8 Replies
LEARN ABOUT CENTOS
yum-list-data
yum-list-data(1) yum-list-data(1)
NAME
yum list data plugin
SYNOPSIS
yum [options] [command] [package ...]
DESCRIPTION
This plugin extends yum for some commands that give aggregate package data based on lists of packages
added yum commands are:
* list-vendors
* info-vendors
* list-rpm-groups
* info-rpm-groups
* list-packagers
* info-packagers
* list-licenses
* info-licenses
* list-arches
* info-arches
* list-committers
* info-committers
* list-buildhosts
* info-buildhosts
* list-baseurls
* info-baseurls
* list-package-sizes
* info-package-sizes
* list-archive-sizes
* info-archive-sizes
* list-installed-sizes
* info-installed-sizes
* list-groups
* info-groups
all of which take the same arguments as the list and info yum commands. The difference between the list and info varieties is that the info
versions lists all the packages under each aggregation.
list-vendors, info-vendors
Is used to list the aggregate of the vendor attribute on the packages, examples are "Fedora Project" and "Red Hat, Inc.".
list-rpm-groups, info-rpm-groups
Is used to list the aggregate of the group attribute on the packages, examples are "Applications/System", "Development/Tools" and
"System Environment/Base"
list-packagers, info-packagers
Is used to list the aggregate of the packager attribute on the packages, examples are "Fedora Project" and "Red Hat, Inc.".
list-licenses, info-licenses
Is used to list the aggregate of the license attribute on the packages, examples are "GPL" and "MIT"
list-arches, info-arches
Is used to list the aggregate of the arch attribute on the packages, examples are "i386" and "x86_64"
list-committers, info-committers
Is used to list the aggregate of the committer attribute on the packages, this is taken from the most recent changelog entry of the
package.
list-buildhosts, info-buildhosts
Is used to list the aggregate of the buildhost attribute on the packages, examples are "mybuilder.example.com" and "xen-
builder1.fedora.redhat.com"
list-baseurls, info-baseurls
Is used to list the aggregate of the url attribute on the packages after discarding the path of the URL, examples are
"http://yum.baseurl.org/" and "http://www.and.org/"
list-package-sizes, info-package-sizes
Is used to list the aggregate of specified ranges the packagesize attribute on the packages, examples are "[ 1B - 10KB ]" and "[
750KB - 1MB ]".
list-archive-sizes, info-archive-sizes
Is used to list the aggregate of specified ranges the archivesize attribute on the packages, examples are "[ 1B - 10KB ]" and "[
750KB - 1MB ]".
list-installed-sizes, info-installed-sizes
Is used to list the aggregate of specified ranges the installedsize attribute on the packages, examples are "[ 1B - 10KB ]" and
"[ 750KB - 1MB ]".
list-groups, info-groups
Is used to list the aggregate of the yum groups that the packages are in, examples are in "yum grouplist". Note that in yum groups a
package can be in more than one group at a time.
It is worth noting that some of the above data can be "unknown", to yum, at which point a separate aggregation called "-- Unknown --" is
listed.
EXAMPLES
To list all the groups that have an update, along with the number of packages in each group, use:
yum list-rpm-groups updates
To list all the committers to packages that have yum in their name, use:
yum list-committers 'yum*'
To list ranges of the sizes of packages installed or available, use:
yum list-package-sizes
To list yum groups that have an update, use:
yum list-groups
SEE ALSO
yum-filter-data (1)
yum (8)
yum.conf (5)
AUTHORS
James Antill <james.antill@redhat.com>.
James Antill 04 February 2008 yum-list-data(1)