06-07-2010
Unable to get the full content into a file when I redirect installp command output..
When i use the command to check the preview of the filesets to be installed using CLI
# When using this commad 'm able to see all Preview view of the filesets to be installed
installp -apgX -d "." all
# When I redirected the same output to a file 'm able to see only half the details like (eg: Only File space) and the rest warinings are not available.
Help me in getting the full view of it.
installp -apgX -d "." all
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi,
i wat to get the output of a grep command in a file. but when i am trying out the same grep command in the unix prompt its working fine.. i am getting the output properly.. but when i am writing the same command inside my shell script , its just creating a new output file with no contents... (11 Replies)
Discussion started by: kripssmart
11 Replies
2. Shell Programming and Scripting
I have a script on Linux that is using sfdisk to partition a usb drive.
I'm trying to redirectory the standard out and standard error which works, however, there is still messages being diplayed.
I guess it's kernel messages?
Is there a way to redirect this output?
Thanks (5 Replies)
Discussion started by: lochraven
5 Replies
3. UNIX and Linux Applications
Hi Everyone,
Can anyone please tell me, how can I redirect the grep command output to same file. I am trying with below command but my original file contains no data after executing the command.
$grep pattern file1 > file1
Kind Regards,
Eswar (5 Replies)
Discussion started by: picheswa
5 Replies
4. Shell Programming and Scripting
Hi
can anyone tell me how to redirect the ouput of a cvs command to a file as well as the console?
i tried using
cvs add <filename> | tee logFile
cvs add <filename> 2>logFile 2>&1
All i could get is only on console or on file.
Please help
Thanks (2 Replies)
Discussion started by: ankitag2010
2 Replies
5. Shell Programming and Scripting
I have set up a bash script to run a long list of things that I need to time. I would like to redirect the output of time to a file. I have set it up like,
echo "Runtimes for servlet 4, 100K structures" > test_times.txt
echo "" >> test_times.txt
echo "runs where N=10" >> test_times.txt
echo... (7 Replies)
Discussion started by: LMHmedchem
7 Replies
6. Shell Programming and Scripting
(/home/user1)-> more script.sh
#!/bin/ksh
( echo open devicename
sleep 3;
echo user;
sleep 2;
echo password;
sleep 2;
echo "/info/dump"; ---------> This needs to redirect to a file .Can be number of pages
sleep 2;
echo "exit" ) | telnet
Please use code tags next time for... (2 Replies)
Discussion started by: necro98
2 Replies
7. AIX
Hi All,.
We are using AIX as the OS to host the Oracle ERP. We have a command FNDLOAD which is used to load setups. When this command is run, it outputs names of log files and any errors to the screen.
I am trying to redirect this output to a file because we have large number of these... (4 Replies)
Discussion started by: mansmaan
4 Replies
8. Shell Programming and Scripting
Below script perfectly works, giving below mail output. BUT, I want to make the script mail only if there are any D-Defined/T-Transition/B-Broken State WPARs and also to copy the output generated during monitoring to a temporary log file, which gets cleaned up every week. Need suggestions.
... (4 Replies)
Discussion started by: aix_admin_007
4 Replies
9. Shell Programming and Scripting
I m not able to redirect the java version to a file however, it shows as output when I run my script.
bash-3.2$ more 1test.tmp
java_version=`which java`
echo "MY JAVA:"$java_version
version=`"$java_version" -version`
echo $version >>/tmp/moht/java_version.log
$java_version -version 2... (4 Replies)
Discussion started by: mohtashims
4 Replies
10. UNIX for Beginners Questions & Answers
I'm trying to find out what happened to the rogue game that apt-get told me it installed, so I thought I would find the file. I went to the root and entered:
find -name "rog*.*"
I get a large number of lines saying my access is denied in various directories. I figure I'll practice my Unix... (14 Replies)
Discussion started by: arghvark
14 Replies
LEARN ABOUT OSF1
showfsets
showfsets(8) System Manager's Manual showfsets(8)
NAME
showfsets - Display information about filesets in an AdvFS file domain
SYNOPSIS
/sbin/showfsets [-b | -q] [-k] domain [fileset...]
OPTIONS
Lists the names of the filesets in a file domain, without additional detail. Displays the total number of blocks and the number of free 1K
blocks. Displays the quota limits for filesets in a domain.
OPERANDS
Specifies the full path name of the AdvFS file domain. Specifies the name of one or more filesets in the file domain.
DESCRIPTION
The showfsets command displays the filesets (or clone filesets) and their characteristics in a specified domain. The characteristics of a
fileset are: Fileset Identifier
A fileset identifier is a combination of the file-domain identifier and an additional set of numbers that identify the fileset
within the file domain. For example, the fileset identifier 2be95ef4.000a129.1.8001 consists of the following: 2be95ef4.000a129
1.8001 Clone status
The status items of a clone fileset vary, depending on the fileset. Status items can include: Clone is
Specifies the name of a clone fileset, if one exists for the parent fileset. Clone of
Specifies the name of the parent fileset, if the displayed fileset is a clone fileset. Revision
Specifies the number of times you revised a clone fileset. For example, if you recreate a clone fileset of the same parent fileset
three times, the revision value is 3. Files
Specifies the number of files in the fileset and the current file usage limits (quotas). SLim, the soft limit, is a quota that can
be exceeded for a fixed period of time and HLim, the hard limit, is a quota that cannot be exceeded. Blocks
Specifies the number of blocks that are in use by a mounted fileset and the current block soft and hard usage limits (quotas). For
filesets that are not mounted, zero blocks will display. For an accurate display, the fileset must be mounted. Quota Status
Specifies which quota types are enabled (enforced).
The showfsets command with the -q option set displays block and file information for a specified domain or for one or more named filesets
in the domain. The characteristics of a named fileset are: BF (block flag)
Specifies block (B) and file (F) usage limits. A + in this field means that the soft limit is exceeded; a * means that the hard
limit is reached. Block (512) Limits
Specifies the number of blocks used, the soft limit (the number of blocks that can be exceeded for a period of time), the hard limit
(the number of blocks that cannot be exceeded), and the grace period (the remaining time for which the soft limit may be exceeded).
File Limits
Specifies the number of files used, the soft and hard file limits for the fileset, and the grace period remaining.
Note
On a TruCluster Server, showfsets can sometimes report incorrect disk usage. Data in CFS client caches is synchronized to the server
at least every 30 seconds. The disk usage reported does not account for dirty data in client caches that has not yet been synchro-
nized to the server.
EXAMPLES
The following example shows the command line and resulting display for the showfsets command: # showfsets usr_domain
usr
Id : 2f1dabd6.00059d50.1.8001
Clone is : usr_clone
Files : 17644, SLim= 0, HLim= 0
Blocks (512) : 90582, SLim= 212000, HLim= 256000
Quota Status : user=on group=on
usr_clone
Id : 2f1dabd6.00059d50.3.8052
Clone of : usr
Revision : 82 The following example shows the command line and resulting display when the fileset quota option is set: #
showfsets -q test_domain
Block (512) Limits File Limits
Fileset BF used soft hard grace used soft hard grace
fileset1 +- 1750 1500 2000 11:32 35 300 400
SEE ALSO
Commands: chfsets(8), mkfset(8), rmfset(8)
File Formats: advfs(4)
showfsets(8)