01-30-2007
Ok, I have tenatively doubled the limit to 2000. We'll see how it works. The 1000 char limit didn't do much good since people would send me part1, part2, etc.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey,
As part of a Master's Degree program in Aeronautical Engineering I need a dedicated Unix PC to run a computational fluid dynamics (CFD) code in Fortran. Each run to model a single flow can take several days or weeks, so optimizing system resources is the only consideration. I need to buy... (1 Reply)
Discussion started by: John Bruzzese
1 Replies
2. UNIX for Dummies Questions & Answers
Hi everyone this is my first post
I have used linux a couple of times and was impressed, so i bought an old sunblade 1000, just to learn something new.
I cannot get the thing to work! I have tried to install solaris 10 and several types of linux. I am beginning to wonder if i was sold a... (3 Replies)
Discussion started by: Kawakaze
3 Replies
3. Shell Programming and Scripting
Hi,
How to replace any character in a file with a newline character using sed ..
Ex:
To replace ',' with newline
Input:
abcd,efgh,ijkl,mnop
Output:
abcd
efgh
ijkl
mnop
Thnx in advance.
Regards,
Sasidhar (5 Replies)
Discussion started by: mightysam
5 Replies
4. Programming
Hello,
I'm trying to write a method which will return the extension of a file given the file's name, e.g. test.txt should return txt. I'm using C so am limited to char pointers and arrays. Here is the code as I have it:
char* getext(char *file)
{
char *extension;
int i, j;... (5 Replies)
Discussion started by: pallak7
5 Replies
5. Programming
hello everybody!
i have aproblem! i dont know how to concatenate const char* with char
const char *buffer;
char *b;
sprintf(b,"result.txt");
strcat(buffer,b);
thanx in advance (4 Replies)
Discussion started by: nicos
4 Replies
6. UNIX for Dummies Questions & Answers
One way I was told to do was incase strings in quotes.
But I was given this option if I can get it to work.
Will this work for splitting up SPF records?
I am try to make bx.example.com reference spf.eu.***, spfa.eu.***, spfb.eu.***, and spfc.eu.***.
spf.eu.example.com 3600 IN TXT "v=spf1... (0 Replies)
Discussion started by: tmanx
0 Replies
7. Programming
Compiling xpp (The X Printing Panel) on SL6 (RHEL6 essentially):
xpp.cxx: In constructor ‘printFiles::printFiles(int, char**, int&)’:
xpp.cxx:200: error: invalid conversion from ‘const char*’ to ‘char*’
The same error with all c++ constructors - gcc 4.4.4.
If anyone can throw any light on... (8 Replies)
Discussion started by: GSO
8 Replies
8. Shell Programming and Scripting
Hi,
I have a file with 4 million rows. Each row has certain number ranging between 1 to 30733090.
What I want is to count the rows between each 1000 intervals.
1-1000 4000
1001-2000 2469
...
...
...
...
last 1000 interval
Thanks, (7 Replies)
Discussion started by: Diya123
7 Replies
9. Solaris
Hi all, I'm using to Solaris machine. When I run a simple script this messenger come out:"limit: stacksize: Can't remove limit". Any one know the way to resolve this problem without reboot the machine?
Thanks in advance. (3 Replies)
Discussion started by: Diabolist9
3 Replies
10. Programming
Pointers are seeming to get the best of me and I get that error in my program.
Here is the code
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define REPORTHEADING1 " Employee Pay Hours Gross Tax Net\n"
#define REPORTHEADING2 " Name ... (1 Reply)
Discussion started by: Plum
1 Replies
chfsets(8) System Manager's Manual chfsets(8)
NAME
chfsets - Changes limits for fileset quotas
SYNOPSIS
/sbin/chfsets [-F limit] [-f limit] [-B limit] [-b limit] domain [fileset...]
OPTIONS
Specifies the file usage soft limit (quota) of the fileset. Specifies the file usage hard limit (quota) of the fileset. Specifies the
block usage soft limit (quota) in 1K blocks of the fileset. Specifies the block usage hard limit (quota) in 1K blocks of the fileset.
OPERANDS
Specifies the name of the file domain. Specifies the name of one or more filesets.
DESCRIPTION
The chfsets command enables you to change fileset quotas (file usage limits and block usage limits) of any AdvFS fileset.
Filesets can have both soft and hard disk storage and file limits. When a hard limit is reached, no more disk space allocations or file
creations which would exceed the limit are allowed. The soft limit may be exceeded for a period of time (called the grace period). The
grace periods for the soft limits are set with the edquota command.
The command also displays the changes made to the file and block usage limits.
Note that the root user can exceed fileset quotas.
The chfsets command displays the following fileset information: Id
A unique number (in hexadecimal format) that identifies a file domain and fileset. File H limit
The file usage hard limit of the specified fileset before the change followed by the new limit. Block H limit
The block usage hard limit of the specified fileset before the change followed by the new limit. File S limit
The file usage soft limit of the specified fileset before the change followed by the new limit. Block S limit
The block usage soft limit of the specified fileset before the change followed by the new limit.
Use the following commands to manipulate filesets: Displays the limits and actual number of blocks used by a fileset. Displays space usage
for the specified domain. Displays the file and block usage limits for the filesets in a domain. Changes the user or group block and file
limits and grace period. Turns on and off quota enforcement.
For more information, see the reference pages for each command.
RESTRICTIONS
At least one fileset within the domain must be mounted for the chfsets command to succeed.
You must be the root user to run the chfsets command.
EXAMPLES
The following example changes the file hard limit from 11 to 200 and block hard limit from 121 to 1000 for the credit_fs fileset in the
account_dmn domain: # chfsets -b 1000 -f 200 account_dmn credit_fs
credit_fs
Id : 2c2f557f.000b15f4.3.8004
File H limit : 11 --> 200
Block H limit : 121 --> 1000
EXIT STATUS
The utility returns a 0 (zero) on success and a 1 (one) on failure.
SEE ALSO
Commands: df(1), edquota(8), quotaon(8), quotaoff(8), showfdmn(8), showfsets(8)
chfsets(8)