08-10-2005
is this a standard compliant?, Perberado, correct me if not.
(this shows only files which have not been modified in the last 15 minutes, you can use -15m insted of the '+' to see what files have been changed in the last 15m)
$ find . -mtime +15m -print
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am looking for a way to show files that have been created within a certain period (say anything older than 10 minutes or so). Is there a command/series of commands I can do this with? As an example, I have the following in a directory:
-rw-r--r-- 1 owner group 70175 May 16 09:10... (1 Reply)
Discussion started by: dsimpg1
1 Replies
2. Shell Programming and Scripting
Hello,
I was trying to find files which are created in last five minutes .
I tried to use command find with ntime and mtime but was not successfull then i read from this forum that we can not have a find option on minutes or seconds or hours......
Can somebody Pls expalin how can i search... (3 Replies)
Discussion started by: er_aparna
3 Replies
3. Shell Programming and Scripting
KSH:
Please lt me know how to find the age of a file in minutes(Based on last modified time).
ie, if the file was modified 15 Minutes ago, the output should be 15 (1 Reply)
Discussion started by: hari_anj
1 Replies
4. Shell Programming and Scripting
Hi,
i want to find certain files which are more than <n> minutes old,i have the command to find the files say <n> days old(as below) but not in terms of minutes.
find . -name "14*.000" -type f -mtime +1
Is there any way to find this?
Regards,
Cherry (3 Replies)
Discussion started by: cherryven75
3 Replies
5. Shell Programming and Scripting
Hi All,
I want to find out the time before 30 minutes. I am able to do with in hours limit.
date
Fri Aug 21 06:50:00 BST 2009
TZ=CST+1 date
Fri Aug 21 04:50:02 CST 2009
Can any one please help me (6 Replies)
Discussion started by: vikash_k
6 Replies
6. Shell Programming and Scripting
find . -name *.txt -mmin -30
This is working in Redhat but not in Solaris..
What is the equivalent option in Solaris? (1 Reply)
Discussion started by: tene
1 Replies
7. UNIX for Advanced & Expert Users
Is there an easy way to find files modified by hours? If you wanted to find something modified by like 28 hours then I know you could do this:
find . -mmin -1440It is pain to break out a calculator and calculate in minutes. Could you do something similar to this? I know I don't have the right... (1 Reply)
Discussion started by: cokedude
1 Replies
8. Shell Programming and Scripting
Hi,
I am trying to work on this script that needs to monitor a Directory.
In case there are no files received in that Directory for the last 5 minutes, it has to send out an alert.
Could someone please suggest any approach for the same.
Note: I did check out various previous psts -... (8 Replies)
Discussion started by: rituparna_gupta
8 Replies
9. Shell Programming and Scripting
hi guys
i had written a shell script Display Information of all the File Systems
i want to find the pid and kill the process after few minutes.how can i obtain the pid and kill it???
sample.sh
df -a >> /tmp/size.log
and my cron to execute every minute every hour every day
* *... (5 Replies)
Discussion started by: azherkn3
5 Replies
10. UNIX for Beginners Questions & Answers
Hi All,,
I need to find the latest files that are accessed less than 10mins in a particular directory & send those files in an attachment.
I could use the below simple one. But if the directory was not updated any recently i could mail the old file again, i need to eliminate that.. What shld... (8 Replies)
Discussion started by: Jeevitha
8 Replies
LEARN ABOUT DEBIAN
ragraph
RAGRAPH(1) General Commands Manual RAGRAPH(1)
NAME
ragraph - graph argus(8) data.
COPYRIGHT
Copyright (c) 2000-2003 QoSient. All rights reserved.
SYNOPSIS
ragraph metric [object] [-M mode] [options] [raoptions]
DESCRIPTION
Ragraph reads argus(8) data from an argus-file, and graphs fields of interest from matching argus flow activity records. Current, ragraph
uses rrd-tool to generate GIF formatted graphs, and so many options to rrd-tool are supported by ragraph.
Ragraph supports graphing most metrics that are available in argus data. The list includes bytes, sbytes, dbytes, pkts, spkts, dpkts,
trans, dur, avgdur.
Ragraph also supports graphing based on multiple objects, such as the destination address or destination port values. The list currently
include saddr, daddr, proto, sport, dport.
By default ragraph writes its output to ragraph.gif, in the current directory. Use the '-w' raoption to specify an alternate output file-
name.
OPTIONS
-M <mode> -
Specify the mode for printing. Current ragraph supports any arbitrary time range as a mode, specified either as a number followed by
the time scale seconds(s), minutes(m), hours(h), days(d), months(M), years(y), or as a type of time, such as hourly, daily, etc. Exam-
les are:
-M 1s graph bins of size 1 second.
-M 15m graph bins of size 15 minutes.
-M hourly graph bins of size 1 hour.
-M daily graph bins of size 1 day.
-log
Use logarithmic scale for y-axis.
-fill
Turn off area fill.
-stack
Turn off data stacking.
-split
Turn off axis splitting for src/dst(in/out) traffic.
-height
Specify height in pixels for the graph (275 pixels)
-width
Specify width in pixels for the graph (800 pixels)
-upper
Specify upper bounds for graphing data (automatic).
-lower
Specify lower bounds for graphing data (automatic). When data is split, you need to specify the value as a negative number.
-title
Specify a graph title.
RA OPTIONS
Ragraph, like all ra based clients, supports a number of ra options including filtering of input argus records through a terminating filter
expression, and specifying an output filename using the -w option.
See ra(1) for a complete description of ra options.
EXAMPLES
To graph the total load for the data in an argus-file argus.data at 10 second intervals:
ragraph bytes -M 10s -r argus.data -title "Total Load"
To graph the rate (pkt/sec) on a destination port basis for the data from a specific probe in an argus-file argus.data at 1 minute inter-
vals:
ragraph pkts dport -M 1m -r argus.data - srcid 192.168.0.10
AUTHORS
Carter Bullard (carter@qosient.com).
SEE ALSO
ragraph(5), ra(1), rarc(5), argus(8) tcpdump(1),
21 July 2001 RAGRAPH(1)