02-22-2020
Hi Saps,
If you read my post carefully, I did not ask for any code samples. My message to you said:
Quote:
Do you mind, then, to provide a fragment (sample input) to the code you need help with, maybe a few dozen or so lines?
Kindly read more carefully.. Thank so much.
9 More Discussions You Might Find Interesting
1. HP-UX
HI all,
I've been having issues with printers and plotters disabling with no reason at all...It could happen to the same workstation once a day or once a week..There is nothing consistant..I stop and restart the spooler, only then can I re-enable the disabled printer....
If anyone is... (0 Replies)
Discussion started by: Shutdown
0 Replies
2. Shell Programming and Scripting
I need to zip all the files within a directory on a daily basis and store them as a zip file within that directory with the date in its naming convention
I have file extentions .log .lst and .out's within that directory
How do i do this task
zip -mqj mydir/allzip$YYMMDDDD.zip mydir/*.*
... (5 Replies)
Discussion started by: ramky79
5 Replies
3. AIX
Hi!
Can anyone help me on how I can do a basic check on the Unix filesystems / physical volumes and logical volumes?
What items should I check, like where do I look at in smit? Or are there commands that I should execute?
I need to do this as I was informed by IBM that there seems to be... (1 Reply)
Discussion started by: chipahoys
1 Replies
4. Shell Programming and Scripting
Need help on this script.
the month is not changing to February...
#!/bin/bash
for X in `seq 1 100`
do
DATE=`date +%Y-%m-%d "--date=${X} day ago"`
Y=`date +%Y`
M=`date +%m`
D=`date +%d "--date=${X} day ago"`
DIR=/home/LogBackup
for i in `seq 1 `
do
if ;then
# ... (1 Reply)
Discussion started by: alelee
1 Replies
5. UNIX for Advanced & Expert Users
Hi with the help of Gabriel canepa, i have just edited filename only in his code. The help which i got and he helped is
1) I have around 22 logs and each log should be updated in the last 24 hours from the current timestamp.
2) It should check for ERROR message (not error,Error) in the log and... (2 Replies)
Discussion started by: Kalaihari
2 Replies
6. UNIX for Dummies Questions & Answers
Hi Gurus,
Is there any solution for tracking the script(.sh) files triggered on daily or monthly basis from source - Datastage (Routines)
Needs to find out if this scripts are running on daily
just want to know that is there anything to track
Thanks in Advance (2 Replies)
Discussion started by: SeenuGuddu
2 Replies
7. Shell Programming and Scripting
Hi!
Please I need help on the a script that would pick one file in a directory, change its name, them change its permissions, them move to a different directory, but has to be done on a daily basis, and the file that is being moved to its final destination has to have the following format:... (7 Replies)
Discussion started by: fretagi
7 Replies
8. Shell Programming and Scripting
Hi all
I need to count files on a daily basis and send the output via email, what I am currently doing its simply running the following:ls -lrt *.cdr | awk '{if(($6 == "Jul") && ($7 == "13")) print $0}' | wc -l, which in this case it will count all files with extension "cdr" from the month of... (13 Replies)
Discussion started by: fretagi
13 Replies
9. Programming
What's the difference between BEGIN TRANSACTION vs START TRANSACTION?
Also goes for COMMIT TRANSACTION vs COMMIT? (0 Replies)
Discussion started by: dan139
0 Replies
LEARN ABOUT HPUX
fsvoladm
fsvoladm(1M) fsvoladm(1M)
NAME
fsvoladm - VxFS volume administration utility
SYNOPSIS
[bias]
DESCRIPTION
The utility performs administrative tasks, such as adding, removing, resizing, and encapsulating volumes in a specified VERITAS File Sys-
tem. mount_point specifies the directory on which the file system is mounted.
volname specifies the volume within the volume set.
By default, size, bias, and newsize are specified in units of disk blocks bytes). However, you can append or to the number to indicate
that the value is in kilobytes, megabytes, gigabytes, or terabytes, respectively.
Keywords
Adds a volume to a file system. The new space is available for allocation.
Removes an encapsulated volume from a file system
and restores the original contents of the volume. This operation can fail if there were significant changes to a file's allocations
on disk since encapsulation. A volume encapsulated with a bias cannot be deencapsulated.
Adds a volume to a file system,
making the contents of that volume, starting from offset bias, available as a file instead of free space.
The size of the encapsulated file is size - bias. bias must be smaller than size, and be a multiple of the file system block size.
The default value of bias is 0.
Displays the volumes in a file system.
Removes a volume from a file system.
Resizes one of the volumes in a file system.
In some circumstances, the command cannot resize a 100% full file system due to lack of space for updating structural information.
Check VxFS file systems on a regular basis; increase their size if they approach 100% capacity. This problem can also occur if the
file system is very busy. Free up space or reduce activity on the file system and try the resize again.
EXAMPLES
The following command adds the volume that is 10 gigabytes in size, to the file system
The following command removes the volume from the file system
The following command resizes the volume in the file system from its current size to 20 GB:
The following command displays the volumes in the file system
The following command encapsulates the volume The volume is ten gigabytes in size, resides in the file system and has the file name
The following command de-encapsulates the volume that was encapsulated in the previous example:
SEE ALSO
df_vxfs(1M), fsapadm(1M), fsvoladm(1M), mount_vxfs(1M), vxvset(1M),
fsvoladm(1M)