Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Error Code Generated by Script Post 303044646 by richmaxw on Friday 28th of February 2020 07:14:49 PM
Old 02-28-2020
That fixed it. Thanks!
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need a script to Append date to generated .txt file

Hi, Can anyone plz share their experience with - Building shell script to append the file with date in following format- Filename_MMDDYYYY.txt Thanks in advance (2 Replies)
Discussion started by: prince_of_focus
2 Replies

2. Infrastructure Monitoring

snmp,how to edit code generated by mib2c?

Hi, I'm reading net-snmp site, using C language and unix environment, I have manager ( do get/set command), agent and server ... I'm trying to monitor cpu, memory and disk usage and get Ip address of server and send the value back to agent, stored in variable which enable manager to gets the... (1 Reply)
Discussion started by: zainab
1 Replies

3. Shell Programming and Scripting

shPID file generated from shell script

I have a ksh script that runs a sqlplus script. Every time I run the ksh script it generates a log file like it should and a file called shPID (sh47398.1) with the text of the sql script. Why is it doing this? It is the only ksh script that I have that does this. thanks. (0 Replies)
Discussion started by: djehresmann
0 Replies

4. Shell Programming and Scripting

Script to Grep column 3 from csv file generated yesterday

Hello, Can any one please assist how to scirpt it: Every day a new log file is create and I want to process only the one generated yesterday and get the data of column 3 and 6. For example today's date is 24 then I want to get the data of log file created on 23rd. Log Files in... (7 Replies)
Discussion started by: sureshcisco
7 Replies

5. Solaris

Script fails when generated output file reaches a particular size

Hi All, New to unix. Here is the problem. Running a script that extracts data from hyperion essbase and generates a file in unix. This script fails most of the times with a very low success rate. The data has increased a lot in the last few months resulting in the file being more than 2 gb. ... (2 Replies)
Discussion started by: noufalshaw
2 Replies

6. UNIX for Advanced & Expert Users

perl script to transfer newly generated files by scp

Hi all, I have root directory on server 1 say A and having sub directory B now my application generates output files and put in sub directory B. now i need to transfer these files from server1 to server2 by scp which is having same directory structure A and sub directory B I have tried... (2 Replies)
Discussion started by: tushar_spatil
2 Replies

7. Shell Programming and Scripting

Script to grep for a string in log files generated in last 15 minutes.

Dear Guru's I've a requirment to grep for a string in series of log files that are getting generated almost every minute. I'm looking to schedule a script every 15 mountes,in order to check if the error string has been generated in any of the log files generated in last 15 minutes. Please... (3 Replies)
Discussion started by: rajivatnova
3 Replies

8. UNIX for Advanced & Expert Users

Script to rename file that was generated today and which starts with date

hello, can someone please suggest a script to rename a file that was generated today and filename that being generated daily starts with date, its a xml file. here is example. # find . -type f -mtime -1 ./20130529_4995733057260357019.xml # this finename should be renamed to this format.... (6 Replies)
Discussion started by: bobby320
6 Replies

9. Shell Programming and Scripting

Script to mount nas-share using generated credentials (mount EC 13,32)

Heyas At home i have 1 nas with 3 shares, of which i used to mount 2 of them using a script with hardcoded password and username in it. EDIT: Turns out, its not the script, but 'how i access' the nas share.. (-o user=XY,password=... VS. -o credentials=...). Figured about credential files,... (0 Replies)
Discussion started by: sea
0 Replies

10. Shell Programming and Scripting

Error message while openning the xls file generated by UNIX

Hi All, I have created a unix script to mail the xls file.This is being done using mailx command fdate=`tail -1 abc.xls | cut -c1-8` SUBJECT="CARD GL Exceptions : ${ENV} for ${fdate}" destname=CARD_GL_Exceptions_$fdate sed 's/#BUSINESS/BUSINESS/1' abc.xls > abc2.xls mv abc2.xls abc.xls... (2 Replies)
Discussion started by: karthik adiga
2 Replies
libguestfs-make-fixed-appliance(1)			      Virtualization Support				libguestfs-make-fixed-appliance(1)

NAME
libguestfs-make-fixed-appliance - Make a "fixed appliance" for libguestfs SYNOPSIS
libguestfs-make-fixed-appliance [--options] OUTPUTDIR libguestfs-make-fixed-appliance [--options] --xz DESCRIPTION
libguestfs-make-fixed-appliance lets you make a pre-built binary appliance for libguestfs. Note that ordinary users should not need to run this tool. Some reasons why you might want to use this include: o You want to make a self-contained libguestfs appliance that can be copied to another machine or platform that doesn't support supermin(8). o You have multiple users on the same machine and want to avoid the storage duplication and start-up overhead of having multiple cached copies of the appliance. o You want to have very predictable performance from libguestfs (see guestfs-performance(1)). For deeper understanding of why you might need this tool, read the section "FIXED APPLIANCE" below. Instead of running this tool, you can download fixed appliances from http://libguestfs.org/download/binaries/appliance/. These appliances were made using this tool. There are two ways to use this tool. o Specify an output directory, for example: libguestfs-make-fixed-appliance /usr/local/lib/guestfs/appliance The output directory is created if it does not exist. Four files are created in this directory: <OUTPUTDIR>/kernel <OUTPUTDIR>/initrd <OUTPUTDIR>/root <OUTPUTDIR>/README.fixed Note that "OUTPUTDIR/root" is a sparse file, so take care when copying it. You can then run libguestfs (possibly after copying this directory to another machine) by setting the environment variable LIBGUESTFS_PATH to "OUTPUTDIR". o The alternative method is to use the --xz option to create a compressed tarball: libguestfs-make-fixed-appliance --xz This creates a tarball in the current directory called: appliance-<VERSION>.tar.xz (where "VERSION" is the version of libguestfs). The tarball contains the four files: appliance/kernel appliance/initrd appliance/root appliance/README.fixed Note that "appliance/root" is a sparse file, so take care when copying it. OPTIONS
--help Display short usage information and exit. -V --version Display the version number and exit. --xz Instead of creating the appliance in an output directory, create a compressed tarball of the appliance in the current directory called "appliance-VERSION.tar.xz" where "VERSION" is the version of libguestfs. Using --xz can take some time. If working normally, the tool is completely silent when it is running. FIXED APPLIANCE
When libguestfs (or libguestfs tools) are run, they search a path looking for an appliance. The path is built into libguestfs, or can be set using the "LIBGUESTFS_PATH" environment variable. Normally a supermin appliance is located on this path (see "SUPERMIN APPLIANCE" in supermin(8)). libguestfs reconstructs this into a full appliance by running supermin-helper(8). However, a simpler "fixed appliance" can also be used. libguestfs detects this by looking for a directory on the path containing four files called "kernel", "initrd", "root" and "README.fixed" (note the "README.fixed" file must be present as well). If the fixed appliance is found, libguestfs skips supermin entirely and just runs qemu with the kernel, initrd and root disk from the fixed appliance. Thus the fixed appliance can be used when a platform or Linux distro does not support supermin. You build the fixed appliance on a platform that does support supermin, and copy it over, and use that to run libguestfs. LICENSING
The fixed appliance is a complete Linux binary distro. If you distribute it, you may need to distribute corresponding source files to remain in legal compliance with the licenses of the software in the appliance (such as the GNU General Public License). EXIT STATUS
libguestfs-make-fixed-appliance returns 0 if the appliance was built without errors. ENVIRONMENT VARIABLES
For the full list of environment variables which may affect libguestfs, please see the guestfs(3) manual page. SEE ALSO
guestfs(3), supermin(8), supermin-helper(8), xz(1), http://libguestfs.org/, http://qemu.org/. AUTHORS
Richard W.M. Jones ("rjones at redhat dot com") COPYRIGHT
Copyright (C) 2009-2013 Red Hat Inc. LICENSE
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. BUGS
To get a list of bugs against libguestfs, use this link: https://bugzilla.redhat.com/buglist.cgi?component=libguestfs&product=Virtualization+Tools To report a new bug against libguestfs, use this link: https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools When reporting a bug, please supply: o The version of libguestfs. o Where you got libguestfs (eg. which Linux distro, compiled from source, etc) o Describe the bug accurately and give a way to reproduce it. o Run libguestfs-test-tool(1) and paste the complete, unedited output into the bug report. libguestfs-1.22.6 2013-08-24 libguestfs-make-fixed-appliance(1)
All times are GMT -4. The time now is 08:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy