12-12-2008
the same script is working in the full blown distro... i used it in a tiny distro and is not working..
the distro is created by me...
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
2. Red Hat
Dear experts,
I'm trying to write a script to calculate the usage of Log Archive in a directory, so if it gets to a point where the directory size is 60%, then send out an FYI.. email. So if then it reaches to 80%, move the logs from that directory.
I have written the script as follow but... (10 Replies)
Discussion started by: Afi_Linux
10 Replies
3. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
4. Shell Programming and Scripting
If I enter (simplified):
find . -printf "%p\n"
then all files in the output are prepended by a "." like
./local/share/test23.log
How can achieve that
a.) the leading "./" is omitted
and/or
b.) the full path to the current directory is inserted (enclosed by brackets and a blank)... (1 Reply)
Discussion started by: pstein
1 Replies
5. Shell Programming and Scripting
logs:
"/home/abc/public_html/index.php"
"/home/abc/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
how to use "cut" or "awk" or "sed" to get the following result:
abc
abc
xyz
xyz
xyz (8 Replies)
Discussion started by: timmywong
8 Replies
6. Solaris
The system don't boot.
on the screen appears following:
press enter to maintenance (or type CTRL-D to continue)...I checked with format command.
... the slices "0-root","1-swap","2-backup" exist.
...the slises "3-var","6-usr" -unassigned. :( (16 Replies)
Discussion started by: wolfgang
16 Replies
7. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
8. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
9. AIX
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
LEARN ABOUT DEBIAN
adt-virt-xenlvm
adt-virt-xenlvm(1) Linux Programmer's Manual adt-virt-xenlvm(1)
NAME
adt-virt-xenlvm - autopkgtest virtualisation server using Xen and LVM
SYNOPSYS
adt-virt-xenlvm [options] -- [adt-xenlvm options]
DESCRIPTION
adt-virt-xenlvm provides an autopkgtest virtualisation server using a Xen virtual machine and LVM snapshots. It adapts the raw functional-
ity provided by the adt-xenlvm-* tools for use by autopkgtest.
Normally adt-virt-xenlvm will be invoked by adt-run.
adt-virt-xenlvm uses adt-xenlvm-with-testbed and adt-xenlvm-on-testbed. The testbed must have previously been set up with adt-xenlvm-set-
up.
Neither adt-virt-xenlvm nor adt-xenlvm-with-testbed do any locking; it is the the caller's responsibility not to attempt concurrent use of
any particular testbed.
OPTIONS
--distro=distro
Specifies a different distro (ie, the use of a different testbed).
--nominum=nominum
Specifies a different nominum (ie, the use of a different testbed).
--userv
Specifies that the adt-xenlvm tools should not be run directly, but rather via userv. The calling user must be permitted to use
userv root adt-xenlvm-testbed. In the default configuration, this means being a member of the AdtXenUs group.
-- --adt-xenlvm-option=adt-xenlvm-value
Following the first occurrence of -- on the adt-virt-xenlvm commandline, any of the values in the adt-xenlvm configuration may be
set in the usual way. The arguments are simply passed to adt-virt-xenlvm.
See /usr/share/doc/autopkgtest-xenlvm/README.gz for full details of adt-xenlvm.
-- -Dvarname=value
If --userv was specified, options following the first -- on the adt-virt-xenlvm commandline are passed as option arguments to userv.
These should normally be user-defined variable settings using -D which are expected by the autopkgtest-xenlvm/userv-target script.
Currently only distro and nominum are expected, and these can be set using adt-virt-xenlvm's own options.
-d | --debug
Enables debugging output. Probably not hugely interesting.
INPUT, OUTPUT AND EXIT STATUS
The behaviour of adt-virt-xenlvm is as described by the AutomatedTesting virtualisation regime specification.
SEE ALSO
adt-run(1), adt-virt-null(1), adt-virt-chroot(1), /usr/share/doc/autopkgtest/, /usr/share/doc/autopkgtest-xenlvm/README.gz.
AUTHORS AND COPYRIGHT
This manpage is part of autopkgtest, a tool for testing Debian binary packages. autopkgtest is Copyright (C) 2006-2007 Canonical Ltd and
others.
See /usr/share/doc/autopkgtest/CREDITS for the list of contributors and full copying conditions.
autopkgtest 2007 adt-virt-xenlvm(1)