Sponsored Content
Top Forums Shell Programming and Scripting Capture output of command triggered in background Post 302840681 by wisecracker on Tuesday 6th of August 2013 09:45:34 AM
Old 08-06-2013
Although a little convoluted you couid save each, (set of?), result(s) to disk and then read the contents of each saved file at your leisure...

Just an alternative thought...
 

10 More Discussions You Might Find Interesting

1. Solaris

how to capture oracle export log while running as background process

I ran the Oracle 9i export command from a terminal to export out a big table using "exp andrew/password file=andrew.dmp log=andrew.log" From the terminal I can see that the export is running as there is some output from the oracle export job. The export job is not complete yet. When i go check... (4 Replies)
Discussion started by: hippo2020
4 Replies

2. Shell Programming and Scripting

[csh] How to capture output from a command and pass it on to a variable?

Hi there! I'm trying to write a script that will capture output from a command and assign it to a variable. Let's say, for example, I'd like to catch from inside the script whatever the following command outputs: ls *.aaa and put it into a variable "listoffiles". What I tried was: set... (3 Replies)
Discussion started by: machinogodzilla
3 Replies

3. Shell Programming and Scripting

How do I capture multiple lines of the status output of a command?

I need to know what the upload speed of an Internet connection. I thought the easiest way to do this would be to transfer a file via FTP to my server using the command: sh-3.2$ ftp -u ftp://username:password@computerdomain/directory/ file_to_be_uploaded Note: My environment allows me to issue... (2 Replies)
Discussion started by: zzz1528
2 Replies

4. Solaris

How to capture only some part of output when command executed??

Hi, When I execute this command prtdiag -v output sample : System clock frequency: 160 MHZ Memory size: 4GB ==================================== CPUs ==================================== E$ CPU CPU CPU Freq Size ... (4 Replies)
Discussion started by: vijaysachin
4 Replies

5. Shell Programming and Scripting

Enter the command to capture output--help

&& echo "PLEASE enter the command to capture output" || echo "Processing your command manual" x=$# echo $x while do while man $@ | read -r line do >$@.txt ... (1 Reply)
Discussion started by: rrd1986
1 Replies

6. Shell Programming and Scripting

Log Capture for Background Process

Hi , I am running a backgorund process called hello.sh ./hello & Now i need to capture the log file as it produces the output . i am not able to use " >> " nor " tee " to capture the output file / log file . Please let me know how can i do it ? Regards, Deepak Konnur (3 Replies)
Discussion started by: dskonnur
3 Replies

7. Solaris

How to capture Output of truus command

Hi I want to check if some process is sleeping. I can see that in truss -p <pid> I want to capture output and check that output if proces sis sleeping. Please suggest way to capture output of truss command or other way to check if process is sleeping (1 Reply)
Discussion started by: ankush_mehra
1 Replies

8. Shell Programming and Scripting

Expect command when triggered by launchd

Hi folks, Im having trouble with an expect command in a shell script I use to back up mac os x servers. This one is being run on a 10.8.2 Server as part of a larger bash script. The script executes perfectly all the way through when triggered on the command line, but when launchd triggers it at... (4 Replies)
Discussion started by: rowie718
4 Replies

9. HP-UX

How capture all user command line output?

Hi I want to know how capture all user command line output and save this commands and outputs to text files? if you have script for this subject please give me.:o please help me thank you (6 Replies)
Discussion started by: amvhd
6 Replies

10. Programming

Python Paramiko multi threading to capture all output for command applied in loop

My issue : I am getting only last command output data in ouput file. Though comamnd "print(output)" displays data for all 3rd column values but the data saved in file is not what required it hs to be the same which is being printed by command"print(output)". Could you please help me to fix this,... (0 Replies)
Discussion started by: as7951
0 Replies
volsave(8)						      System Manager's Manual							volsave(8)

NAME
volsave - Saves a Logical Storage Manager (LSM) configuration SYNOPSIS
/usr/sbin/volsave [-d dir] OPTIONS
Directs the backup information to the directory specified by dir. This directory must not already exist. DESCRIPTION
You can save the LSM configuration records for a disk group by saving the output of the volprint(8) utility in a description file that the volmake(8) utility can use. The volsave command provides an easy way to save this configuration information for all disk groups. In addi- tion, volsave saves a list of the disks that are under LSM control and their attributes. The LSM configuration can be restored using the volrestore command. The volsave command creates an LSM description set that consists of a header file and other files containing information about the LSM con- figuration (allvol.DF, voldisk.list, and volboot). Refer to the FILES section for details on the contents of these files. By default, the description set is saved to a timestamped directory in /usr/var/lsm/db (for example, /usr/var/lsm/db/lsm.19970727131520.skylark). The -d option can be used with volsave to specify a particular directory for the saved configuration. In this case, the -d option must also be used with volrestore when restoring the configuration. ERRORS
You may receive the following error message when using the -d dir option with the volsave command: Directory dir already exists This message indicates that the directory you specified is already in use. The LSM configuration can only be saved to a directory that does not yet exist. You can specify a new directory name, or enter the volsave command without the -d option and let volsave create a new, timestamped directory in /usr/var/lsm/db. FILES
Default directory containing timestamped subdirectories with LSM description sets. A volmake description file for all volumes, plexes, and subdisks in a disk group. The volsave command creates a separate subdirectory and description file for each disk group on the system. A description of the disks. This file is the output of the voldisk list command. The contents of the /etc/vol/volboot file. A header file for the description set, containing a checksum, a magic number, the date of the file's creation, and the version of the volsave command. SEE ALSO
volmake(4), volrestore(8), volprint(8), volmake(8) Logical Storage Manager volsave(8)
All times are GMT -4. The time now is 03:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy