Hi All,
How to we get to know when say a new log file is created on an Unix box.
I need to trigger a process(say a script) when the new log file is created.
But i need to know by some means or generate a trigger when a new file is created????
Something like when we receive a new mail we... (1 Reply)
Hi
I need to get the File creation date (MM,DD,YYYY)
using ls -ltr am getting only Month and Day only, I need year also when the file is modified.
Thanks (3 Replies)
1. The problem statement, all variables and given/known data:
When looking for corefiles, include any file with core in its name. (Some UNIX/Linux systems add the PID of the process that created the core to reduce the chances of overwriting an already existing core file that might be needed. The... (6 Replies)
Hi All,
We have a multi-threaded application.
During the course of action, each process creates some files. Is there any way to know which process has created a particular file ?
Ex:
Suppose we have 3 process running A, B and C in the application and some files FILE1 FILE2 FILE3 and... (4 Replies)
Hi All
I use solaris 9 and just realised my opt volume has grown to 99%. How can I find out which file was created on the opt volume for it to have grown to 99%? Which command should I use since I can't go through each individual file to look at the date the files were created.
Regard (3 Replies)
Hi,
I have used expdp for datapump. The .dmp file is created by the "oracle" user.
my requirement is to make a zipped file of this .dmp file.
What i am trying to do is change the permissions of this .dmp file from 0640 to 0644 and then do a gzip and zip it. Is there any way i can change... (3 Replies)
hi,
i have a script wrriten where there is a temporary files getting created:
echo "From:" ${usrname}@apps.mc.xerox.com>mail_txt
it was working from a long time but now there is a error creating while creating this temporary file. here is the error log for this:... (15 Replies)
Hi ,
I am trying to get the log of Datastage job and email it to the user with the log as an attachment and body in the email.every time i run the script one email is sent to the specified user id as expected.and meanwhile an .txt file is created in the path where sript is placed with the same... (2 Replies)
Discussion started by: sangeethamyra
2 Replies
LEARN ABOUT OPENSOLARIS
clear_locks
clear_locks(1M) System Administration Commands clear_locks(1M)NAME
clear_locks - clear locks held on behalf of an NFS client
SYNOPSIS
/usr/sbin/clear_locks [-s] hostname
DESCRIPTION
The clear_locks command removes all file, record, and share locks created by the hostname and held on the current host, regardless of which
process created or owns the locks.
This command can be run only by the super-user.
This command should only be used to repair the rare case of a client crashing and failing to clear held locks. Clearing locks held by an
active client may cause applications to fail in an unexpected manner.
OPTIONS -s Remove all locks created by the current machine and held by the server hostname.
OPERANDS
The following operands are supported:
hostname name of host server
EXIT STATUS
0 Successful operation.
1 If not root.
2 Usage error.
3 If unable to contact server (RPC).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO fcntl(2), attributes(5)SunOS 5.11 6 Oct 2004 clear_locks(1M)