9 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
4. 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
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. 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
7. 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
8. 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
9. 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
showfdmn(8) System Manager's Manual showfdmn(8)
NAME
showfdmn - Display attributes of an AdvFS file domain
SYNOPSIS
/sbin/showfdmn [-k] domain
OPTIONS
Displays the total number of blocks and the number of free blocks in terms of 1K blocks.
OPERANDS
Specifies the name of an existing AdvFS file domain.
DESCRIPTION
The showfdmn command displays the attributes of a file domain and detailed information about each volume in the file domain.
The command displays the following file domain attributes: Id
A unique number (in hexadecimal format) that identifies a file domain. Date Created
The day, month, and time that a file domain was created. LogPgs
The number of 8-kilobyte pages in the transaction log of the specified file domain. Version
An internal-use-only version number for the AdvFS on-disk data structures. This number is not related to the version number of the
base operating system. Domain Name
The name of the file domain.
The command also displays the following volume information: Vol
The volume number within the file domain. An L next to the number indicates that the volume contains the transaction log. 512-Blks
The size of the volume in 512-byte blocks. 1K-Blks
The size of the volume in 1K blocks. Free
The number of blocks in a volume that are available for use. % Used
The percent of volume space that is currently allocated to files or metadata. Cmode
The I/O consolidation mode. The default mode is on. Rblks
The maximum number of 512-byte blocks read from the volume at one time. Wblks
The maximum number of 512-byte blocks written to the volume at one time. Vol Name
The name of the special device file for the volume.
For multi-volume file domains, the showfdmn command also displays the total volume size, total number of free blocks, and the total percent
of volume space currently allocated.
RESTRICTIONS
A file domain must be active before the showfdmn command can display volume information. A file domain is active when at least one fileset
in the file domain is mounted.
EXAMPLES
The following example displays domain information for the usr_domain file domain: % showfdmn usr_domain
Id Date Created LogPgs Version Domain Name 2b5361ba.000791be Tue Jan 12 16:26 1999 256 4 usr_domain
Vol 512-Blks Free % Used Cmode Rblks Wblks Vol Name
1L 820164 351580 57% on 256 256 /dev/disk/dsk0d To display information on all file domains on a system, enter the following
sequence of commands: % cd /etc/fdmns % showfdmn *
SEE ALSO
Commands: chvol(8), mkfdmn(8)
Files: advfs(4)
showfdmn(8)