03-09-2009
or If you need to check if a file's updated in the last x minutes whether it's open or not, you could maybe pipe output from
ls -l <file>
into a grep command to get the time, and check if that's in the last x minutes. (Not sure of the quickest way to do that right now)
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi.
how to search a range of IP:s for their registed IP names?
Like nslookup or host for all IPs 130.xxx.xxx.1 to 130.xxx.xxx.254
//nicke (2 Replies)
Discussion started by: nicke30
2 Replies
2. Shell Programming and Scripting
Hi everyone , i m working on Sun solaris and i have a file "smsapp.cur" which has information like this paragraph given below , there are millions of such paragraphs
From:923212802736
To:923222326807
logMessage: 07-04-08 17:34:29 Getting message topup from code page default in language English... (2 Replies)
Discussion started by: Dastard
2 Replies
3. UNIX for Advanced & Expert Users
Can any one please let me know below ones
1) How to Perform the Port Scan in Solaris Environment and how to block the unwanted Ports.
2) How to know whether particular Port is listning the requests or not?
Thanks
Ramkumar.B (7 Replies)
Discussion started by: myramkumar
7 Replies
4. Shell Programming and Scripting
Hi,
I am new to unix.
I have a file with records like the below
ads-sap-4.txt: </a></b></span><span class="linkbutton yellow_but"><a id="2005754_more" style="cursor:pointer; cursor:hand;"... (3 Replies)
Discussion started by: akondeti
3 Replies
5. Shell Programming and Scripting
Hi
I am new to this forum, and glad to be a part of it here after. I have an intersting issue for which I need suggestions of you great minds.
I am in process a building a shell script which should scan a directory for a specified amount of time and prepare a list of all the files that were... (1 Reply)
Discussion started by: nagrcm
1 Replies
6. Shell Programming and Scripting
The script should
_scan a specific directory
_If a file name is like one provided, then run the command to send the file via CFT
The name should be picked from a list. The current list is :
... (11 Replies)
Discussion started by: fireit
11 Replies
7. AIX
Dear Gurus,
Can any one advice about the normal limits for the Page scanning rates on the AIX platforms, i am having enormous values for the scan rate along the hour it may reache 3000 pages/sec.
Regards, Negm (2 Replies)
Discussion started by: Negm
2 Replies
8. Red Hat
In Solaris the administrator has to update /kernel/drv/sd.conf file to tell the sd driver to scan for a broader range of scsi devices.
Can someone please tell me what file needs to be update in Redhat Linux 5 for the same.
Second part of the question is WWN for HBA's can be found (atleast in my... (1 Reply)
Discussion started by: Tirmazi
1 Replies
9. AIX
Hello,
How can i tell ifthe ratio between fr and sr is ok?
is fr/sr ratio of 0.9 acceptable?
thanks. (1 Reply)
Discussion started by: LiorAmitai
1 Replies
10. UNIX for Dummies Questions & Answers
i want to scan all open and closed ports on a server. how can i do this.
i intend on using nmap, but if there are better ways to do it, please let me know.
i understand there are a total of 6335 allowable ports on a server.
so out of that 6335, i want to know which is open or closed. id... (1 Reply)
Discussion started by: SkySmart
1 Replies
LEARN ABOUT DEBIAN
check-zone-expiration
CHECK-ZONE-EXPIRATION(1p) User Contributed Perl Documentation CHECK-ZONE-EXPIRATION(1p)
NAME
check-zone-expiration
SYNOPSIS
# check-zone-expiration dnssec-tools.org paypal.com dnssec-tools.org will expire in 26 days, 2 hours, 16 minutes, 36 seconds paypal.com
will expire in 12 days, 17 hours, 7 minutes, 1 second
# check-zone-expiration -m 1123200 dnssec-tools.org paypal.com paypal.com will expire in 12 days, 17 hours, 6 minutes, 22 seconds
DESCRIPTION
The check-zone-exiration script reports how long until a zone will expire by querying for the zone's (top level) RRSIG and calculating how
much time is left before the signatures will no longer be valid. It will then report how much time is left in human readable form.
If the -m switch is provided with a time argument (in seconds), it will only print output for zones that have less than that time left.
OPTIONS
-m STRING
--minimum-reporting=STRING
Minimum reporting time, or else be silent for the zone
COPYRIGHT
Copyright 2012-2012 SPARTA, Inc. All rights reserved. See the COPYING file included with the DNSSEC-Tools package for details.
AUTHOR
Wes Hardaker, hardaker@tislabs.com
SEE ALSO
donuts(1)
perl v5.14.2 2012-05-07 CHECK-ZONE-EXPIRATION(1p)