08-03-2005
files created within last 10 mins
Any simple 1 liners to check a directory to see if a file was created within the last 10 mins?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
my linux box is, for some reason, creating two files when I creat one. For example, if I create a file via the VI editor called TestFile, the box will create:
TestFile
TestFile~
Does anyone have any ideas as to why I'm getting that second file with the ~ at the end of it?
... (1 Reply)
Discussion started by: Atama
1 Replies
2. UNIX for Dummies Questions & Answers
How i get the all the files created by particular user?? (2 Replies)
Discussion started by: Anshu
2 Replies
3. Shell Programming and Scripting
Hi All,
I have a requirement to find out the files which are modified in the last 10 minutes.
I tried the find command with -amin and -mmin options, but its not working on my AIX server.
Can anyone of you could help me.
Thanks in advance for your help.
Raju (3 Replies)
Discussion started by: rajus19
3 Replies
4. UNIX for Advanced & Expert Users
Hi,
Within a SQL file i am calling 5 shell scripts in back ground and redirecting their outputs to different log files in a specific directory.
Now when I observed is, the log files are created with different permissions even though i did not do any thing specific.
For example in... (2 Replies)
Discussion started by: steria_learner
2 Replies
5. UNIX for Dummies Questions & Answers
hi,
I need to find all the modified files before 60 minutes in a folder.
Is that possible to find using mtime in minutes?
Suggestions please.
Thanks for looking into it...
Geetha (8 Replies)
Discussion started by: iamgeethuj
8 Replies
6. Linux
I have an application (puppet) that generates report files every 15 minutes in the format:
/var/lib/puppet/reports/hostname.fqdn/report-201007221515.yaml
/var/lib/puppet/reports/hostname.fqdn/report-201007221530.yaml
..
I only really need to keep one days worth of these reports and am trying... (0 Replies)
Discussion started by: aussieos
0 Replies
7. Shell Programming and Scripting
Hello experts,
I used following approach to get listing of all files of remote server.
Now I have remote server file information on same server.
I am getting listing in the output.txt
I want to count today's created files and old files.
I want to compare the numbers... (11 Replies)
Discussion started by: dipeshvshah
11 Replies
8. Shell Programming and Scripting
Hi,
I want to display the file names and the record count for the files in the 2nd column for the files created today.
i have written the below command which is listing the file names. but while piping the above command to the wc -l command
its not working for me.
ls -l... (5 Replies)
Discussion started by: Showdown
5 Replies
9. Shell Programming and Scripting
Hey everyone,
I need to select all files that were added to a specific directory in the past 5 mins and copy them over to a different directory. I am using HP-UX OS which does not have support for amin, cmin, and mmin. B/c of this, I am creating a temp file and will use the find -newer command... (7 Replies)
Discussion started by: mattkoz
7 Replies
10. Shell Programming and Scripting
Dears,
I am looking for a script which will work as a watch directory.
I ha directory which keep getting files in every 10 mins and some time delay.
I want to monitor if the directory getting the files in every 10 mins if not captured the last received file time and calculate the delay.
... (6 Replies)
Discussion started by: sadique.manzar
6 Replies
LEARN ABOUT CENTOS
warnquota
WARNQUOTA(8) System Manager's Manual WARNQUOTA(8)
NAME
warnquota - send mail to users over quota
SYNOPSIS
warnquota [ -ugsid ] [ -F quotaformat ] [ -q quotatab ] [ -c configfile ] [ -a adminsfile ] [ filesystem... ]
DESCRIPTION
warnquota checks the disk quota for specified local filesystems (or for each local filesystem if none specified) and mails a warning mes-
sage to those users who have reached their softlimit. It is typically run via cron(8).
-F, --format=quotaformat
Perform setting for specified format (ie. don't perform format autodetection). Possible format names are: vfsold Original quota
format with 16-bit UIDs / GIDs, vfsv0 Quota format with 32-bit UIDs / GIDs, 64-bit space usage, 32-bit inode usage and limits, vfsv1
Quota format with 64-bit quota limits and usage, xfs Quota on XFS filesystem.
-q, --quota-tab=quotatab
Use quotatab instead of /etc/quotatab as file with device description strings (see quotatab(5) for syntax).
-c, --config=configfile
Use configfile instead of /etc/warnquota.conf as configuration file (see warnquota.conf(5) for syntax).
-a, --admins-file=adminsfile
Use adminsfile instead of /etc/quotagrpadmins as a file with administrators of the groups (see quotagrpadmins(5) for syntax).
-u, --user
check whether users are not exceeding quotas (default).
-g, --group
check whether groups are not exceeding quotas. If group is exceeding quota a mail is sent to the user specified in /etc/quotagrpad-
mins.
-s, --human-readable
Try to report used space, number of used inodes and limits in more appropriate units than the default ones.
-i, --no-autofs
ignore mountpoints mounted by automounter.
-d, --no-details
do not attach quota report in email.
FILES
aquota.user quota file at the filesystem root (version 2 quota, non-XFS filesystems)
quota.user quota file at the filesystem root (version 1 quota, non-XFS filesystems)
/etc/warnquota.conf configuration file
/etc/quotatab device description
/etc/quotagrpadmins administrators of the groups
/etc/mtab default filesystems
/etc/passwd default set of users
SEE ALSO
quota(1), quotatab(5), quotagrpadmins(5), warnquota.conf(5), cron(8), edquota(8).
AUTHORS
warnquota(8) was written by Marco van Wieringen <mvw@planets.elm.net>, modifications by Jan Kara <jack@suse.cz>. This reference page writ-
ten by Heiko Schlittermann <heiko@lotte.sax.de>, modifications by Jan Kara
WARNQUOTA(8)