01-17-2007
Sorry for not putting it up, I want to run a script on my server(OSX) to limit
the Desktop size of all my users.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do I limit size of a file to 1 MB or something like that under Linux? (4 Replies)
Discussion started by: _hp_
4 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Does Linux/Solaris has any limit on folder size or number of files per folder?
Thanks
Bache Gowda (1 Reply)
Discussion started by: bache_gowda
1 Replies
3. Solaris
I want to have a permanent file created - and limit the size that this file can grow.. I want a circular file..
ie max size of file is 10 mb.. and if any new data written to file the oldest data removed..
How can I do this?
I am on solaris 9 x86 (3 Replies)
Discussion started by: frustrated1
3 Replies
4. AIX
Can anybody help me?
How to increase file size limit in aix 5.2? I have already specified in /etc/security/limits file :
default:
fsize = -1
core = 2097151
cpu = -1
data = -1
rss = -1
stack = -1
nofiles = 2000 (2 Replies)
Discussion started by: vjm
2 Replies
5. UNIX for Advanced & Expert Users
Hi,
I have a problem writing or copying a file 2GB or larger to either the second or third disk on my C8000. I've searched this forum and found some good information on this but still nothing to solve the problem.
I'm running hpux 11i, JFS3.3 and disk version 4 (from fstyp) on all 3 disks.
... (2 Replies)
Discussion started by: HaidoodFaulkauf
2 Replies
6. UNIX for Dummies Questions & Answers
Hi, I am not root, but I need to limit the size of my directory, so that it cannot contain more than 200M of stuff inside. Is this possible?
Also, how can I see the total size of that directory? If I do ls -ltrd, it does not give me the size of all the files inside the directory. And if I do df... (6 Replies)
Discussion started by: JamesByars
6 Replies
7. Linux
Hello
I want to limit the size of a directory;
so a user cant copy more staff inside it then 5 Giga for example..
eg. /nfs/temp/jhon size can not increase more that 5Gb
I havnt found anything on the net. Is there a way to do it? (2 Replies)
Discussion started by: jredx
2 Replies
8. UNIX for Advanced & Expert Users
Hi
i configured log rotate for a specific file.
/var/log/sauer
i configured create a file in logrotate.d
# cat /etc/logrotate.d/sauer
#this is a logrotate configuration file for msu_ng logs
/var/log/sauer {
rotate 5
size=1M
daily
compress
... (5 Replies)
Discussion started by: modcan
5 Replies
9. UNIX for Advanced & Expert Users
hi,
how can I find out what the limit of a file size is on unix?
thanks (6 Replies)
Discussion started by: JamesByars
6 Replies
10. UNIX for Dummies Questions & Answers
Hey everyone
I'm trying to limit the size a directory can be under Solaris 10. I can find plenty of guides to do it for user home directories, ut what I'm after is an absolute limit, regardless of the user.
For example:
I want /export/example/ to never pass say 5 GB, no matter what user is... (3 Replies)
Discussion started by: goodvikings
3 Replies
LEARN ABOUT DEBIAN
test::folder
Test::Folder(3pm) User Contributed Perl Documentation Test::Folder(3pm)
NAME
Test::Folder - test folder attributes
SYNOPSIS
use Test::More ...;
use Test::Folder;
DESCRIPTION
This modules provides a collection of test utilities for folder attributes. Use it in combination with Test::More in your test programs.
FUNCTIONS
folder_exists_ok(FOLDERNAME [, TESTNAME] )
Ok if the folder exists, and not ok otherwise.
folder_not_exists_ok(FOLDERNAME [, TESTNAME] )
Ok if the folder does not exist, and not ok otherwise.
folder_empty_ok(FOLDERNAME [, TESTNAME] )
Ok if the folder is empty (contains no files or subfolders), and not ok otherwise.
folder_not_empty_ok(FOLDERNAME [, TESTNAME] )
Ok if the folder is not empty (contains any files or subfolders), and not ok otherwise.
folder_readable_ok(FOLDERNAME [, TESTNAME] )
Ok if the folder is readable, and not ok otherwise.
folder_not_readable_ok(FOLDERNAME [, TESTNAME] )
Ok if the folder is not readable, and not ok otherwise.
folder_writable_ok(FOLDERNAME [, TESTNAME] )
Ok if the folder is writable, and not ok otherwise.
folder_not_writable_ok(FOLDERNAME [, TESTNAME] )
Ok if the folder is not writable, and not ok otherwise.
folder_executable_ok(FOLDERNAME [, TESTNAME] )
Ok if the folder is executable, and not ok otherwise.
folder_not_executable_ok(FOLDERNAME [, TESTNAME] )
Ok if the folder is not executable, and not ok otherwise.
TO DO
There are probably some more folder attributes that can be tested. If you need them, please ask (or better yet, contribute code!).
AUTHOR
Martin 'Kingpin' Thurn, "mthurn at cpan.org", <http://tinyurl.com/nn67z>.
BUGS
Please report any bugs or feature requests to "bug-test-dir at rt.cpan.org", or through the web interface at
<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Dir>. I will be notified, and then you'll automatically be notified of progress on
your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Test::Folder
You can also look for information at:
o RT: CPAN's request tracker
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Dir>
o AnnoCPAN: Annotated CPAN documentation
<http://annocpan.org/dist/Test-Dir>
o CPAN Ratings
<http://cpanratings.perl.org/d/Test-Dir>
o Search CPAN
<http://search.cpan.org/dist/Test-Dir>
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright (C) 2007-2008 Martin 'Kingpin' Thurn
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2011-02-20 Test::Folder(3pm)