03-31-2005
Not much to go on here... A wild guess... a quota check on a non-responsive nfs filesystem. But there is no need to guess.
Open 2 root windows to the box. In window 1, do a "tty" command, then a "su - user". In window 2, do a "ps -ft whatever" to see what is happening.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Keeping in mind that I'm relatively comfortable with programming in general but very new to unix and korn/bourne shell scripts..
I'm using awk on a CSV file, and then performing calculations and operations on specific fields within specific records. The CSV file I'm working with has about 600... (2 Replies)
Discussion started by: yongho
2 Replies
2. Programming
Hello everyone,
I hope someone is awake to help me on this..
hey How can I do something like this:
The user is asked is asked to enter an int value, but I want to provide a default value on stdout, which they can back space and change it to whatever they want..
for e.g:
Enter the... (4 Replies)
Discussion started by: the_learner
4 Replies
3. UNIX for Advanced & Expert Users
I have a program. Everytime that I run that program ,it prints a disclaimer msg and prompts the user to accept the agreement (i.e: type 'y' or 'n').
Now I want to run the program multiple times with different inputs. So I wrote a script which runs in a loop and calls the program multiple times.... (2 Replies)
Discussion started by: the_learner
2 Replies
4. Shell Programming and Scripting
Hi all,
i have used the search already before someone shouts at me and i have seen the 'datecalc' program but this is not working correctly for me in the shell and environment i am using.
I am using solaris 10 and bourne shell.
I have two dates '07-04-2009' and '05-05-2009'. I just need to... (2 Replies)
Discussion started by: muay_tb
2 Replies
5. Web Development
Hi all,
I am stepping into web-development as a hobby point of view. I am using WAMP server & have created the initial page & SQL set-up too. My problem is, I was able to login to a page/redirect to a page though I haven't specified my username & password. I thought of using both... (2 Replies)
Discussion started by: gameboy87
2 Replies
6. Fedora
Hi guys,
Ok so I'm basically trying to run a script on loging or after everything else has started up, I've done so much googling my head is spinning I don't understand the which file I have to edit with the details of my script,
In suse there is no etc/profiles folder its daemonised so its... (1 Reply)
Discussion started by: whitenight639
1 Replies
7. Shell Programming and Scripting
Hello,
I just started with shell and i am doin simple script to check if certain user is logged in. Script takes 3 args. name sleep time and quit value
if there is q for quit then date and user name is printed to file, not to screen.
so far i have got this...
login()
{
while :... (3 Replies)
Discussion started by: shelllo
3 Replies
8. Shell Programming and Scripting
I am doing a simple "recycle bin" script. It is to check and see if the directory .TRASH exists within the home directory. If not then it makes the directory then appends a date and time to file and then finally moves the file in. However, when I run this script, it is not making the directory as... (5 Replies)
Discussion started by: iamdeman
5 Replies
9. UNIX for Dummies Questions & Answers
Hi Guys
Im new to bash script, trying hard to learn and enjoying this process. However i'm pretty much stumped, so i will put my problems out there. In the hope someone can help me. I am trying to make a bash script that allows users of a Unix system (with little knowledge under the hood ) to be... (12 Replies)
Discussion started by: willo
12 Replies
LEARN ABOUT REDHAT
setquota
SETQUOTA(8) System Manager's Manual SETQUOTA(8)
NAME
setquota - set disk quotas
SYNOPSIS
/usr/sbin/setquota [ -r ] [ -u | -g ] [ -F quotaformat ] name block-softlimit block-hardlimit inode-softlimit inode-hardlimit -a | filesys-
tem...
/usr/sbin/setquota [ -r ] [ -u | -g ] [ -F quotaformat ] [ -p protoname ] name -a | filesystem...
/usr/sbin/setquota -t [ -u | -g ] [ -F quotaformat ] block-grace inode-grace -a | filesystem...
DESCRIPTION
setquota is a command line quota editor. The filesystem, user/group name and new quotas for this filesystem can be specified on the com-
mand line.
-r Edit also remote quota use rpc.rquotad on remote server to set quota.
-F quotaformat
Perform setting for specified format (ie. don't perform format autodetection). Possible format names are: vfsold (version 1 quota),
vfsv0 (version 2 quota), rpc (quota over NFS), xfs (quota on XFS filesystem)
-u Set user quotas for named user. This is the default.
-g Set group quotas for named group.
-p protoname
Use quota settings of user or group protoname to set the quota for the named user or group.
-t Set grace times for users/groups. Times block-grace and inode-grace are specified in seconds.
-a Go through all filesystems with quota in /etc/mtab and perform setting.
To disable a quota, set the coresponding parameter to 0. To change quotas for several filesystems, invoke once for each filesystem.
Only the super-user may edit quotas.
FILES
aquota.user or aquota.group
quota file at the filesystem root (version 2 quota, non-XFS filesystems)
quota.user or quota.group
quota file at the filesystem root (version 1 quota, non-XFS filesystems)
/etc/mtab mounted filesystem table
SEE ALSO
edquota(8), quota(1), quotactl(2), quotacheck(8), quotaon(8), repquota(8)
SETQUOTA(8)