Hi,
I would like to monitor which users enter my home directory. Is it possible to write a script or code to do this. I donot have admin privileges. I have given read permissions to access my home directory.
Any pointers in this direction is helpful!
Thanks,
Pradeep
Ps: I use the... (1 Reply)
Hello,
I am a newbie who is attempting to write a script to monitor a directory for a set of 3 files that I am expecting to get ftp'd. Occasionally, we suspend operations for maintenance etc. but we still get the files so there can be more than 1 set. If there is more than 1 set, I would like... (2 Replies)
What is the best way for a script to run to monitor a directory for the presence of files and then perform a function afterwords? I was hoping to have it continually run and sleep until it detects that files are present in the directory, then break out of the loop and go on to the next step.
... (17 Replies)
I am new to scripting and thought I was doing rather well however I ran into a issue and I am not sure how to fix it. I am using the following command to obtain the capacity percent of the directory listed however it seems that this command gets the capacity of the whole mount rather then just the... (8 Replies)
I'm am looking for a cheap way to trigger a script when a new file is written in a specific directory. AIX 5.3. It is a production system, so no kernel patching (i.e. inotify).
Filemon and audtiing are too expensive.
Thanks in advance. (2 Replies)
Hello all,
Can anyone please guide / help me in the following task....
I have a directory where some external users will upload pdf files. The filename of these pdf will be of a particular format (<id>-<first name>_<last name>_<some number>.pdf)
I want to make a script such that it takes... (6 Replies)
Hi,
I need to write a directory monitor, i.e. a korn shell script which would
Report changes to the directory contents, like:
added file1,
deleted file2,
updated file3 ,
created subdir (optional)...
There is no specific file pattern.
So far I have written a little script... (1 Reply)
Morning all
I hope I have put this in the correct forum.
I have a requirement to monitor a directory on a server for files being sftp'ed in and then to sftp them of to another server. The issues I have though of are making sure the files have completely transferred onto the server before they... (6 Replies)
Hi, everyone
I would like to write ksh script in ksh (HP-UX), to audit any changes inside target directories.
My enviroment has many constrains, so I can only use ksh and cannot install
any 3rd party soft or command (include perl or other languages)
The script functions like below
1) take a... (1 Reply)
i'm trying to find the most efficient way to monitor specific files in different directories in one go.
/var/log/
/var/app/
/var/db/
each one of these directories can have subdirectories which need to be looked into as well.
I want to find any file in this directory that has the name... (7 Replies)
Discussion started by: SkySmart
7 Replies
LEARN ABOUT HPUX
extendfs
extendfs(1M)extendfs(1M)NAME
extendfs - extend a file system size (generic)
SYNOPSIS
FStype] size] special
DESCRIPTION
If the original file system image created on special does not make use of all of the available space, can be used to increase the capacity
of a file system by updating the file system structure to include the extra space.
The command-line parameter special specifies the device special file of either a logical volume or a disk partition. The special must be
un-mounted before can be run (see mount(1M)).
Options
recognizes the following options:
Specify the file system type on which to operate (see
fstyp(1M) and fs_wrapper(5)). If this option is not included on the command line, then the file system type is determined
from the file
Query the size of
special. No file system extension will be done.
Verbose flag.
Specifies the number of
blocks to be added to the file system. If size is not specified, the maximum possible size is used.
EXAMPLES
To increase the capacity of a file system created on a logical volume, enter:
SEE ALSO fstyp(1M), lvextend(1M), mkfs(1M), mount(1M), umount(1M), fs_wrapper(5).
extendfs(1M)