09-11-2007
script needed urgent
Lot of dump files are created and filling up our file system.
( i.e. /Aix/app/clone1/heapdump659904.1188950424.txt, Aix/app/clone2/heapdump87878.88798.txt) . We got an alert that the filesystem was full and saw there were heapdumps from a few months ago that we didn't know about. It would be good if we could setup a job to scan these app directories nightly and send an email when a heapdump is created.
our directory structure is like this
Aix/app/clone1/heap************
Aix/app/clone2/heap************
i need a script which scan this directory and send me the mail regarding the heapdump file created.
I can make it in cron job and xecute it daily.
please help me on this
10 More Discussions You Might Find Interesting
1. Solaris
Dear friends,
I am trying to prepare a shell script which do the following task. Being a beginner in scripting I need a bit of help from you all for shell script which does the following job.
1.Check for existence of a file in a shared directory (at some remote location ) once in a day ... (3 Replies)
Discussion started by: aarora_98
3 Replies
2. UNIX for Dummies Questions & Answers
I need shell script code for the following
1. Read syscat.columns after connecting to DB2 using SQL cursor
2. Read the output of the previous SQL command in the shell script
3. Perform insertions and deletions in the output of step 1
Thanks (1 Reply)
Discussion started by: skyineyes
1 Replies
3. Shell Programming and Scripting
How to find unique lines in a file without using 'uniq' and 'sort' command in k shell... (3 Replies)
Discussion started by: aajan
3 Replies
4. Shell Programming and Scripting
My I/p FIle
#%npr
#
{
{
collectionBeginTime_Date 19Jul2007
granularityPeriod 900
NODEID BSC19
RLC_Raw_Blocksize_CS2 2048
START_DATE 19Jul07
measTimeStamp_Date 20Jul2007
COLLECTION_INTERVAL_MINS 15
RLC_User_Blocksize_CS2 1024
... (1 Reply)
Discussion started by: aajan
1 Replies
5. Shell Programming and Scripting
Hi..
I need help to write script (shell script/TCL) which finds the no of elapsed days from current month to coming month.
Actually i have written one Tcl script to get current time...
i.e.
set time -format %c ]
puts "TIME STAMP :$time"
it prints :
TIME STAMP :Mon Mar... (0 Replies)
Discussion started by: arp@g7
0 Replies
6. Shell Programming and Scripting
Hi Guys,
Need a script!!!!!!!!!!!
Sample File:
./R1/new/svp920m02f.4gl
./R1/new/svp921m01.4gl
./R1/new/svp950m01.4gl
./R1/new/svp950m01d.4gl
./R1/new/svp950m01g.4gl
./R1/new/svp955m01.4gl
./R1/new/svp960m01.4gl ... (4 Replies)
Discussion started by: aajan
4 Replies
7. Shell Programming and Scripting
Hi,
Iam in a need for a script/function in KSH where I want to read a text file (property file) in block by block. Here is the example:
Heading Name Descripton
Block Block1 Value1 Description
Property Name Value
Property Name Value
Property Name Value
Property Name Value
Property Name... (7 Replies)
Discussion started by: ysreenivas
7 Replies
8. Shell Programming and Scripting
Hi,
Thanks for the reply to the previous posting.I need a shell script to the following.I am entirely new to the comapny and please help me with this.
1) Create the file with a timestamp i.e. nrt_readership.mmddyyyyhhmm
2) The processing job will look for files of the pattern... (0 Replies)
Discussion started by: pharishraja
0 Replies
9. Shell Programming and Scripting
User have given me about 450 commands, i just wanted to know the full path for those commands and the output should be redirected to a separate file.
Instead of running "which" command each time to find the path for all those commands, i need to do this in a simple way by a script.
which... (3 Replies)
Discussion started by: pgmax
3 Replies
10. Shell Programming and Scripting
Good Day All,
I need your urgent support to get the following script (bash), (it should be as simple as possible please) :
The script will check the .csv file( attached example)
The script will generated 3 files from the initial one.
The script must check one field “NEType”, and then ... (2 Replies)
Discussion started by: engkemo2002
2 Replies
LEARN ABOUT DEBIAN
sys::filesystem::aix
Sys::Filesystem::Aix(3pm) User Contributed Perl Documentation Sys::Filesystem::Aix(3pm)
NAME
Sys::Filesystem::Aix - Return AIX filesystem information to Sys::Filesystem
SYNOPSIS
See Sys::Filesystem.
INHERITANCE
Sys::Filesystem::Aix
ISA UNIVERSAL
METHODS
version ()
Return the version of the (sub)module.
ATTRIBUTES
The following is a list of filesystem properties which may be queried as methods through the parent Sys::Filesystem object.
account
Used by the dodisk command to determine the filesystems to be processed by the accounting system.
boot
Used by the mkfs command to initialize the boot block of a new filesystem.
check
Used by the fsck command to determine the default filesystems to be checked.
dev Identifies, for local mounts, either the block special file where the filesystem resides or the file or directory to be mounted.
free
This value can be either true or false. (Obsolete and ignored).
mount
Used by the mount command to determine whether this file system should be mounted by default.
nodename
Used by the mount command to determine which node contains the remote filesystem.
size
Used by the mkfs command for reference and to build the file system.
type
Used to group related mounts.
vfs Specifies the type of mount. For example, vfs=nfs specifies the virtual filesystem being mounted is an NFS filesystem.
vol Used by the mkfs command when initializing the label on a new filesystem. The value is a volume or pack label using a maximum of 6
characters.
log The LVName must be the full path name of the filesystem logging logical volume name to which log data is written as this file system is
modified. This is only valid for journaled filesystems.
SEE ALSO
Sys::Filesystem
Example /etc/filesystems
* @(#)filesystems @(#)29 1.22 src/bos/etc/filesystems/filesystems, cmdfs, bos530 9/8/00 13:57:45
* IBM_PROLOG_BEGIN_TAG
* This is an automatically generated prolog.
*
* <snip>
*
* This version of /etc/filesystems assumes that only the root file system
* is created and ready. As new file systems are added, change the check,
* mount, free, log, vol and vfs entries for the appropriate stanza.
/:
dev = /dev/hd4
vol = "root"
mount = automatic
check = false
free = true
vfs = jfs2
log = /dev/hd8
type = bootfs
/proc:
dev = /proc
vol = "/proc"
mount = true
check = false
free = false
vfs = procfs
/scratch:
dev = /dev/fslv02
vfs = jfs2
log = INLINE
mount = true
account = false
Example /usr/sbin/mount output
node mounted mounted over vfs date options
-------- --------------- --------------- ------ ------------ ---------------
/dev/hd4 / jfs2 Mar 24 12:14 rw,log=/dev/hd8
/proc /proc procfs Mar 24 12:15 rw
/dev/fslv02 /scratch jfs2 Mar 24 12:15 rw,log=INLINE
filesystems(4)
Manpage includes all known options, describes the format and comment char's.
VERSION
$Id: Aix.pm 128 2010-05-12 13:16:44Z trevor $
AUTHOR
Nicola Worthington <nicolaw@cpan.org> - <http://perlgirl.org.uk>
Jens Rehsack <rehsack@cpan.org> - <http://www.rehsack.de/>
COPYRIGHT
Copyright 2004,2005,2006 Nicola Worthington.
Copyright 2008-2010 Jens Rehsack.
This software is licensed under The Apache Software License, Version 2.0.
<http://www.apache.org/licenses/LICENSE-2.0>
perl v5.10.1 2010-05-18 Sys::Filesystem::Aix(3pm)